doc: change HTML file names

Previously the HTML files generated from the DocBook sources were named
ch01.html, ch02.html, apa.html, apb.html, etc. with running numbering.
This means that if one added a new chapter between existing chapters,
the following chapter file names would change and break all web links
pointing to them.

Instead, let's use the chapter ID as the file name. This way, web links
will not be broken when new chapters are added.

Of course, this change breaks all web links to everything but index.html
(and pr01.html and pr02.html).

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2026-01-16 14:16:57 +02:00
parent 8c9aedf36e
commit 5c5e28294f

View file

@ -7,5 +7,6 @@
<xsl:param name="chunk.section.depth">0</xsl:param>
<xsl:param name="toc.section.depth">1</xsl:param>
<xsl:param name="generate.consistent.ids">1</xsl:param>
<xsl:param name="use.id.as.filename">1</xsl:param>
<xsl:param name="html.stylesheet">css/default.css</xsl:param>
</xsl:stylesheet>