Merge branch 'mr/doclink' into 'main'

doc: change all HTML file names

See merge request wayland/wayland!511
This commit is contained in:
Pekka Paalanen 2026-01-23 11:50:52 +02:00
commit 8866a084eb
5 changed files with 20 additions and 12 deletions

View file

@ -1,16 +1,16 @@
<?xml version='1.0' encoding='utf-8' ?> <?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent"> <!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent">
<!ENTITY doxygen SYSTEM "ClientAPI.xml"> <!ENTITY doxygen SYSTEM "ClientAPI.xml">
%BOOK_ENTITIES; %BOOK_ENTITIES;
]> ]>
<appendix id="sect-Library-Client"> <appendix id="appe-Library-Client">
<title>Client API</title> <title>Client API</title>
<section><title>Introduction</title> <section><title>Introduction</title>
<para> <para>
The open-source reference implementation of Wayland protocol is The open-source reference implementation of Wayland protocol is
split in two C libraries, libwayland-client and <link split in two C libraries, libwayland-client and <link
linkend="sect-Library-Server">libwayland-server</link>. Their main linkend="appe-Library-Server">libwayland-server</link>. Their main
responsibility is to handle the Inter-process communication responsibility is to handle the Inter-process communication
(<emphasis>IPC</emphasis>) with each other, therefore guaranteeing (<emphasis>IPC</emphasis>) with each other, therefore guaranteeing
the protocol objects marshaling and messages synchronization. the protocol objects marshaling and messages synchronization.

View file

@ -19,7 +19,7 @@
</para> </para>
<para> <para>
In this section, we introduce three types of Wayland compositors relying In this section, we introduce three types of Wayland compositors relying
on <link linkend="sect-Library-Server">libwayland-server</link>. on <link linkend="appe-Library-Server">libwayland-server</link>.
</para> </para>
<section id="sect-Compositors-System-Compositor"> <section id="sect-Compositors-System-Compositor">

View file

@ -1,16 +1,16 @@
<?xml version='1.0' encoding='utf-8' ?> <?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent"> <!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent">
<!ENTITY doxygen SYSTEM "ServerAPI.xml"> <!ENTITY doxygen SYSTEM "ServerAPI.xml">
%BOOK_ENTITIES; %BOOK_ENTITIES;
]> ]>
<appendix id="sect-Library-Server"> <appendix id="appe-Library-Server">
<title>Server API</title> <title>Server API</title>
<section><title>Introduction</title> <section><title>Introduction</title>
<para> <para>
The open-source reference implementation of Wayland protocol is The open-source reference implementation of Wayland protocol is
split in two C libraries, <link split in two C libraries, <link
linkend="sect-Library-Client">libwayland-client</link> and linkend="appe-Library-Client">libwayland-client</link> and
libwayland-server. Their main responsibility is to handle the libwayland-server. Their main responsibility is to handle the
Inter-process communication (<emphasis>IPC</emphasis>) with each Inter-process communication (<emphasis>IPC</emphasis>) with each
other, therefore guaranteeing the protocol objects marshaling and other, therefore guaranteeing the protocol objects marshaling and

View file

@ -98,11 +98,7 @@ custom_target(
'Wayland-docbook-html', 'Wayland-docbook-html',
command: [ command: [
xmlto, xmlto,
'--stringparam', 'chunker.output.encoding=UTF-8', '-m', files('xsl/docbook-config.xsl'),
'--stringparam', 'chunk.section.depth=0',
'--stringparam', 'toc.section.depth=1',
'--stringparam', 'generate.consistent.ids=1',
'--stringparam', 'html.stylesheet=css/default.css',
'-o', '@OUTPUT@', '-o', '@OUTPUT@',
'html', 'html',
'@INPUT0@' '@INPUT0@'

View file

@ -0,0 +1,12 @@
<?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="use.id.as.filename">1</xsl:param>
<xsl:param name="html.stylesheet">css/default.css</xsl:param>
</xsl:stylesheet>