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:
Pekka Paalanen 2026-01-16 13:40:39 +02:00
parent 48bfba8378
commit 8c9aedf36e
2 changed files with 12 additions and 5 deletions

View file

@ -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@'