summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDaniel Elstner <danielk@openismus.com>2009-09-02 15:29:32 +0200
committerDaniel Elstner <danielk@openismus.com>2009-09-02 15:57:03 +0200
commit322df7b5109d1fcd039908fcde972041e415b8c2 (patch)
tree2a5dc5b61efb975ef914e57a91de88b9d236eb21 /util
parentfddc449f8aff363d5dc706d40fee33b497ca9a39 (diff)
downloadmm-common-322df7b5109d1fcd039908fcde972041e415b8c2.tar.gz
Show Doxygen groups as modules in Devhelp
* util/tagfile-to-devhelp2.xsl (chapters): Add "Modules" chapter and list all compounds of kind "group" there.
Diffstat (limited to 'util')
-rw-r--r--util/tagfile-to-devhelp2.xsl15
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>