From: Dean Camera Date: Thu, 25 Apr 2013 19:46:03 +0000 (+0000) Subject: Speed up Doxygen-to-Docbook conversion, enable partial syntax highlighting in the... X-Git-Tag: LUFA-130901-BETA~127 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/5cfa1c37c685809c7bf1e9aeb10d069cb90f49bb?ds=sidebyside Speed up Doxygen-to-Docbook conversion, enable partial syntax highlighting in the MS HV1 output. --- diff --git a/LUFA/CodeTemplates/DriverStubs/Dataflash.h b/LUFA/CodeTemplates/DriverStubs/Dataflash.h index 63ebcf0d1..d466e9bb8 100644 --- a/LUFA/CodeTemplates/DriverStubs/Dataflash.h +++ b/LUFA/CodeTemplates/DriverStubs/Dataflash.h @@ -81,6 +81,7 @@ #define DATAFLASH_PAGES // TODO: Replace with the total number of pages inside one of the Dataflash ICs /* Inline Functions: */ + #if !defined(__DOXYGEN__) /** Initializes the dataflash driver so that commands and data may be sent to an attached dataflash IC. * The microcontroller's SPI driver MUST be initialized before any of the dataflash commands are used. */ @@ -205,7 +206,8 @@ * \param[in] PageAddress Page address within the selected dataflash IC * \param[in] BufferByte Address within the dataflash's buffer */ - static inline void Dataflash_SendAddressBytes(uint16_t PageAddress, const uint16_t BufferByte) + static inline void Dataflash_SendAddressBytes(uint16_t PageAddress, + const uint16_t BufferByte) { #if (DATAFLASH_TOTALCHIPS == 2) PageAddress >>= 1; @@ -215,6 +217,7 @@ Dataflash_SendByte((PageAddress << 3) | (BufferByte >> 8)); Dataflash_SendByte(BufferByte); } + #endif #endif diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt index 4247b475d..9026dd6d6 100644 --- a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt +++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt @@ -47,6 +47,7 @@ + @@ -60,11 +61,11 @@ - + - + @@ -124,16 +125,13 @@ - - - - .h + .h @@ -147,6 +145,7 @@ .h + .h @@ -194,10 +193,12 @@ Struct + Union + @@ -207,7 +208,7 @@ - + <xsl:value-of select="$name"/> @@ -249,17 +250,15 @@ </xsl:template> <xsl:template match="memberdef[@kind = 'function']"> - <xsl:variable name="name" select="name"/> - <section id="{@id}" xreflabel="{name}"> <title> <xsl:text>Function </xsl:text> - <xsl:value-of select="$name"/> + <xsl:value-of select="name"/> <xsl:text>()</xsl:text> - + @@ -348,8 +347,6 @@ - -
<xsl:text>Macro </xsl:text> @@ -357,7 +354,7 @@ - + @@ -391,21 +388,19 @@ - -
- + <xsl:text>Type </xsl:text> <xsl:value-of select="name"/> - + @@ -427,7 +422,7 @@ - + @@ -471,11 +466,13 @@ - - - Warning + + + + <xsl:value-of select="title"/> + - + @@ -485,18 +482,16 @@ - - - Precondition + + + Warning - + - + - - <xsl:value-of select="title"/> - + Precondition @@ -569,6 +564,7 @@ ? + [] @@ -655,6 +651,11 @@ + + + + + @@ -674,6 +675,7 @@
+ @@ -711,13 +713,13 @@ - + - + @@ -737,9 +739,9 @@ - + - + diff --git a/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt index ff381ea5c..ee8a38340 100644 --- a/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt +++ b/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt @@ -14,36 +14,32 @@ -