diff options
| author | Robert Hensing <roberth@users.noreply.github.com> | 2022-12-12 22:11:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-12 22:11:28 +0100 |
| commit | a70a69156cb3241b2020e2c8ce63385a6525fdce (patch) | |
| tree | 54821b07ca092dfd052f76bc694bb176b8d12a02 | |
| parent | Merge pull request #205833 from Stunkymonkey/newsflash-2.2.3 (diff) | |
| parent | doc: Remove all section numbers (diff) | |
| download | nixpkgs-a70a69156cb3241b2020e2c8ce63385a6525fdce.tar.gz | |
Merge pull request #205768 from hercules-ci/remove-numbers-from-manuals
doc: Remove all section numbers
| -rw-r--r-- | doc/doc-support/parameters.xml | 9 | ||||
| -rw-r--r-- | nixos/doc/manual/default.nix | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/doc/doc-support/parameters.xml b/doc/doc-support/parameters.xml index 8b413dcd337a..50ff25fe1075 100644 --- a/doc/doc-support/parameters.xml +++ b/doc/doc-support/parameters.xml @@ -2,11 +2,14 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - <xsl:param name="section.autolabel" select="1" /> - <xsl:param name="section.label.includes.component.label" select="1" /> + <xsl:param name="chapter.autolabel" select="0" /> + <xsl:param name="part.autolabel" select="0" /> + <xsl:param name="preface.autolabel" select="0" /> + <xsl:param name="reference.autolabel" select="0" /> + <xsl:param name="section.autolabel" select="0" /> <xsl:param name="html.stylesheet" select="'style.css overrides.css highlightjs/mono-blue.css'" /> <xsl:param name="html.script" select="'./highlightjs/highlight.pack.js ./highlightjs/loader.js'" /> - <xsl:param name="xref.with.number.and.title" select="1" /> + <xsl:param name="xref.with.number.and.title" select="0" /> <xsl:param name="use.id.as.filename" select="1" /> <xsl:param name="toc.section.depth" select="0" /> <xsl:param name="admon.style" select="''" /> diff --git a/nixos/doc/manual/default.nix b/nixos/doc/manual/default.nix index 6db20cdd6418..9b72e840f4b1 100644 --- a/nixos/doc/manual/default.nix +++ b/nixos/doc/manual/default.nix @@ -102,11 +102,14 @@ let ''; manualXsltprocOptions = toString [ - "--param section.autolabel 1" - "--param section.label.includes.component.label 1" + "--param chapter.autolabel 0" + "--param part.autolabel 0" + "--param preface.autolabel 0" + "--param reference.autolabel 0" + "--param section.autolabel 0" "--stringparam html.stylesheet 'style.css overrides.css highlightjs/mono-blue.css'" "--stringparam html.script './highlightjs/highlight.pack.js ./highlightjs/loader.js'" - "--param xref.with.number.and.title 1" + "--param xref.with.number.and.title 0" "--param toc.section.depth 0" "--param generate.consistent.ids 1" "--stringparam admon.style ''" |
