[gedit] doc: rename sgml -> xml



commit b68ab696aec70b5b2b268d02a161555e1c87e2c0
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Mar 8 15:20:15 2014 +0100

    doc: rename sgml -> xml
    
    And add the object tree, an index and GI annotations.

 docs/reference/Makefile.am                         |    6 +++---
 docs/reference/{gedit-docs.sgml => gedit-docs.xml} |   13 +++++++++++++
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index f43db65..fc14954 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -8,8 +8,8 @@ AUTOMAKE_OPTIONS = 1.6
 # The name of the module
 DOC_MODULE = gedit
 
-# The top-level SGML file.
-DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
+# The top-level XML file (SGML in the past).
+DOC_MAIN_SGML_FILE = gedit-docs.xml
 
 # The directory containing the source code. Relative to $(srcdir).
 DOC_SOURCE_DIR = ../../gedit
@@ -19,7 +19,7 @@ DOC_SOURCE_DIR = ../../gedit
 SCAN_OPTIONS = --rebuild-types
 
 # Extra options to supply to gtkdoc-mkdb.
-MKDB_OPTIONS = --sgml-mode --output-format=xml
+MKDB_OPTIONS = --xml-mode --output-format=xml
 
 # Used for dependencies. The docs will be rebuilt if any of these change.
 HFILE_GLOB = $(top_srcdir)/gedit/*.h
diff --git a/docs/reference/gedit-docs.sgml b/docs/reference/gedit-docs.xml
similarity index 75%
rename from docs/reference/gedit-docs.sgml
rename to docs/reference/gedit-docs.xml
index 4cd2f96..0f144f2 100644
--- a/docs/reference/gedit-docs.sgml
+++ b/docs/reference/gedit-docs.xml
@@ -25,4 +25,17 @@
     <xi:include href="xml/gedit-encodings.xml"/>
     <xi:include href="xml/gedit-utils.xml"/>
   </chapter>
+
+  <chapter id="object-tree">
+    <title>Object Hierarchy</title>
+     <xi:include href="xml/tree_index.sgml"/>
+  </chapter>
+
+  <index id="api-index-full">
+    <title>Index of all symbols</title>
+    <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
+  </index>
+
+  <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
+
 </book>


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