[gtk-doc] devhelp: add glossary and index to the toc



commit e6f4e938df39521cc24a065156b8781930d22f52
Author: Stefan Kost <ensonic users sf net>
Date:   Wed Dec 23 00:37:33 2009 +0200

    devhelp: add glossary and index to the toc

 devhelp.xsl  |    2 +-
 devhelp2.xsl |    2 +-
 gtk-doc.xsl  |    2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/devhelp.xsl b/devhelp.xsl
index b959211..a889002 100644
--- a/devhelp.xsl
+++ b/devhelp.xsl
@@ -79,7 +79,7 @@
     <sub name="{$title}" link="{$target}">
       <xsl:apply-templates select="section|sect1|
                                    refentry|refsect|
-                                   bridgehead|part|chapter"
+                                   bridgehead|part|chapter|glossary|index"
                            mode="generate.devhelp.toc.mode"/>
     </sub>
   </xsl:template>
diff --git a/devhelp2.xsl b/devhelp2.xsl
index 2f9761f..930cc8a 100644
--- a/devhelp2.xsl
+++ b/devhelp2.xsl
@@ -82,7 +82,7 @@
     <sub name="{$title}" link="{$target}">
       <xsl:apply-templates select="section|sect1|
                                    refentry|refsect|
-                                   bridgehead|part|chapter"
+                                   bridgehead|part|chapter|glossary|index"
                            mode="generate.devhelp2.toc.mode"/>
     </sub>
   </xsl:template>
diff --git a/gtk-doc.xsl b/gtk-doc.xsl
index ab9a71f..0b6b320 100644
--- a/gtk-doc.xsl
+++ b/gtk-doc.xsl
@@ -14,6 +14,8 @@
   <xsl:param name="generate.toc">
     book	toc
     chapter toc
+    glossary toc
+    index toc
     part	toc
     reference toc
   </xsl:param>



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