Skip to content

Commit

Permalink
nixos-render-docs: init redirects system
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Gagarin <[email protected]>
  • Loading branch information
GetPsyched and fricklerhandwerk committed Nov 9, 2024
1 parent b5394df commit 8682f4e
Show file tree
Hide file tree
Showing 13 changed files with 70,143 additions and 11 deletions.
5 changes: 5 additions & 0 deletions ci/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ nixos/modules/installer/tools/nix-fallback-paths.nix @NixOS/nix-team @raitobeza
/nixos/modules/system/activation/bootspec.nix @grahamc @cole-h @raitobezarius
/nixos/modules/system/activation/bootspec.cue @grahamc @cole-h @raitobezarius

# NixOS Render Docs
/pkgs/tools/nix/nixos-render-docs @fricklerhandwerk @GetPsyched
/doc/redirects.json @fricklerhandwerk @GetPsyched
/nixos/doc/manual/redirects.json @fricklerhandwerk @GetPsyched

# NixOS integration test driver
/nixos/lib/test-driver @tfc

Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Rendered documentation:
- [Unstable (from master)](https://nixos.org/manual/nixpkgs/unstable/)
- [Stable (from latest release)](https://nixos.org/manual/nixpkgs/stable/)

The rendering tool is [nixos-render-docs](../pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs), sometimes abbreviated `nrd`.
The rendering tool is [nixos-render-docs](../pkgs/tools/nix/nixos-render-docs), sometimes abbreviated `nrd`.

## Contributing to this documentation

Expand Down
2 changes: 2 additions & 0 deletions doc/doc-support/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ stdenvNoCC.mkDerivation (
../anchor-use.js
../anchor.min.js
../manpage-urls.json
../redirects.json
];
};

Expand Down Expand Up @@ -60,6 +61,7 @@ stdenvNoCC.mkDerivation (
nixos-render-docs manual html \
--manpage-urls ./manpage-urls.json \
--redirects ./redirects.json \
--revision ${nixpkgs.rev or "master"} \
--stylesheet style.css \
--stylesheet highlightjs/mono-blue.css \
Expand Down
Loading

0 comments on commit 8682f4e

Please sign in to comment.