From 7c717a4f6fa868019e21e7a335207d75be9e2209 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 3 Sep 2018 00:45:37 +0200 Subject: release/manual: Fix generating option descriptions The NixOS option descriptions are now splitted into elements whenever a \n\n occurs. For this an intermediate step is necessary, so we need to add the postprocessing XSLT here as well. This is the upstream commit that changed this behavior: https://github.com/NixOS/nixpkgs/commit/f865d0feabfafbb30a9e0659e19a30cb Signed-off-by: aszlig --- release.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'release.nix') diff --git a/release.nix b/release.nix index a717341d..14179fc6 100644 --- a/release.nix +++ b/release.nix @@ -202,9 +202,12 @@ in with pkgsUpstream.lib; with builtins; { buildCommand = '' cp -r "${./doc}" doc chmod -R +w doc - xsltproc -o doc/options-db.xml \ + xsltproc -o intermediate.xml \ "${nixpkgs}/nixos/doc/manual/options-to-docbook.xsl" \ ${optionsFile} + xsltproc -o doc/options-db.xml \ + "${nixpkgs}/nixos/doc/manual/postprocess-option-descriptions.xsl" \ + intermediate.xml dest="$out/share/doc/vuizvui" mkdir -p "$dest" -- cgit 1.4.1