diff options
Diffstat (limited to 'LUFA/StudioIntegration/HV1')
-rw-r--r-- | LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt index 24a5dfab5..71150aac0 100644 --- a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt +++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt @@ -102,6 +102,21 @@ <xsl:apply-templates select="detaileddescription"/> + <xsl:if test="not(innerpage) and count(detaileddescription//sect1)"> + <para> + <emphasis role="bold">Subsections:</emphasis> + <itemizedlist> + <xsl:for-each select="detaileddescription//sect1"> + <listitem> + <link linkend="{@id}"> + <xsl:value-of select="title"/> + </link> + </listitem> + </xsl:for-each> + </itemizedlist> + </para> + </xsl:if> + <xsl:for-each select="innerpage"> <xsl:apply-templates select="ancestor::*/compounddef[@kind = 'page' and @id = current()/@refid]"/> </xsl:for-each> |