Fix up Atmel Studio F1 lookup index terms for Pages and Groups.
authorDean Camera <dean@fourwalledcubicle.com>
Sat, 18 May 2013 14:58:40 +0000 (16:58 +0200)
committerDean Camera <dean@fourwalledcubicle.com>
Sat, 18 May 2013 14:58:40 +0000 (16:58 +0200)
LUFA/StudioIntegration/Blob/LUFA.dll
LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt

index a1f5a6e..afa3944 100644 (file)
Binary files a/LUFA/StudioIntegration/Blob/LUFA.dll and b/LUFA/StudioIntegration/Blob/LUFA.dll differ
index 5885d9a..fc16f61 100644 (file)
                                <xsl:value-of select="@id"/>
                        </xsl:attribute>
 
+                       <xsl:variable name="name">
+                               <xsl:text>LUFA.Page.</xsl:text>
+                               <xsl:value-of select="translate(compoundname, '_', '/')"/>
+                       </xsl:variable>
+
+                       <xsl:call-template name="generate.index.id">
+                               <xsl:with-param name="name" select="$name"/>
+                       </xsl:call-template>
+
                        <title>
                                <xsl:value-of select="$page.title"/>
                        </title>
                        </title>
 
                        <xsl:variable name="name">
+                               <xsl:text>LUFA.Group.</xsl:text>
                                <xsl:value-of select="translate(compoundname, '_', '/')"/>
-                               <xsl:text>.h</xsl:text>
-                       </xsl:variable>
-
-                       <xsl:variable name="name.escaped">
-                               <xsl:value-of select="translate(compoundname, '_', '.')"/>
-                               <xsl:text>.h</xsl:text>
                        </xsl:variable>
 
-                       <indexterm id="{$keyword.namespace}.{$name.escaped}">
-                               <primary>Header</primary>
-                               <secondary>
-                                       <xsl:value-of select="$name"/>
-                               </secondary>
-                       </indexterm>
-
                        <xsl:call-template name="generate.index.id">
                                <xsl:with-param name="name" select="$name"/>
                        </xsl:call-template>
 
-                       <indexterm>
-                               <primary>
-                                       <xsl:value-of select="$name"/>
-                               </primary>
-                       </indexterm>
-
                        <xsl:apply-templates select="detaileddescription"/>
 
                        <xsl:apply-templates select="sectiondef"/>