From f8a2b8fe675e3f47ff8e952403d63011752d9f53 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 10 Dec 2015 09:00:07 +0100 Subject: release: Factor out manual into doc/ directory. So far this has been inlined in release.nix, but if we want to have more documentation, we should modularize it into subdirectories. As an additional benefit we get better syntax highlighting for docbook files. Signed-off-by: aszlig --- release.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'release.nix') diff --git a/release.nix b/release.nix index 478fcf15..727b8ff8 100644 --- a/release.nix +++ b/release.nix @@ -112,25 +112,15 @@ in with pkgsUpstream.lib; with builtins; { ''; buildCommand = '' - xsltproc -o options-db.xml \ + cp -r "${./doc}" doc + chmod -R +w doc + xsltproc -o doc/options-db.xml \ "${nixpkgs}/nixos/doc/manual/options-to-docbook.xsl" \ ${optionsFile} - cat > manual.xml < - Vuizvui-specific NixOS options - - The following NixOS options are specific to Vuizvui: - - - - XML - xsltproc -o "$out/manual.html" $xsltFlags -nonet -xinclude \ ${pkgsUpstream.docbook5_xsl}/xml/xsl/docbook/xhtml/docbook.xsl \ - manual.xml + doc/index.xml cp "${nixpkgs}/nixos/doc/manual/style.css" "$out/style.css" -- cgit 1.4.1