[mm-common] Show Doxygen groups as modules in Devhelp
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mm-common] Show Doxygen groups as modules in Devhelp
- Date: Wed, 2 Sep 2009 14:27:10 +0000 (UTC)
commit 322df7b5109d1fcd039908fcde972041e415b8c2
Author: Daniel Elstner <danielk openismus com>
Date: Wed Sep 2 15:29:32 2009 +0200
Show Doxygen groups as modules in Devhelp
* util/tagfile-to-devhelp2.xsl (chapters): Add "Modules" chapter and
list all compounds of kind "group" there.
util/tagfile-to-devhelp2.xsl | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/util/tagfile-to-devhelp2.xsl b/util/tagfile-to-devhelp2.xsl
index 267f049..f9cf129 100644
--- a/util/tagfile-to-devhelp2.xsl
+++ b/util/tagfile-to-devhelp2.xsl
@@ -29,9 +29,9 @@
<book title="{$book_title}" name="{$book_name}" base="{$book_base}"
link="index.html" version="2" language="c++">
<chapters>
- <sub name="Classes" link="classes.html">
- <xsl:apply-templates select="tagfile/compound[ kind='class' or @kind='struct']" mode="sub">
- <xsl:sort lang="en" case-order="upper-first" select="name"/>
+ <sub name="Modules" link="modules.html">
+ <xsl:apply-templates select="tagfile/compound[ kind='group']" mode="module">
+ <xsl:sort lang="en" select="title"/>
</xsl:apply-templates>
</sub>
<sub name="Namespaces" link="namespaces.html">
@@ -39,6 +39,11 @@
<xsl:sort lang="en" case-order="upper-first" select="name"/>
</xsl:apply-templates>
</sub>
+ <sub name="Classes" link="classes.html">
+ <xsl:apply-templates select="tagfile/compound[ kind='class' or @kind='struct']" mode="sub">
+ <xsl:sort lang="en" case-order="upper-first" select="name"/>
+ </xsl:apply-templates>
+ </sub>
</chapters>
<functions>
<xsl:apply-templates select="tagfile/compound[ kind='namespace' or @kind='class' or @kind='struct']" mode="compound">
@@ -48,6 +53,10 @@
</book>
</xsl:template>
+ <xsl:template match="compound" mode="module">
+ <sub name="{title}" link="{filename}"/>
+ </xsl:template>
+
<xsl:template match="compound" mode="sub">
<sub name="{name}" link="{filename}"/>
</xsl:template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]