mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 10:59:49 +01:00
docs/manual: remove header & footer from manual
This commit is contained in:
parent
78f21b75b7
commit
444bf0a9d2
1 changed files with 2 additions and 4 deletions
|
@ -87,7 +87,7 @@
|
||||||
release-config = builtins.fromJSON (builtins.readFile ../release.json);
|
release-config = builtins.fromJSON (builtins.readFile ../release.json);
|
||||||
revision = "release-${release-config.release}";
|
revision = "release-${release-config.release}";
|
||||||
# Generate the `man home-configuration.nix` package
|
# Generate the `man home-configuration.nix` package
|
||||||
home-configuration-manual =
|
nvf-configuration-manual =
|
||||||
pkgs.runCommand "neovim-flake-reference-manpage" {
|
pkgs.runCommand "neovim-flake-reference-manpage" {
|
||||||
nativeBuildInputs = [pkgs.buildPackages.installShellFiles pkgs.nixos-render-docs];
|
nativeBuildInputs = [pkgs.buildPackages.installShellFiles pkgs.nixos-render-docs];
|
||||||
allowedReferences = ["out"];
|
allowedReferences = ["out"];
|
||||||
|
@ -97,8 +97,6 @@
|
||||||
mkdir -p $out/share/man/man1
|
mkdir -p $out/share/man/man1
|
||||||
nixos-render-docs -j $NIX_BUILD_CORES options manpage \
|
nixos-render-docs -j $NIX_BUILD_CORES options manpage \
|
||||||
--revision ${revision} \
|
--revision ${revision} \
|
||||||
--header ${./header.5} \
|
|
||||||
--footer ${./footer.5} \
|
|
||||||
${nvimModuleDocs.optionsJSON}/share/doc/nixos/options.json \
|
${nvimModuleDocs.optionsJSON}/share/doc/nixos/options.json \
|
||||||
$out/share/man/man5/neovim-flake.5
|
$out/share/man/man5/neovim-flake.5
|
||||||
cp ${./neovim-flake.1} $out/share/man/man1/neovim-flake.1
|
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;};
|
manual = {inherit html htmlOpenTool;};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue