diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-18 16:58:40 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-18 16:58:40 +0200 |
commit | 06df6a3ea8315dec0cefc81ecec76297b7147782 (patch) | |
tree | f3d96c300c92ba1389d09e7db9f81c97dc4df2fe /LUFA/StudioIntegration/HV1 | |
parent | 2338189c8d1612446fb6a1c4e8bc8fa8ede46c55 (diff) | |
download | lufa-06df6a3ea8315dec0cefc81ecec76297b7147782.tar.gz lufa-06df6a3ea8315dec0cefc81ecec76297b7147782.tar.bz2 lufa-06df6a3ea8315dec0cefc81ecec76297b7147782.zip |
Fix up Atmel Studio F1 lookup index terms for Pages and Groups.
Diffstat (limited to 'LUFA/StudioIntegration/HV1')
-rw-r--r-- | LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt index 5885d9afe..fc16f61ee 100644 --- a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt +++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt @@ -87,6 +87,15 @@ <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> @@ -106,32 +115,14 @@ </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"/> |