summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2023-06-24 05:09:22 +0100
committerEmily <vcs@emily.moe>2023-06-24 10:48:55 +0100
commit69648c6cbbecf34c327d73e36b5aed32edfb9ed9 (patch)
tree7d8c2c8c1bfb75c53984550fc8fdd1f6ca7dcfc1 /modules
parentd37abf456b50b6252d1ca995b20a7add8c28cce6 (diff)
doc/manual: use `nixos-render-docs`
Now that all the DocBook documentation is gone, we can switch to the new NixOS documentation generator. No meaningful change in HTML output, except that I removed the rather pointless preface and changed the title accordingly. Manual page output is greatly improved; it was kind of broken before. The `sed` hack is pretty gross but I have confirmed that nixpkgs will be happy to accept a PR to make things a little more customizable. This also drops the `manual` alias (deprecated in nixpkgs in 2018 and imported into nix-darwin), and `manualEpub` (because the NixOS documentation generator doesn't support it and also nobody wants this as an ebook).
Diffstat (limited to 'modules')
-rw-r--r--modules/documentation/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/documentation/default.nix b/modules/documentation/default.nix
index 7712a13..a49d277 100644
--- a/modules/documentation/default.nix
+++ b/modules/documentation/default.nix
@@ -73,7 +73,6 @@ let
The nix-darwin documentation now requires nixpkgs 23.05 to build.
'';
};
- manual = manualHTML;
manualHTMLIndex = "${manualHTML}/share/doc/darwin/index.html";
};