From 316f25a0f62696b289ad4b944789beaae7fa9415 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 24 Sep 2024 06:27:06 +0300 Subject: [PATCH] docs: minor formatting changes Gerg I swear to god... --- docs/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/default.nix b/docs/default.nix index 4a9d2f8..cce02b1 100644 --- a/docs/default.nix +++ b/docs/default.nix @@ -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 \ @@ -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}