From 5cfa1c37c685809c7bf1e9aeb10d069cb90f49bb Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 25 Apr 2013 19:46:03 +0000 Subject: Speed up Doxygen-to-Docbook conversion, enable partial syntax highlighting in the MS HV1 output. --- .../HV1/lufa_docbook_transform.xslt | 72 +++++++++++----------- LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt | 16 ++--- 2 files changed, 43 insertions(+), 45 deletions(-) (limited to 'LUFA/StudioIntegration') 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 @@ - -- cgit v1.2.3