diff options
Diffstat (limited to 'util')
-rw-r--r-- | 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> |