From 1d5b268fd98d8062f760831450b2ef022440d4c5 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 22 Apr 2013 16:35:18 +0000 Subject: Fix Atmel Studio integrated help generation and branding. --- LUFA/StudioIntegration/Blob/LUFA.dll | Bin 379904 -> 379904 bytes LUFA/StudioIntegration/HV1/transform_base.xsl | 254 +++++++++++++++++--------- LUFA/StudioIntegration/makefile | 3 +- 3 files changed, 172 insertions(+), 85 deletions(-) diff --git a/LUFA/StudioIntegration/Blob/LUFA.dll b/LUFA/StudioIntegration/Blob/LUFA.dll index b25c4b59f..457016242 100644 Binary files a/LUFA/StudioIntegration/Blob/LUFA.dll and b/LUFA/StudioIntegration/Blob/LUFA.dll differ diff --git a/LUFA/StudioIntegration/HV1/transform_base.xsl b/LUFA/StudioIntegration/HV1/transform_base.xsl index 03b7901b6..8ff34285f 100644 --- a/LUFA/StudioIntegration/HV1/transform_base.xsl +++ b/LUFA/StudioIntegration/HV1/transform_base.xsl @@ -7,7 +7,7 @@ version="1.0"> @@ -40,11 +40,11 @@ - +
Macro Definitions - +
<xsl:value-of select="header"/> @@ -106,7 +106,9 @@ <xsl:apply-templates select="detaileddescription"/> <xsl:for-each select="sectiondef[@kind = 'public-attrib']"> - <informaltable tabstyle="striped"> + <table tabstyle="striped"> + <title>Members + @@ -134,7 +136,7 @@ - +  
@@ -151,9 +153,34 @@ - - - + + + + + + ( + + + + void + + + + + + , + + + + + + + + + + + + ) @@ -168,11 +195,12 @@ - + + Members - Enum Value + Enum value Description @@ -191,7 +219,7 @@ - +
 
@@ -202,26 +230,29 @@ Macro <xsl:value-of select="name"/> - #define - - - ( - - - , - - - - ) - - + + #define + + + ( + + + , + + + + ) + + - - - \ - + + + \ + - + + + @@ -232,26 +263,37 @@
- - <!-- 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')"> - <xsl:text>Type </xsl:text> - </xsl:when> - - <xsl:otherwise> - <xsl:text>Variable </xsl:text> - </xsl:otherwise> - </xsl:choose> - - <xsl:value-of select="name"/> - - - - - + + + + Type <xsl:value-of select="name"/> + + + + typedef + + + + + + + + + + + Variable <xsl:value-of select="name"/> + + + + + + + + + + @@ -269,7 +311,7 @@ - + @@ -324,8 +366,8 @@ To Do - - tip + + tips Tip @@ -370,7 +412,7 @@ - + @@ -402,8 +444,8 @@ - Data Direction - Parameter Name + Data direction + Parameter name Description @@ -424,7 +466,7 @@ - Return Value + Return value Description @@ -549,6 +591,18 @@ + + + + + + + + + + + + @@ -558,9 +612,18 @@ - - - + + + + + + + + + + + @@ -578,7 +641,9 @@ - + +
<xsl:value-of select="caption"/> @@ -640,6 +705,11 @@ + + + keep-together="auto" + + @@ -648,10 +718,7 @@ - - - - + @@ -660,7 +727,7 @@ - + @@ -678,7 +745,9 @@ -
+ +
<xsl:value-of select="."/> @@ -686,7 +755,10 @@ - html/ + + html/ + + @@ -694,20 +766,44 @@ - + + + + + + + + + + + + + + + + + + + + + + + + - - + -
+
<xsl:value-of select="ancestor::*/title"/> @@ -715,7 +811,7 @@ - + .svg @@ -724,14 +820,4 @@
- - - - - , - - - - - diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile index 32279970f..af9563aab 100644 --- a/LUFA/StudioIntegration/makefile +++ b/LUFA/StudioIntegration/makefile @@ -44,7 +44,8 @@ VSIX_ASSETS := $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png \ MSHELP_GEN_PARAMS := --stringparam generate.toc "book toc" \ --stringparam chunk.quietly "1" \ --stringparam chunk.section.depth "3" \ - --stringparam chunk.first.sections "1" + --stringparam chunk.first.sections "1" \ + --stringparam chapter.autolabel "0" all: generate_xml check_filenames generate_vsix -- cgit v1.2.3