[gnome-hello] Added Mallard documentation examples:
- From: Milo Casagrande <miloc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-hello] Added Mallard documentation examples:
- Date: Sat, 1 Aug 2009 17:51:24 +0000 (UTC)
commit 7c345992799accc2134c4a3464a2f13d25a95e53
Author: Milo Casagrande <milo ubuntu com>
Date: Sat Aug 1 19:48:19 2009 +0200
Added Mallard documentation examples:
* Removed the old gnome-hello.xml doc
* Added Mallard topic-based documents
* Adapted the help/Makefile.am for Mallard
This is basically a test to see if damned-lies handles Mallard docs correctly
help/C/Makefile.am | 19 ++++---
help/C/gnome-hello.xml | 127 ----------------------------------------------
help/C/index.page | 23 ++++++++
help/C/what-can-do.page | 37 +++++++++++++
help/C/what-is-like.page | 35 +++++++++++++
help/C/what-is.page | 29 +++++++++++
6 files changed, 136 insertions(+), 134 deletions(-)
---
diff --git a/help/C/Makefile.am b/help/C/Makefile.am
index 1161b6b..4d971b4 100644
--- a/help/C/Makefile.am
+++ b/help/C/Makefile.am
@@ -1,7 +1,12 @@
-figdir = figures
-docname = gnome-hello
-lang = C
-omffile = gnome-hello-C.omf
-entities = legal.xml
-include $(top_srcdir)/xmldocs.make
-dist-hook: app-dist-hook
+include $(top_srcdir)/gnome-doc-utils.make
+
+DOC_ID = gnome-hello
+DOC_ENTITIES = legal.xml
+DOC_PAGES = index.page \
+ what-is.page \
+ what-is-like.page \
+ whan-can-do.page
+DOC_FIGURES = \
+ figures/empathy-main-window.png
+DOC_LINGUAS = de es fr ja oc pt_BR sv zh_CN
+dist-hook: doc-dist-hook
diff --git a/help/C/index.page b/help/C/index.page
new file mode 100644
index 0000000..26addbb
--- /dev/null
+++ b/help/C/index.page
@@ -0,0 +1,23 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide"
+ id="index">
+
+ <info>
+ <revision version="0.1" date="2009-08-01" status="final"/>
+
+ <credit type="author">
+ <name>Milo Casagrande</name>
+ <email>milo ubuntu com</email>
+ </credit>
+ <copyright>
+ <year>2009</year>
+ <name>GNOME Documentation Project</name>
+ </copyright>
+
+ <license>Creative Commons Share Alike 3.0</license>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
+ </info>
+
+ <title>GNOME Hello</title>
+
+</page>
diff --git a/help/C/what-can-do.page b/help/C/what-can-do.page
new file mode 100644
index 0000000..7697dcf
--- /dev/null
+++ b/help/C/what-can-do.page
@@ -0,0 +1,37 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide"
+ id="01-what-can-do">
+
+ <info>
+ <link type="guide" xref="index"/>
+ <desc>What can you do with <app>GNOME Hello</app>.</desc>
+ <revision version="0.1" date="2009-08-01" status="final"/>
+ <credit type="author">
+ <name>Milo Casagrande</name>
+ <email>milo ubuntu com</email>
+ </credit>
+ <copyright>
+ <year>2009</year>
+ <name>GNOME Documentation Project</name>
+ </copyright>
+
+ <license>Creative Commons Share Alike 3.0</license>
+
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
+ </info>
+
+ <title>What <app>GNOME Hello</app> does</title>
+
+ <p>
+ At the moment <app>GNOME Hello</app> can't do many things.
+ </p>
+ <p>
+ This is just a demonstration on how to install help files and how to use Mallard,
+ the new syntax for writing GNOME documentation.
+ </p>
+ <p>
+ If you want to learn more about Mallard, see the
+ <link href="http://live.gnome.org/ProjectMallard">Project Mallard</link> home page.
+ </p>
+
+</page>
diff --git a/help/C/what-is-like.page b/help/C/what-is-like.page
new file mode 100644
index 0000000..cfa4d1d
--- /dev/null
+++ b/help/C/what-is-like.page
@@ -0,0 +1,35 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide"
+ id="02-what-is-like">
+
+ <info>
+ <link type="guide" xref="index"/>
+ <link type="seealso" xref="03-what-is"/>
+ <desc>Pictures of <app>GNOME Hello</app>.</desc>
+ <revision version="0.1" date="2009-08-01" status="final"/>
+ <credit type="author">
+ <name>Milo Casagrande</name>
+ <email>milo ubuntu com</email>
+ </credit>
+ <copyright>
+ <year>2009</year>
+ <name>GNOME Documentation Project</name>
+ </copyright>
+
+ <license>Creative Commons Share Alike 3.0</license>
+
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
+ </info>
+
+ <title>What does <app>GNOME Hello</app> look like?</title>
+
+ <p>
+ This is how <app>GNOME Hello</app> looks like.
+ </p>
+ <p>
+ <media type="image" mime="img/png" src="figures/gnome-hello.png">
+ <app>GNOME Hello</app> fantastic interface.
+ </media>
+ </p>
+
+</page>
diff --git a/help/C/what-is.page b/help/C/what-is.page
new file mode 100644
index 0000000..f1303fc
--- /dev/null
+++ b/help/C/what-is.page
@@ -0,0 +1,29 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide"
+ id="03-what-is">
+
+ <info>
+ <link type="guide" xref="index"/>
+ <desc>Description of <app>GNOME Hello</app>.</desc>
+ <revision version="0.1" date="2009-08-01" status="final"/>
+ <credit type="author">
+ <name>Milo Casagrande</name>
+ <email>milo ubuntu com</email>
+ </credit>
+ <copyright>
+ <year>2009</year>
+ <name>GNOME Documentation Project</name>
+ </copyright>
+
+ <license>Creative Commons Share Alike 3.0</license>
+
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
+ </info>
+
+ <title>What is <app>GNOME Hello</app></title>
+
+ <p>
+ <app>GNOME Hello</app> is a very complex program, with many nice features and nice options.
+ </p>
+
+</page>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]