aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-10 17:21:11 +0200
committerPekka Paalanen <pq@iki.fi>2022-05-11 07:21:14 +0000
commitf7ca2c65f3bffd45b54d32d4ccf467c31d48a39b (patch)
tree9719af79a361ab1b453f03a07d8fd1ac7bda1272 /doc
parentbuild: sanity check options (diff)
downloadwayland-f7ca2c65f3bffd45b54d32d4ccf467c31d48a39b.tar
wayland-f7ca2c65f3bffd45b54d32d4ccf467c31d48a39b.tar.gz
wayland-f7ca2c65f3bffd45b54d32d4ccf467c31d48a39b.tar.bz2
wayland-f7ca2c65f3bffd45b54d32d4ccf467c31d48a39b.tar.lz
wayland-f7ca2c65f3bffd45b54d32d4ccf467c31d48a39b.tar.xz
wayland-f7ca2c65f3bffd45b54d32d4ccf467c31d48a39b.tar.zst
wayland-f7ca2c65f3bffd45b54d32d4ccf467c31d48a39b.zip
docs/publican: ensure output encoding is UTF-8
Without this, DocBook picks the output encoding and on some setups we end up with ISO-8859-1. Tested by booting a fresh Alpine VM, verifying that the generated HTML is using the incorrect charset, applying the patch, and verifying that the generated HTML is fixed. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'doc')
-rw-r--r--doc/publican/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/publican/meson.build b/doc/publican/meson.build
index 60305f4..eac3e9b 100644
--- a/doc/publican/meson.build
+++ b/doc/publican/meson.build
@@ -7,6 +7,7 @@ custom_target(
command: [
xmlto,
'--skip-validation',
+ '--stringparam', 'chunker.output.encoding=UTF-8',
'--stringparam', 'chunk.section.depth=0',
'--stringparam', 'toc.section.depth=1',
'--stringparam', 'generate.consistent.ids=1',