Restrict the Doxygen to Docbook transform to only the relevant items.
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 22 Apr 2013 14:54:49 +0000 (14:54 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 22 Apr 2013 14:54:49 +0000 (14:54 +0000)
LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl

index 9374b9b..c1b6b2d 100644 (file)
                                        <xsl:value-of select="$name"/>
                                </secondary>
                        </indexterm>
                                        <xsl:value-of select="$name"/>
                                </secondary>
                        </indexterm>
-                       <indexterm>
-                               <primary>
-                                       <xsl:value-of select="$book.title"/>
-                               </primary>
-                               <secondary>
-                                       <xsl:value-of select="$name"/>
-                               </secondary>
-                       </indexterm>
+
+                       <xsl:call-template name="generate.index.id">
+                               <xsl:with-param name="name" select="$name"/>
+                       </xsl:call-template>
+
                        <indexterm>
                                <primary>
                                        <xsl:value-of select="$name"/>
                                </primary>
                        </indexterm>
                        <indexterm>
                                <primary>
                                        <xsl:value-of select="$name"/>
                                </primary>
                        </indexterm>
-                       <xsl:apply-templates/>
+
+                       <xsl:apply-templates select="detaileddescription" />
+
+                       <xsl:apply-templates select="sectiondef" />
+
                        <xsl:for-each select="innerclass">
                                <xsl:apply-templates select="ancestor::*/compounddef[@id = current()/@refid]"/>
                        </xsl:for-each>
                        <xsl:for-each select="innerclass">
                                <xsl:apply-templates select="ancestor::*/compounddef[@id = current()/@refid]"/>
                        </xsl:for-each>
                        <title>
                                <xsl:value-of select="title"/>
                        </title>
                        <title>
                                <xsl:value-of select="title"/>
                        </title>
+
                        <xsl:apply-templates/>
                </section>
        </xsl:template>
                        <xsl:apply-templates/>
                </section>
        </xsl:template>
                </xsl:if>
        </xsl:template>
 
                </xsl:if>
        </xsl:template>
 
-       <xsl:template match="compoundname"/>
-
        <xsl:template match="title"/>
 
        <xsl:template match="title"/>
 
-       <xsl:template match="indexterm"/>
-
        <xsl:template match="indexentry">
                <xsl:variable name="prim">
                        <xsl:choose>
        <xsl:template match="indexentry">
                <xsl:variable name="prim">
                        <xsl:choose>