about summary refs log tree commit diff
path: root/nixos/doc/manual/default.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-01-23 18:37:33 +0100
committerpennae <82953136+pennae@users.noreply.github.com>2023-01-26 00:32:56 +0100
commit0175a91aa382a20baaafeadb7d3f720387cc6514 (patch)
tree051349c26ca36bb5fc0b9078254360bb0610a526 /nixos/doc/manual/default.nix
parent381dcd7f9dd1e230aebbe6cfd58fc1d6d769506e (diff)
nixos/make-options-doc: split docbook conversion from mergeJSON
this restores mergeJSON to its former glory if…merging json, and
extracts the MD rendering into a new script that will run instead of the
py+nix+xslt pipeline we previously ran to convert options.json to docbook.

this change alone gives a noticable performance boost when building
docs (18s instead of 27s to build optionsDocBook).

no changes to rendered output, except for a single example in the
rsnapshot module that uses hard tabs for indentation instead of spaces.
this probably isn't important.

docbook warnings remain with mergeJSON since the other processing steps
output single files instead of directories. since we'll only keep the
check until 23.11 this is probably also not important to fix.

also contains a few improvements to error reporting in the MD renderers.
Diffstat (limited to 'nixos/doc/manual/default.nix')
0 files changed, 0 insertions, 0 deletions