Build: Fix incorrect build target for Ubuntu CI builds.
[pub/USBasp.git] / LUFA / StudioIntegration / HV1 / lufa_docbook_transform.xslt
index 111b75a..26c1d37 100644 (file)
@@ -4,8 +4,6 @@
 
        <xsl:output method="xml" indent="no"/>
 
-       <xsl:param name="keyword.namespace" select="'Atmel.Language.C'"/>
-
        <xsl:template name="generate.book.title">
                <xsl:text>LUFA Library</xsl:text>
        </xsl:template>
@@ -33,7 +31,7 @@
                        </xsl:call-template>
                </xsl:variable>
 
-               <indexterm id="{$keyword.namespace}.{$name}">
+               <indexterm id="{$name}">
                        <primary>
                                <xsl:value-of select="$book.title"/>
                        </primary>
                </emphasis>
        </xsl:template>
 
+       <xsl:template match="highlight[1]/text()">
+               <xsl:choose>
+                       <xsl:when test="substring(., 1, 1) = '*'">
+                               <xsl:value-of select="substring(., 2)"/>
+                       </xsl:when>
+
+                       <xsl:otherwise>
+                               <xsl:value-of select="."/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:template>
+
        <xsl:template match="sp[ancestor::codeline]">
                <xsl:text> </xsl:text>
        </xsl:template>