Hide the donation Pledgie image from the HV1 output, as Doxygen incorrectly strips...
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 17 May 2013 22:34:47 +0000 (00:34 +0200)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 17 May 2013 22:34:47 +0000 (00:34 +0200)
LUFA/DoxygenPages/Donating.txt
LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt

index cb2e0ea..4a4b6aa 100644 (file)
@@ -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>).
  *
  *  \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!
  */
 
  *  <a href="http://www.lufa-lib.org/donate">Donate to this project via PayPal</a> - Thanks in Advance!
  */
 
index 12b37ed..bdbb321 100644 (file)
@@ -67,7 +67,7 @@
 
                        <!-- Add free-floating chapters -->
                        <xsl:for-each select="compounddef[@kind = 'page' and not(@id = 'indexpage')]">
 
                        <!-- 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>
                                        <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']">
                        <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>
                                                <xsl:apply-templates select="current()"/>
                                        </xsl:if>
                                </xsl:for-each>
                        </title>
 
                        <xsl:variable name="name">
                        </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: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}">
                        </xsl:variable>
 
                        <indexterm id="{$keyword.namespace}.{$name.escaped}">
                                </primary>
                        </indexterm>
 
                                </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]"/>
 
                        <xsl:for-each select="innerclass">
                                <xsl:apply-templates select="ancestor::*/compounddef[@id = current()/@refid]"/>
 
        <xsl:template match="title"/>
 
 
        <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>
        <xsl:template match="*">
                <xsl:message>NO XSL TEMPLATE MATCH: <xsl:value-of select="name()"/></xsl:message>
        </xsl:template>