Skip to content

Commit

Permalink
docs: minor formatting changes
Browse files Browse the repository at this point in the history
Gerg I swear to god...
  • Loading branch information
NotAShelf committed Sep 24, 2024
1 parent 842b45b commit 316f25a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,9 @@ in {
# TODO: Use `hmOptionsDocs.optionsJSON` directly once upstream
# `nixosOptionsDoc` is more customizable.
options.json =
pkgs.runCommand "options.json"
{
pkgs.runCommand "options.json" {
meta.description = "List of nvf options in JSON format";
}
''
} ''
mkdir -p $out/{share/doc,nix-support}
cp -a ${nvimModuleDocs.optionsJSON}/share/doc/nixos $out/share/doc/nvf
substitute \
Expand All @@ -117,15 +115,13 @@ in {

# Generate the `man home-configuration.nix` package
manPages =
pkgs.runCommand "nvf-reference-manpage"
{
pkgs.runCommand "nvf-reference-manpage" {
nativeBuildInputs = [
pkgs.buildPackages.installShellFiles
pkgs.nixos-render-docs
];
allowedReferences = ["out"];
}
''
} ''
# Generate manpages.
mkdir -p $out/share/man/{man5,man1}
Expand Down

0 comments on commit 316f25a

Please sign in to comment.