diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2015-07-08 20:06:51 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-07-10 11:03:16 -0600 |
commit | b48ed85145711b28f9024dcdaf6c0238d7b5042c (patch) | |
tree | 0efae754c1770ed59c7e6eaa2f0f96766a8871e1 | |
parent | 32c1735c4091ef0de8e39f68a9d83a07450b959b (diff) |
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>
-rw-r--r-- | Documentation/DocBook/stylesheet.xsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/DocBook/stylesheet.xsl b/Documentation/DocBook/stylesheet.xsl index 85b25275196f..3bf4ecf3d760 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> |