docs: move ndg options into ndg.toml

This commit is contained in:
Ching Pei Yang 2026-01-22 20:35:03 +01:00
commit 40c1ffab4a
No known key found for this signature in database
GPG key ID: B3841364253DC4C8
2 changed files with 29 additions and 4 deletions

View file

@ -31,13 +31,10 @@ in
# Generate the final manual from a set of parameters. This uses
# feel-co/ndg to render the web manual.
ndg html \
ndg --config-file ${./ndg.toml} html \
--jobs $NIX_BUILD_CORES --title "NVF" \
--module-options ${optionsJSON}/share/doc/nixos/options.json \
--manpage-urls ${path}/doc/manpage-urls.json \
--options-depth 3 \
--generate-search \
--highlight-code \
--input-dir ./manual \
--output-dir "$out/share/doc"