[gtk-doc] devhelp: narrow the selector to avoid type-less keyword entries
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] devhelp: narrow the selector to avoid type-less keyword entries
- Date: Sun, 17 May 2015 08:14:55 +0000 (UTC)
commit ef8a00d6e119303f1ba23dec8fe3457b01ca473d
Author: Stefan Sauer <ensonic users sf net>
Date: Sun May 17 10:12:38 2015 +0200
devhelp: narrow the selector to avoid type-less keyword entries
We created bogus keyword entries for refsect2 entries that came from manual
content.
devhelp2.xsd | 1 -
devhelp2.xsl | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/devhelp2.xsd b/devhelp2.xsd
index 96ae16e..f436087 100644
--- a/devhelp2.xsd
+++ b/devhelp2.xsd
@@ -29,7 +29,6 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd
<xsd:enumeration value="typedef"/>
<xsd:enumeration value="union"/>
<xsd:enumeration value="variable"/>
- <xsd:enumeration value=""/>
</xsd:restriction>
</xsd:simpleType>
diff --git a/devhelp2.xsl b/devhelp2.xsl
index 0006a6a..7854894 100644
--- a/devhelp2.xsl
+++ b/devhelp2.xsl
@@ -56,7 +56,7 @@
</chapters>
</xsl:if>
<functions>
- <xsl:apply-templates select="$gtkdoc.refsect2"
+ <xsl:apply-templates select="$gtkdoc refsect2[ role]"
mode="generate.devhelp2.index.mode"/>
<xsl:apply-templates select="$gtkdoc.refsect2/refsect3[
role='enum_members']/informaltable/tgroup/tbody/row[ role='constant']"
mode="generate.devhelp2.index.mode"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]