Manual: Chunk into separate pages

+17 -18
+14 -14
nixos/doc/manual/default.nix
··· 55 56 buildInputs = [ libxml2 libxslt ]; 57 58 - xsltFlags = '' 59 - --param section.autolabel 1 60 - --param section.label.includes.component.label 1 61 - --param html.stylesheet 'style.css' 62 - --param xref.with.number.and.title 1 63 - --param toc.section.depth 3 64 - --param admon.style ''' 65 - --param callout.graphics.extension '.gif' 66 - ''; 67 - 68 buildCommand = '' 69 ${copySources} 70 ··· 76 # Generate the HTML manual. 77 dst=$out/share/doc/nixos 78 mkdir -p $dst 79 - xsltproc $xsltFlags --nonet --xinclude \ 80 - --output $dst/manual.html \ 81 - ${docbook5_xsl}/xml/xsl/docbook/xhtml/docbook.xsl \ 82 - ./manual.xml 83 84 mkdir -p $dst/images/callouts 85 cp ${docbook5_xsl}/xml/xsl/docbook/images/callouts/*.gif $dst/images/callouts/
··· 55 56 buildInputs = [ libxml2 libxslt ]; 57 58 buildCommand = '' 59 ${copySources} 60 ··· 66 # Generate the HTML manual. 67 dst=$out/share/doc/nixos 68 mkdir -p $dst 69 + xsltproc \ 70 + --param section.autolabel 1 \ 71 + --param section.label.includes.component.label 1 \ 72 + --stringparam html.stylesheet style.css \ 73 + --param xref.with.number.and.title 1 \ 74 + --param toc.section.depth 3 \ 75 + --stringparam admon.style "" \ 76 + --stringparam callout.graphics.extension .gif \ 77 + --param chunk.section.depth 1 \ 78 + --param chunk.first.sections 1 \ 79 + --param use.id.as.filename 1 \ 80 + --stringparam generate.toc "book toc chapter toc" \ 81 + --nonet --xinclude --output $dst/ \ 82 + ${docbook5_xsl}/xml/xsl/docbook/xhtml/chunkfast.xsl ./manual.xml 83 84 mkdir -p $dst/images/callouts 85 cp ${docbook5_xsl}/xml/xsl/docbook/images/callouts/*.gif $dst/images/callouts/
+3 -4
nixos/doc/manual/style.css
··· 262 margin-bottom: 1em; 263 } 264 265 - div.affiliation 266 - { 267 - font-style: italic; 268 - }
··· 262 margin-bottom: 1em; 263 } 264 265 + div.navheader table, div.navfooter table { 266 + box-shadow: none; 267 + }