Fix up Atmel Studio F1 lookup index terms for Pages and Groups.

pull/1469/head
Dean Camera 12 years ago
parent 2338189c8d
commit 06df6a3ea8

@ -87,6 +87,15 @@
<xsl:value-of select="@id"/> <xsl:value-of select="@id"/>
</xsl:attribute> </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> <title>
<xsl:value-of select="$page.title"/> <xsl:value-of select="$page.title"/>
</title> </title>
@ -106,32 +115,14 @@
</title> </title>
<xsl:variable name="name"> <xsl:variable name="name">
<xsl:text>LUFA.Group.</xsl:text>
<xsl:value-of select="translate(compoundname, '_', '/')"/> <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> </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:call-template name="generate.index.id">
<xsl:with-param name="name" select="$name"/> <xsl:with-param name="name" select="$name"/>
</xsl:call-template> </xsl:call-template>
<indexterm>
<primary>
<xsl:value-of select="$name"/>
</primary>
</indexterm>
<xsl:apply-templates select="detaileddescription"/> <xsl:apply-templates select="detaileddescription"/>
<xsl:apply-templates select="sectiondef"/> <xsl:apply-templates select="sectiondef"/>

Loading…
Cancel
Save