aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-05-18 00:34:47 +0200
committerDean Camera <dean@fourwalledcubicle.com>2013-05-18 00:34:47 +0200
commit9891bf7cc3cac1b8cd97d7baa7cd20b6281ec2d8 (patch)
tree832d9124002ebf224ae0ece6b203a7fae568f973
parentdb528b677860e9b6b3945fae0bfdcc4d40947d92 (diff)
downloadlufa-9891bf7cc3cac1b8cd97d7baa7cd20b6281ec2d8.tar.gz
lufa-9891bf7cc3cac1b8cd97d7baa7cd20b6281ec2d8.tar.bz2
lufa-9891bf7cc3cac1b8cd97d7baa7cd20b6281ec2d8.zip
Hide the donation Pledgie image from the HV1 output, as Doxygen incorrectly strips the image URL in the XML output.
-rw-r--r--LUFA/DoxygenPages/Donating.txt4
-rw-r--r--LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt36
2 files changed, 13 insertions, 27 deletions
diff --git a/LUFA/DoxygenPages/Donating.txt b/LUFA/DoxygenPages/Donating.txt
index cb2e0eaf9..4a4b6aa72 100644
--- a/LUFA/DoxygenPages/Donating.txt
+++ b/LUFA/DoxygenPages/Donating.txt
@@ -18,7 +18,9 @@
* \ref Page_LicenseInfo for more details (<b>Note: Please do NOT pay this in advance through the donation link below -
* contact author for payment details.</b>).
*
- * \image html "http://www.pledgie.com/campaigns/6927.png?skin_name=chrome"
+ * \htmlonly
+ * \image html "http://www.pledgie.com/campaigns/6927.png"
+ * \endhtmlonly
* <a href="http://www.lufa-lib.org/donate">Donate to this project via PayPal</a> - Thanks in Advance!
*/
diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
index 12b37eddb..bdbb32187 100644
--- a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
+++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
@@ -67,7 +67,7 @@
<!-- Add free-floating chapters -->
<xsl:for-each select="compounddef[@kind = 'page' and not(@id = 'indexpage')]">
- <xsl:if test="not(//innerpage[@refid = current()/@id])">
+ <xsl:if test="not(//innerpage/@refid = current()/@id)">
<xsl:call-template name="generate.top.level.page">
<xsl:with-param name="top.level.page" select="current()"/>
</xsl:call-template>
@@ -78,7 +78,7 @@
<chapter>
<title>Modules</title>
<xsl:for-each select="compounddef[@kind = 'group']">
- <xsl:if test="not(//innergroup[@refid = current()/@id])">
+ <xsl:if test="not(//innergroup/@refid = current()/@id)">
<xsl:apply-templates select="current()"/>
</xsl:if>
</xsl:for-each>
@@ -124,31 +124,13 @@
</title>
<xsl:variable name="name">
- <xsl:choose>
- <xsl:when test="contains(compoundname, '_')">
- <xsl:value-of select="translate(compoundname, '_', '/')"/>
- <xsl:text>.h</xsl:text>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:value-of select="compoundname"/>
- <xsl:text>.h</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:value-of select="translate(compoundname, '_', '/')"/>
+ <xsl:text>.h</xsl:text>
</xsl:variable>
<xsl:variable name="name.escaped">
- <xsl:choose>
- <xsl:when test="contains(compoundname, '_')">
- <xsl:value-of select="translate(compoundname, '_', '.')"/>
- <xsl:text>.h</xsl:text>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:value-of select="compoundname"/>
- <xsl:text>.h</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:value-of select="translate(compoundname, '_', '.')"/>
+ <xsl:text>.h</xsl:text>
</xsl:variable>
<indexterm id="{$keyword.namespace}.{$name.escaped}">
@@ -168,9 +150,9 @@
</primary>
</indexterm>
- <xsl:apply-templates select="detaileddescription" />
+ <xsl:apply-templates select="detaileddescription"/>
- <xsl:apply-templates select="sectiondef" />
+ <xsl:apply-templates select="sectiondef"/>
<xsl:for-each select="innerclass">
<xsl:apply-templates select="ancestor::*/compounddef[@id = current()/@refid]"/>
@@ -790,6 +772,8 @@
<xsl:template match="title"/>
+ <xsl:template match="htmlonly"/>
+
<xsl:template match="*">
<xsl:message>NO XSL TEMPLATE MATCH: <xsl:value-of select="name()"/></xsl:message>
</xsl:template>