[gtk-doc] tests: make similar to non tmpl docs



commit 13baa4ff9ae34e75c045de2d88079de9e10ca6a4
Author: Stefan Kost <ensonic users sf net>
Date:   Sat Dec 26 22:15:28 2009 +0200

    tests: make similar to non tmpl docs

 tests/gobject/docs-tmpl/tester-docs.xml     |   92 +++++++++++++++++----------
 tests/gobject/docs-tmpl/tester-sections.txt |    2 -
 2 files changed, 59 insertions(+), 35 deletions(-)
---
diff --git a/tests/gobject/docs-tmpl/tester-docs.xml b/tests/gobject/docs-tmpl/tester-docs.xml
index 5f9b599..937f739 100644
--- a/tests/gobject/docs-tmpl/tester-docs.xml
+++ b/tests/gobject/docs-tmpl/tester-docs.xml
@@ -14,55 +14,81 @@
     </releaseinfo>
   </bookinfo>
 
-  <chapter id="intro">
+  <preface id="intro">
     <title>Introduction</title>
     <para>
       This document is for testing purpose only.
       It is generated from Docbook-<acronym>XML</acronym>.
     </para>
-  </chapter>
+  </preface>
+  
+  <part label="I">
+    <title>Overview</title>
+    <chapter id="Overview-building">
+      <title>How to build the library</title>
+      <para></para>
+    </chapter>
+  </part>
 
-  <chapter id="main-api">
-    <title>Tests</title>
-    <xi:include href="xml/object.xml"/>
-    <xi:include href="xml/iface.xml"/>
-    <xi:include href="xml/types.xml"/>
-  </chapter>
+  <reference label="II">
+    <title>API Reference</title>
+    <chapter id="main-api">
+      <title>Tests</title>
+      <xi:include href="xml/object.xml"/>
+      <xi:include href="xml/iface.xml"/>
+      <xi:include href="xml/types.xml"/>
+    </chapter>
+  </reference>
 
-  <chapter id="object-tree">
-    <title>Object Hierarchy</title>
-     <xi:include href="xml/tree_index.sgml" />
-  </chapter>
+  <part label="III">
+    <title>Appendix</title>
 
-  <!--chapter id="indices"-->
-    <index id="api-index">
+    <chapter id="object-tree">
+      <title>Object Hierarchy</title>
+       <xi:include href="xml/tree_index.sgml" />
+    </chapter>
+  
+    <index id="api-index-full">
       <title>API Index</title>
+      <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
     </index>
-    <index id="deprecated-api-index" role="deprecated">
+    <index id="api-index-deprecated" role="deprecated">
       <title>Index of deprecated API</title>
+      <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
     </index>
     <index id="api-index-0-1" role="0.1">
       <title>Index of new API in 0.1</title>
+      <xi:include href="xml/api-index-0.1.xml"><xi:fallback /></xi:include>
     </index>
     <index id="api-index-0-5" role="0.5">
       <title>Index of new API in 0.5</title>
+      <xi:include href="xml/api-index-0.5.xml"><xi:fallback /></xi:include>
     </index>
-  <!--/chapter-->
-
-  <glossary>
-    <glossdiv id="glossary-X"><title>X</title>
-      <glossentry>
-        <glossterm><anchor id="glossterm-XML"/>XML</glossterm>
-        <glossdef>
-          <para>Extensible Markup Language</para>
-        </glossdef>
-      </glossentry>
-      <glossentry>
-        <glossterm><anchor id="glossterm-XSL"/>XSL</glossterm>
-        <glossdef>
-          <para>XML Stylesheet Language</para>
-        </glossdef>
-      </glossentry>
-    </glossdiv>
-  </glossary>
+  
+    <glossary>
+      <title>Glossary</title>
+      <glossdiv><title>A</title>
+        <glossentry>
+          <glossterm><anchor id="glossterm-API"/>API</glossterm>
+          <glossdef>
+            <para>Application Programming Interface</para>
+          </glossdef>
+        </glossentry>
+      </glossdiv>
+      <glossdiv><title>X</title>
+        <glossentry>
+          <glossterm><anchor id="glossterm-XML"/>XML</glossterm>
+          <glossdef>
+            <para>Extensible Markup Language</para>
+          </glossdef>
+        </glossentry>
+        <glossentry>
+          <glossterm><anchor id="glossterm-XSL"/>XSL</glossterm>
+          <glossdef>
+            <para>XML Stylesheet Language</para>
+          </glossdef>
+        </glossentry>
+      </glossdiv>
+    </glossary>
+  </part>
 </book>
diff --git a/tests/gobject/docs-tmpl/tester-sections.txt b/tests/gobject/docs-tmpl/tester-sections.txt
index 4bb7b57..7e96f5b 100644
--- a/tests/gobject/docs-tmpl/tester-sections.txt
+++ b/tests/gobject/docs-tmpl/tester-sections.txt
@@ -1,6 +1,5 @@
 <SECTION>
 <FILE>object</FILE>
-<TITLE>GtkdocObject</TITLE>
 GtkdocObject
 GtkdocObjectClass
 gtkdoc_object_new
@@ -20,7 +19,6 @@ GTKDOC_OBJECT_GET_CLASS
 
 <SECTION>
 <FILE>iface</FILE>
-<TITLE>GtkdocIface</TITLE>
 GtkdocIface
 GtkdocIfaceInterface
 gtkdoc_iface_configure



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]