From f515e8412f1d2f3e99603d552246a9c894735a79 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 22 Apr 2013 19:22:27 +0000 Subject: Update Doxygen-to-Docbook transform with the latest transform rules for functions, enums, structs, type definitions and variables. --- LUFA/StudioIntegration/Blob/LUFA.dll | Bin 379904 -> 381952 bytes LUFA/StudioIntegration/HV1/helpcontentsetup.msha | 8 ++ .../HV1/lufa_docbook_transform.xsl | 155 ++++++++++++++------- .../HV1/lufa_studio_help_styling.css | 8 ++ 4 files changed, 123 insertions(+), 48 deletions(-) (limited to 'LUFA') diff --git a/LUFA/StudioIntegration/Blob/LUFA.dll b/LUFA/StudioIntegration/Blob/LUFA.dll index a96fa98ab..2a23ed65d 100644 Binary files a/LUFA/StudioIntegration/Blob/LUFA.dll and b/LUFA/StudioIntegration/Blob/LUFA.dll differ diff --git a/LUFA/StudioIntegration/HV1/helpcontentsetup.msha b/LUFA/StudioIntegration/HV1/helpcontentsetup.msha index 8bf554338..cb1c4b9eb 100644 --- a/LUFA/StudioIntegration/HV1/helpcontentsetup.msha +++ b/LUFA/StudioIntegration/HV1/helpcontentsetup.msha @@ -1,3 +1,11 @@ + + LUFA Help diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl index c1b6b2d84..dbbc64bd3 100644 --- a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl +++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl @@ -182,8 +182,14 @@
- <xsl:value-of select="@kind"/> - <xsl:text> </xsl:text> + <xsl:choose> + <xsl:when test="@kind = 'struct'"> + <xsl:text>Struct </xsl:text> + </xsl:when> + <xsl:when test="@kind = 'union'"> + <xsl:text>Union </xsl:text> + </xsl:when> + </xsl:choose> <xsl:value-of select="$name"/> @@ -194,7 +200,7 @@ - +
<xsl:value-of select="$name"/> @@ -204,8 +210,8 @@ - Data type - Field name + Type + Name Description @@ -217,6 +223,9 @@ + + [] + @@ -252,9 +261,34 @@ - - - + + + + + + ( + + + + void + + + + + + , + + + + + + + + + + + + ) @@ -276,7 +310,8 @@ - +
+ Members @@ -299,7 +334,7 @@ - +
@@ -317,27 +352,29 @@ - #define - - - ( - - - , - - - - ) - - - + + #define + + + ( + + + , + + + + ) + + - - - \ - + + + \ + - + + + @@ -348,29 +385,51 @@
- - <!-- Doxygen gets confused and thinks function pointer type definitions - are variables, so we need to map them to this common section and - check the definition to see which of the two it is. --> - <xsl:choose> - <xsl:when test="contains(definition,'typedef')"> + <!-- Doxygen gets confused and thinks function pointer type definitions + are variables, so we need to map them to this common section and + check the definition to see which of the two it is. --> + <xsl:choose> + <xsl:when test="contains(definition,'typedef')"> + <title> <xsl:text>Type </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>Variable </xsl:text> - </xsl:otherwise> - </xsl:choose> + <xsl:value-of select="name"/> + - - + + + - - - + + + typedef + + + + + + + + - - - + + + <xsl:text>Variable </xsl:text> + <xsl:value-of select="name"/> + + + + + + + + + + + + + + +
diff --git a/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css index cfc835ef1..892c0ef93 100644 --- a/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css +++ b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css @@ -1,3 +1,11 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2013. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + .programlisting { display: block; margin-left: 15px; -- cgit v1.2.3