diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-08-16 22:21:41 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-08-16 22:21:41 +0200 |
commit | 25b0f55d99b11ff71a59b6c493c3998fccf8ffe4 (patch) | |
tree | b2c609b67dee6363a0a7406d768d0483e1735157 /LUFA/StudioIntegration/XDK | |
parent | ff8e86ba73d0f19fefc0590102fd151f8b8c37c6 (diff) | |
download | lufa-25b0f55d99b11ff71a59b6c493c3998fccf8ffe4.tar.gz lufa-25b0f55d99b11ff71a59b6c493c3998fccf8ffe4.tar.bz2 lufa-25b0f55d99b11ff71a59b6c493c3998fccf8ffe4.zip |
Move out class driver modules into seperate AS6 integration modules, add ability to disable host/device/both modes for faster compilation.
Diffstat (limited to 'LUFA/StudioIntegration/XDK')
-rw-r--r-- | LUFA/StudioIntegration/XDK/lufa_module_transform.xslt | 28 |
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> |