aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration/HV1
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2015-10-25 15:50:14 +1100
committerDean Camera <dean@fourwalledcubicle.com>2015-10-25 15:50:14 +1100
commitf2af532481e70596871207b86d447487b8701a38 (patch)
tree5dbd49bbfd30767071e93ee3ee179141c1575fc3 /LUFA/StudioIntegration/HV1
parent903fa4a500278286742950fd177d1784e4d85310 (diff)
downloadlufa-f2af532481e70596871207b86d447487b8701a38.tar.gz
lufa-f2af532481e70596871207b86d447487b8701a38.tar.bz2
lufa-f2af532481e70596871207b86d447487b8701a38.zip
Fix local help content not visible in Atmel Studio 7 (thanks to Morten Olsen).
Diffstat (limited to 'LUFA/StudioIntegration/HV1')
-rw-r--r--LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt16
1 files changed, 5 insertions, 11 deletions
diff --git a/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt
index 8422fe294..959d9215b 100644
--- a/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt
+++ b/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt
@@ -13,8 +13,8 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes"/>
- <!-- Need to input the LUFA extension version for later use -->
- <xsl:param name="extension-version"/>
+ <!-- Need to input the LUFA help package filename for later use -->
+ <xsl:param name="help-package-filename"/>
<!-- Recursively match and copy/process all nodes/attributes -->
<xsl:template match="node()">
@@ -29,9 +29,7 @@
<xsl:copy>
<xsl:copy-of select="@class"/>
- <xsl:text>lufa_help_</xsl:text>
- <xsl:value-of select="$extension-version"/>
- <xsl:text>.mshc</xsl:text>
+ <xsl:value-of select="$help-package-filename"/>
</xsl:copy>
</xsl:template>
@@ -40,14 +38,10 @@
<xsl:copy-of select="@class"/>
<xsl:attribute name="href">
- <xsl:text>lufa_help_</xsl:text>
- <xsl:value-of select="$extension-version"/>
- <xsl:text>.mshc</xsl:text>
+ <xsl:value-of select="$help-package-filename"/>
</xsl:attribute>
- <xsl:text>lufa_help_</xsl:text>
- <xsl:value-of select="$extension-version"/>
- <xsl:text>.mshc</xsl:text>
+ <xsl:value-of select="$help-package-filename"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>