docs/manual: remove header & footer from manual

This commit is contained in:
NotAShelf 2023-12-09 22:28:52 +03:00
parent 78f21b75b7
commit 444bf0a9d2
No known key found for this signature in database
GPG Key ID: 02D1DD3FA08B6B29
1 changed files with 2 additions and 4 deletions

View File

@ -87,7 +87,7 @@
release-config = builtins.fromJSON (builtins.readFile ../release.json);
revision = "release-${release-config.release}";
# Generate the `man home-configuration.nix` package
home-configuration-manual =
nvf-configuration-manual =
pkgs.runCommand "neovim-flake-reference-manpage" {
nativeBuildInputs = [pkgs.buildPackages.installShellFiles pkgs.nixos-render-docs];
allowedReferences = ["out"];
@ -97,8 +97,6 @@
mkdir -p $out/share/man/man1
nixos-render-docs -j $NIX_BUILD_CORES options manpage \
--revision ${revision} \
--header ${./header.5} \
--footer ${./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
@ -135,6 +133,6 @@ in {
'';
};
manPages = home-configuration-manual;
manPages = nvf-configuration-manual;
manual = {inherit html htmlOpenTool;};
}