From c985a17988e4df48618b6687dfddfb18a94793e1 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Tue, 9 Dec 2014 17:01:12 -0800 Subject: [PATCH] doc: Split libwayland-client and -server into different pages This was suggested before to make it clearer that things like wl_display are different objects in each of them. I made these into two appendixes because the protocol spec was already an appendix. Reviewed-by: Bryce Harrington [Bryce requested minor changes, not yet here.] Acked-by: Pekka Paalanen --- doc/publican/Makefile.am | 1 - doc/publican/doxygen-to-publican.xsl | 28 ++++++++++++++++++++++------ doc/publican/sources/Library.xml | 27 --------------------------- doc/publican/sources/Wayland.xml | 3 ++- 4 files changed, 24 insertions(+), 35 deletions(-) delete mode 100644 doc/publican/sources/Library.xml diff --git a/doc/publican/Makefile.am b/doc/publican/Makefile.am index 8ed3815..c109795 100644 --- a/doc/publican/Makefile.am +++ b/doc/publican/Makefile.am @@ -25,7 +25,6 @@ publican_sources = \ $(srcdir)/sources/Introduction.xml \ $(srcdir)/sources/Architecture.xml \ $(srcdir)/sources/Protocol.xml \ - $(srcdir)/sources/Library.xml \ $(srcdir)/sources/Compositors.xml \ $(srcdir)/sources/images/icon.svg \ $(srcdir)/sources/images/wayland-architecture.png \ diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-publican.xsl index d8f3289..53fc60f 100644 --- a/doc/publican/doxygen-to-publican.xsl +++ b/doc/publican/doxygen-to-publican.xsl @@ -12,13 +12,29 @@ ]> ]]> -
+ sect-Library- <xsl:value-of select="$which"/> API - Following is the Wayland library classes for the - (libwayland-). - Note that most of the procedures are related with IPC, which is the main responsibility of - the library. + + + The open-source reference implementation of Wayland protocol is + split in two C libraries, 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 messages + synchronization. + + + + Following is the Wayland library classes for the + + (libwayland-). This appendix describes in detail + the library's methods and their helpers, aiming implementors who + are building a Wayland . @@ -36,7 +52,7 @@ -
+ diff --git a/doc/publican/sources/Library.xml b/doc/publican/sources/Library.xml deleted file mode 100644 index bc8c89e..0000000 --- a/doc/publican/sources/Library.xml +++ /dev/null @@ -1,27 +0,0 @@ - - -%BOOK_ENTITIES; -]> - - Wayland Library - - - The open-source reference implementation of Wayland protocol is split in two - C libraries, libwayland-server and - libwayland-client. Their main - responsibility is to handle the Inter-process communication - (IPC) with each other, therefore guaranteeing the - protocol objects marshaling and messages synchronization. - - - - This Chapter describes in detail each library's methods and their helpers, - aiming implementors who can use for building Wayland clients and servers; - respectively at and - . - - - - - diff --git a/doc/publican/sources/Wayland.xml b/doc/publican/sources/Wayland.xml index 24a9876..bdf8930 100644 --- a/doc/publican/sources/Wayland.xml +++ b/doc/publican/sources/Wayland.xml @@ -12,6 +12,7 @@ - + + -- 2.7.4