docs: include header and footer in manpages; move man to its own dir

This commit is contained in:
raf 2024-04-21 00:29:17 +03:00
commit d2b8e27b16
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
4 changed files with 11 additions and 6 deletions

View file

@ -127,10 +127,12 @@
nixos-render-docs -j $NIX_BUILD_CORES options manpage \
--revision ${revision} \
--header ${./man/header.5} \
--footer ${./man/footer.5} \
${nvimModuleDocs.optionsJSON}/share/doc/nixos/options.json \
$out/share/man/man5/neovim-flake.5
cp ${./neovim-flake.1} $out/share/man/man1/neovim-flake.1
cp ${./man/neovim-flake.1} $out/share/man/man1/neovim-flake.1
'';
# Generate the HTML manual pages