From 1d5b268fd98d8062f760831450b2ef022440d4c5 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 22 Apr 2013 16:35:18 +0000 Subject: [PATCH] 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 b25c4b59ff7348dd2bfcccbf81c4ce0671113c48..457016242afc21c1723141a18f34bad752171dd1 100644 GIT binary patch delta 4568 zcmZ`-33OD|8UF8m_rCY$&1A?-b_ihtG>##`M0O%#!kU6q2q4r2Lx^-RX5vi1#+b}Z zY2B!ni2C4&3t&aCf~YvSVQ>MYYC~H$dm%IG; zzxPd&Twjn}U$FKDWBE^4_N*Dq?(W%k77v`)bEM2a^O&RtQjba5Mo(#uFJzJrwD)~U z#cuTrvSQt0b_Tm|U5X`GavkG2?BKdQUXxh!S2^bGUvC@m-otydF5Evd@6`+c^YL4U zbGIxQx1+Y{M8}li{a@a(?4dub{lm;p?vh8#VtF4{z4^)G71ob;Pki!{#z|v)SB3{I z$(e9&Pw%LW$D;>7P3*kw@^22E=>A}I%QxfJzVfd}k~Qb9S^n8IU%ho((d`q)T=uJ_ zBjY83oqdEqorE&fzk|BVt5#^>>Z=*9l`{OWdrCw@;pSw7|;?P z9u9}{i98Im!wb4RM525w503yX2n+0#iZihA21=-4A|Cr2`VUvAfIj*CEGXIq5S(|a zCRz!v=tw}9skEIMPnr%oj-RD$Re*9*nY~!`jm+{sAn#9YHLNQYb>8umCE^CcoOg)# zO+G#B*~-HL^=5{&;$C=lL3L^pW<01gHZ&%oKaqy-oD3^G5wR5|r;-a2%QaQ)tFkZ1WH?p^Rpy9fC;HDw zxvIuYEuv0T0V8!-s!APJrM6wM{@Sa7xeNP`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ipO z6i+^)Brl83D*+vS^=d_>$^lQp)r-+QrMup*;uktb3-IFrF9=sh%Dh{YE;Sb4__$ip z&C2KcfNL%HnI_@*1r93<)4q!?YVHS3qPJVJO$>4EZ6eo=Y!k!WkGF|xcmFog)-BjB zN)yrT;t+R7Y!~HX-aQY@o#NiMQ}ku`B;q^86WsOh5fijK=Ff8L_J}-p{BF@dv3!r% z!rV5yML&1LZqewwrS5?#RP|6@WKP5#^pdzY(f1Xxnq^hZoL3hP&73i1<{Y|j%A5%! zraU;jZsrvC*_T9}d+b#)idDNO_KTs3k$XiS<`%y$+PIJG6OSgc6XFiWRwQP=CWbTj z;_pO%);Y1^buo+K&2Gn`ABX?Ea?PzzmM>lY#I#+{lKJ9I6QY5WR$udvlLKAqCO>f8 zOf0ywCcEdE72M!jK5;#tF)1(&-wm1(%)p(EyCv?{xZ8R1ISXb4+Zp&Yg9Y3$(PMc3 zl)qBjP28b*#e1jvJK2D7(3|6XF&lwsB|+tJZL881p1yDb<&&9gRzh8K4CV{wgd6B zKs+E*#lErSlsc(+@r>jLDuJoR3k1IPzxsM+bqlcHvy4k^ax$a@X z{vg3BJ2+4d4aEDH@|lts+-(o(NNy)5ks}KeuL{NoS{_~IM~H!Li^JlT68u{+QjU=$ z@5enBe@TozENIl|!K45FL!YT{y>N8I-b-Vrow{VKa=$(-#s @@ -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 32279970fb..af9563aabb 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