mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 20:35:59 +01:00
docs: minor formatting changes
Gerg I swear to god...
This commit is contained in:
parent
842b45b969
commit
316f25a0f6
1 changed files with 4 additions and 8 deletions
|
@ -100,11 +100,9 @@ in {
|
||||||
# TODO: Use `hmOptionsDocs.optionsJSON` directly once upstream
|
# TODO: Use `hmOptionsDocs.optionsJSON` directly once upstream
|
||||||
# `nixosOptionsDoc` is more customizable.
|
# `nixosOptionsDoc` is more customizable.
|
||||||
options.json =
|
options.json =
|
||||||
pkgs.runCommand "options.json"
|
pkgs.runCommand "options.json" {
|
||||||
{
|
|
||||||
meta.description = "List of nvf options in JSON format";
|
meta.description = "List of nvf options in JSON format";
|
||||||
}
|
} ''
|
||||||
''
|
|
||||||
mkdir -p $out/{share/doc,nix-support}
|
mkdir -p $out/{share/doc,nix-support}
|
||||||
cp -a ${nvimModuleDocs.optionsJSON}/share/doc/nixos $out/share/doc/nvf
|
cp -a ${nvimModuleDocs.optionsJSON}/share/doc/nixos $out/share/doc/nvf
|
||||||
substitute \
|
substitute \
|
||||||
|
@ -117,15 +115,13 @@ in {
|
||||||
|
|
||||||
# Generate the `man home-configuration.nix` package
|
# Generate the `man home-configuration.nix` package
|
||||||
manPages =
|
manPages =
|
||||||
pkgs.runCommand "nvf-reference-manpage"
|
pkgs.runCommand "nvf-reference-manpage" {
|
||||||
{
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgs.buildPackages.installShellFiles
|
pkgs.buildPackages.installShellFiles
|
||||||
pkgs.nixos-render-docs
|
pkgs.nixos-render-docs
|
||||||
];
|
];
|
||||||
allowedReferences = ["out"];
|
allowedReferences = ["out"];
|
||||||
}
|
} ''
|
||||||
''
|
|
||||||
# Generate manpages.
|
# Generate manpages.
|
||||||
mkdir -p $out/share/man/{man5,man1}
|
mkdir -p $out/share/man/{man5,man1}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue