[PATCH wayland 1/7] doc: Add a Foreword and a Preface

Tiago Vignatti tiago.vignatti at intel.com
Tue Nov 13 13:28:42 PST 2012


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>
---
 doc/Wayland/Makefile.am        |    2 ++
 doc/Wayland/en_US/Foreword.xml |   29 +++++++++++++++++++++++++++++
 doc/Wayland/en_US/Preface.xml  |   21 +++++++++++++++++++++
 doc/Wayland/en_US/Wayland.xml  |    2 ++
 4 files changed, 54 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 2c41a49..65b5b65 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..f71cc8f
--- /dev/null
+++ b/doc/Wayland/en_US/Preface.xml
@@ -0,0 +1,21 @@
+<?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.7.9.5



More information about the wayland-devel mailing list