mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-20 01:40:52 -05:00
doc: move docbook config to a file
I think it's nicer to have the configuration in a separate file, and not clutter the Meson file. Yes, the XML syntax is inconvenient. This patch does not change the generated output. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
48bfba8378
commit
8c9aedf36e
2 changed files with 12 additions and 5 deletions
|
|
@ -96,11 +96,7 @@ custom_target(
|
|||
'Wayland-docbook-html',
|
||||
command: [
|
||||
xmlto,
|
||||
'--stringparam', 'chunker.output.encoding=UTF-8',
|
||||
'--stringparam', 'chunk.section.depth=0',
|
||||
'--stringparam', 'toc.section.depth=1',
|
||||
'--stringparam', 'generate.consistent.ids=1',
|
||||
'--stringparam', 'html.stylesheet=css/default.css',
|
||||
'-m', files('xsl/docbook-config.xsl'),
|
||||
'-o', '@OUTPUT@',
|
||||
'html',
|
||||
'@INPUT0@'
|
||||
|
|
|
|||
11
doc/publican/xsl/docbook-config.xsl
Normal file
11
doc/publican/xsl/docbook-config.xsl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
|
||||
<!-- See: https://docbook.sourceforge.net/release/xsl/current/doc/html/index.html -->
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:param name="chunker.output.encoding">UTF-8</xsl:param>
|
||||
<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="html.stylesheet">css/default.css</xsl:param>
|
||||
</xsl:stylesheet>
|
||||
Loading…
Add table
Add a link
Reference in a new issue