aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/StudioIntegration/XDK/lufa_module_transform.xslt')
-rw-r--r--LUFA/StudioIntegration/XDK/lufa_module_transform.xslt28
1 files changed, 17 insertions, 11 deletions
diff --git a/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt b/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt
index 9146202a4..ee9a050c1 100644
--- a/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt
+++ b/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt
@@ -44,17 +44,23 @@
nodes instead and add descriptions, so that they show up as links in
Studio correctly -->
<xsl:template match="build[@type='doxygen-entry-point']">
- <build type="online-help" subtype="module-help-page-append">
- <xsl:attribute name="value">
- <!-- Extract filename of the HTML file that contains the documentation for this module from the Doxgen tag file -->
- <xsl:value-of select="document($lufa-doxygen-tagfile)/tagfile/compound[name=current()/@value]/filename"/>
- </xsl:attribute>
- </build>
-
- <info type="description" value="summary">
- <!-- Extract brief description of the module from the Doxygen combined XML documentation file -->
- <xsl:value-of select="document($lufa-doxygen-docfile)/doxygen/compounddef[compoundname=current()/@value]/briefdescription/para"/>
- </info>
+ <!-- select-by-config entries should not have a help link -->
+ <xsl:if test="not(parent::select-by-config)">
+ <build type="online-help" subtype="module-help-page-append">
+ <xsl:attribute name="value">
+ <!-- Extract filename of the HTML file that contains the documentation for this module from the Doxgen tag file -->
+ <xsl:value-of select="document($lufa-doxygen-tagfile)/tagfile/compound[name=current()/@value]/filename"/>
+ </xsl:attribute>
+ </build>
+ </xsl:if>
+
+ <!-- Modules inside a select-by-config entries should not have a help link -->
+ <xsl:if test="not(parent::module and ../parent::select-by-config)">
+ <info type="description" value="summary">
+ <!-- Extract brief description of the module from the Doxygen combined XML documentation file -->
+ <xsl:value-of select="document($lufa-doxygen-docfile)/doxygen/compounddef[compoundname=current()/@value]/briefdescription/para"/>
+ </info>
+ </xsl:if>
</xsl:template>
</xsl:stylesheet>