summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2015-07-08 20:06:51 +0100
committerJonathan Corbet <corbet@lwn.net>2015-07-10 11:03:16 -0600
commitb48ed85145711b28f9024dcdaf6c0238d7b5042c (patch)
tree0efae754c1770ed59c7e6eaa2f0f96766a8871e1 /Documentation/DocBook
parent32c1735c4091ef0de8e39f68a9d83a07450b959b (diff)
downloadop-kernel-dev-b48ed85145711b28f9024dcdaf6c0238d7b5042c.zip
op-kernel-dev-b48ed85145711b28f9024dcdaf6c0238d7b5042c.tar.gz
DocBook: Generate consistent IDs
By default, DocBook XSL uses a non-deterministic function to generate IDs for HTML elements where it can't take a name from the input document. However, it has the option to generate 'consistent' (deterministic) IDs instead. Enable this to make the HTML pages reproducible. Reported-by: Jérémy Bobbio <lunar@debian.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/stylesheet.xsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/DocBook/stylesheet.xsl b/Documentation/DocBook/stylesheet.xsl
index 85b2527..3bf4ecf 100644
--- a/Documentation/DocBook/stylesheet.xsl
+++ b/Documentation/DocBook/stylesheet.xsl
@@ -5,6 +5,7 @@
<param name="funcsynopsis.tabular.threshold">80</param>
<param name="callout.graphics">0</param>
<!-- <param name="paper.type">A4</param> -->
+<param name="generate.consistent.ids">1</param>
<param name="generate.section.toc.level">2</param>
<param name="use.id.as.filename">1</param>
</stylesheet>
OpenPOWER on IntegriCloud