summaryrefslogtreecommitdiff
path: root/doc/manual/manual.md
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 /doc/manual/manual.md
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 'doc/manual/manual.md')
-rw-r--r--doc/manual/manual.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/manual.md b/doc/manual/manual.md
new file mode 100644
index 0000000..131df7d
--- /dev/null
+++ b/doc/manual/manual.md
@@ -0,0 +1,8 @@
+# Darwin Configuration Options {#book-darwin-manual}
+## Version @DARWIN_VERSION@
+
+```{=include=} options
+id-prefix: opt-
+list-id: configuration-variable-list
+source: @DARWIN_OPTIONS_JSON@
+```