From c23666473c8bf88a46ea24444a6c40a5dacb16bd Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 12 Dec 2022 13:04:39 +0100 Subject: [PATCH] doc: Remove all section numbers Simplicity. We use anchors nowadays. Nobody should be printing this. --- doc/doc-support/parameters.xml | 9 ++++++--- 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 @@ - - + + + + + - + 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 ''"