diff --git a/doc/publican/Client.xml b/doc/publican/Client.xml index 19bf3e95..f1eba096 100644 --- a/doc/publican/Client.xml +++ b/doc/publican/Client.xml @@ -1,16 +1,16 @@ - %BOOK_ENTITIES; ]> - + Client API
Introduction The open-source reference implementation of Wayland protocol is split in two C libraries, libwayland-client and libwayland-server. Their main + linkend="appe-Library-Server">libwayland-server. Their main responsibility is to handle the Inter-process communication (IPC) with each other, therefore guaranteeing the protocol objects marshaling and messages synchronization. diff --git a/doc/publican/Compositors.xml b/doc/publican/Compositors.xml index 7a7bdaa0..5eed9593 100644 --- a/doc/publican/Compositors.xml +++ b/doc/publican/Compositors.xml @@ -19,7 +19,7 @@ In this section, we introduce three types of Wayland compositors relying - on libwayland-server. + on libwayland-server.
diff --git a/doc/publican/Server.xml b/doc/publican/Server.xml index 2333b1a4..f31a3f3a 100644 --- a/doc/publican/Server.xml +++ b/doc/publican/Server.xml @@ -1,16 +1,16 @@ - %BOOK_ENTITIES; ]> - + Server API
Introduction The open-source reference implementation of Wayland protocol is split in two C libraries, libwayland-client and + linkend="appe-Library-Client">libwayland-client and libwayland-server. Their main responsibility is to handle the Inter-process communication (IPC) with each other, therefore guaranteeing the protocol objects marshaling and diff --git a/doc/publican/meson.build b/doc/publican/meson.build index 2cb95b96..7905f7f8 100644 --- a/doc/publican/meson.build +++ b/doc/publican/meson.build @@ -98,11 +98,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@' diff --git a/doc/publican/xsl/docbook-config.xsl b/doc/publican/xsl/docbook-config.xsl new file mode 100644 index 00000000..6c93d204 --- /dev/null +++ b/doc/publican/xsl/docbook-config.xsl @@ -0,0 +1,12 @@ + + + + + + UTF-8 + 0 + 1 + 1 + 1 + css/default.css +