aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-05-18 17:26:40 +0200
committerDean Camera <dean@fourwalledcubicle.com>2013-05-18 17:26:40 +0200
commit7af4d949e2bc691297e6b4a3b437819896070557 (patch)
tree875ad3736332765670466f58e7aab066c080cfb1 /LUFA/StudioIntegration
parent06df6a3ea8315dec0cefc81ecec76297b7147782 (diff)
downloadlufa-7af4d949e2bc691297e6b4a3b437819896070557.tar.gz
lufa-7af4d949e2bc691297e6b4a3b437819896070557.tar.bz2
lufa-7af4d949e2bc691297e6b4a3b437819896070557.zip
Fix up page and group F1 lookup IDs in the Atmel Studio help. Fix struct namespacing in the help.
Diffstat (limited to 'LUFA/StudioIntegration')
-rw-r--r--LUFA/StudioIntegration/Blob/LUFA.dllbin384512 -> 384512 bytes
-rw-r--r--LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt20
2 files changed, 16 insertions, 4 deletions
diff --git a/LUFA/StudioIntegration/Blob/LUFA.dll b/LUFA/StudioIntegration/Blob/LUFA.dll
index afa394475..a5dc43692 100644
--- a/LUFA/StudioIntegration/Blob/LUFA.dll
+++ b/LUFA/StudioIntegration/Blob/LUFA.dll
Binary files differ
diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
index fc16f61ee..d543bc0ae 100644
--- a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
+++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
@@ -88,7 +88,7 @@
</xsl:attribute>
<xsl:variable name="name">
- <xsl:text>LUFA.Page.</xsl:text>
+ <xsl:text>LUFA.</xsl:text>
<xsl:value-of select="translate(compoundname, '_', '/')"/>
</xsl:variable>
@@ -115,7 +115,7 @@
</title>
<xsl:variable name="name">
- <xsl:text>LUFA.Group.</xsl:text>
+ <xsl:text>LUFA.</xsl:text>
<xsl:value-of select="translate(compoundname, '_', '/')"/>
</xsl:variable>
@@ -188,7 +188,16 @@
<xsl:if test="starts-with(argsstring, '[')">
<xsl:text>[]</xsl:text>
</xsl:if>
- <indexterm id="{$keyword.namespace}.{$name}.{name}"/>
+
+ <xsl:variable name="struct.element.name">
+ <xsl:value-of select="$name"/>
+ <xsl:text>.</xsl:text>
+ <xsl:value-of select="name"/>
+ </xsl:variable>
+
+ <xsl:call-template name="generate.index.id">
+ <xsl:with-param name="name" select="$struct.element.name"/>
+ </xsl:call-template>
</entry>
<entry>
<xsl:apply-templates select="detaileddescription"/>
@@ -283,7 +292,10 @@
<entry>
<para id="{@id}" xreflabel="{name}">
<xsl:value-of select="name"/>
- <indexterm id="{$keyword.namespace}.{name}"/>
+
+ <xsl:call-template name="generate.index.id">
+ <xsl:with-param name="name" select="name"/>
+ </xsl:call-template>
</para>
</entry>
<entry>