diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2015-01-05 18:44:04 +0100 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2015-01-05 18:44:04 +0100 |
commit | 6d82b2651bac715be19a4d5fbb03052a6c000549 (patch) | |
tree | 9d0fbaca4106c7baaf6ca4a8c6eae5f4b09a0548 /devhelp2.xsl | |
parent | 68140b18d84f575d30976d6fb909c32d660a06c4 (diff) | |
download | gtk-doc-6d82b2651bac715be19a4d5fbb03052a6c000549.tar.gz |
devhelp: fix missing enum values
When changing the layout with the markup parser we broke the constants.
Diffstat (limited to 'devhelp2.xsl')
-rw-r--r-- | devhelp2.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devhelp2.xsl b/devhelp2.xsl index 76a20b7..b441df7 100644 --- a/devhelp2.xsl +++ b/devhelp2.xsl @@ -57,7 +57,7 @@ <functions> <xsl:apply-templates select="$gtkdoc.refsect2" mode="generate.devhelp2.index.mode"/> - <xsl:apply-templates select="$gtkdoc.refsect2/variablelist[@role='enum']/varlistentry" + <xsl:apply-templates select="$gtkdoc.refsect2/refsect3[@role='enum_members']/informaltable/tgroup/tbody/row[@role='constant']" mode="generate.devhelp2.index.mode"/> </functions> </book> @@ -90,8 +90,8 @@ </xsl:template> <xsl:template match="*" mode="generate.devhelp2.index.mode"> - <xsl:variable name="title" select="title|term/literal"/> - <xsl:variable name="anchor" select="title/anchor"/> + <xsl:variable name="title" select="title|term/literal|entry[@role='enum_member_name']/para"/> + <xsl:variable name="anchor" select="title/anchor|entry[@role='enum_member_name']/para"/> <xsl:variable name="type" select="@role"/> <xsl:variable name="condition" select="@condition"/> <xsl:variable name="target"> |