summaryrefslogtreecommitdiff
path: root/devhelp2.xsl
diff options
context:
space:
mode:
authorStefan Kost <stefkost@src.gnome.org>2008-10-13 16:20:41 +0000
committerStefan Kost <stefkost@src.gnome.org>2008-10-13 16:20:41 +0000
commit36786fdc44211e19080219bfcaf8830393012928 (patch)
treeec3cc93c3613fdf61bd4cb081041d9eb1ac14635 /devhelp2.xsl
parent1ad239821bf293b27dde5a16773bb7e5d0d2a743 (diff)
downloadgtk-doc-36786fdc44211e19080219bfcaf8830393012928.tar.gz
planning. Document workflow Add support for enums/flags in devhelp index.
* TODO: planning. * doc/gtkdoc.dot: Document workflow * devhelp2.xsl: Add support for enums/flags in devhelp index. * gtkdoc-mkdb.in: Support annotations. Fix missing roles. * tests/annotations/docs/tester-docs.xml: * tests/annotations/src/tester.c: * tests/annotations/src/tester.h: * tests/bugs/docs/tester-sections.txt: * tests/gobject/docs/tester-docs.xml: Update new syntax. svn path=/trunk/; revision=607
Diffstat (limited to 'devhelp2.xsl')
-rw-r--r--devhelp2.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/devhelp2.xsl b/devhelp2.xsl
index b06df81..b3bd017 100644
--- a/devhelp2.xsl
+++ b/devhelp2.xsl
@@ -55,6 +55,8 @@
<functions>
<xsl:apply-templates select="//refsect2"
mode="generate.devhelp2.index.mode"/>
+ <xsl:apply-templates select="//refsect2/variablelist[@role='enum']/varlistentry"
+ mode="generate.devhelp2.index.mode"/>
</functions>
</book>
</xsl:template>
@@ -86,7 +88,7 @@
</xsl:template>
<xsl:template match="*" mode="generate.devhelp2.index.mode">
- <xsl:variable name="title" select="title"/>
+ <xsl:variable name="title" select="title|term/literal"/>
<xsl:variable name="anchor" select="title/anchor"/>
<xsl:variable name="type" select="@role"/>
<xsl:variable name="condition" select="@condition"/>