[PATCH 02/18] doc: Add a Foreword and a Preface

Peter Hutterer peter.hutterer at who-t.net
Mon Apr 1 17:08:56 PDT 2013


From: Tiago Vignatti <tiago.vignatti at intel.com>

In particular, the preface defines the scope of this document we're building
-- is the definition there enough with respect to what we want with this?

Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 doc/Wayland/Makefile.am        |  2 ++
 doc/Wayland/en_US/Foreword.xml | 29 +++++++++++++++++++++++++++++
 doc/Wayland/en_US/Preface.xml  | 20 ++++++++++++++++++++
 doc/Wayland/en_US/Wayland.xml  |  2 ++
 4 files changed, 53 insertions(+)
 create mode 100644 doc/Wayland/en_US/Foreword.xml
 create mode 100644 doc/Wayland/en_US/Preface.xml

diff --git a/doc/Wayland/Makefile.am b/doc/Wayland/Makefile.am
index 1d27b1a..03723e1 100644
--- a/doc/Wayland/Makefile.am
+++ b/doc/Wayland/Makefile.am
@@ -3,6 +3,8 @@ publican_sources = \
 	$(srcdir)/en_US/Architecture.xml \
 	$(srcdir)/en_US/Author_Group.xml \
 	$(srcdir)/en_US/Book_Info.xml \
+	$(srcdir)/en_US/Foreword.xml \
+	$(srcdir)/en_US/Preface.xml \
 	$(srcdir)/en_US/Wayland.xml \
 	$(srcdir)/en_US/Protocol.xml \
 	$(srcdir)/en_US/Library.xml \
diff --git a/doc/Wayland/en_US/Foreword.xml b/doc/Wayland/en_US/Foreword.xml
new file mode 100644
index 0000000..eeb16cc
--- /dev/null
+++ b/doc/Wayland/en_US/Foreword.xml
@@ -0,0 +1,29 @@
+<?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" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent">
+%BOOK_ENTITIES;
+]>
+
+<preface>
+  <title>Preface</title>
+
+  <para>
+  This document concerns the (i) Wayland architecture, (ii) Wayland model of
+  operation and (iii) its library API. Wayland protocol specification is shown
+  also in the Appendix. The document here is aimed at Wayland developers and
+  who is looking for information how to program with it, but it is not meant
+  primarily for applications developers.
+  </para>
+  <para>
+  There have been many contributors to this document and, while this is the
+  first edition only, many errors are expected to be found. We appreciate
+  corrections.
+  </para>
+  <literallayout>
+Yours,
+
+        the Wayland open-source community
+        November 2012
+  </literallayout>
+</preface>
diff --git a/doc/Wayland/en_US/Preface.xml b/doc/Wayland/en_US/Preface.xml
new file mode 100644
index 0000000..61720a9
--- /dev/null
+++ b/doc/Wayland/en_US/Preface.xml
@@ -0,0 +1,20 @@
+<?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" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent">
+%BOOK_ENTITIES;
+]>
+
+<preface>
+  <title>Acknowledgments</title>
+
+  <para>
+  TODO: Kristian has to fill up this with one or two paragraphs and a small
+  "thank you": http://en.wikipedia.org/wiki/Preface
+  </para>
+  <literallayout>
+Best,
+
+        Kristian Høgsberg
+  </literallayout>
+</preface>
diff --git a/doc/Wayland/en_US/Wayland.xml b/doc/Wayland/en_US/Wayland.xml
index 30fa3f2..e72bb11 100644
--- a/doc/Wayland/en_US/Wayland.xml
+++ b/doc/Wayland/en_US/Wayland.xml
@@ -5,6 +5,8 @@
 ]>
 <book>
   <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+  <xi:include href="Foreword.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+  <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
   <xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
   <xi:include href="Architecture.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
   <xi:include href="Protocol.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-- 
1.8.1.4



More information about the wayland-devel mailing list