Allow the title of top level pages to be overridden in the Atmel Studio help.

This commit is contained in:
Dean Camera 2013-04-28 11:29:23 +00:00
parent 41810f6e9e
commit c757acf1f7
1 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,7 @@
<!-- Add index chapter --> <!-- Add index chapter -->
<xsl:call-template name="generate.top.level.page"> <xsl:call-template name="generate.top.level.page">
<xsl:with-param name="top.level.page" select="compounddef[@kind = 'page' and @id = 'indexpage']"/> <xsl:with-param name="top.level.page" select="compounddef[@kind = 'page' and @id = 'indexpage']"/>
<xsl:with-param name="top.level.page.title" select="'Library Information'"/>
</xsl:call-template> </xsl:call-template>
<!-- Add free-floating chapters --> <!-- Add free-floating chapters -->
@ -87,10 +88,11 @@
<xsl:template name="generate.top.level.page"> <xsl:template name="generate.top.level.page">
<xsl:param name="top.level.page"/> <xsl:param name="top.level.page"/>
<xsl:param name="top.level.page.title" select="$top.level.page/title"/>
<chapter id="{$top.level.page/@id}"> <chapter id="{$top.level.page/@id}">
<title> <title>
<xsl:value-of select="$top.level.page/title"/> <xsl:value-of select="$top.level.page.title"/>
</title> </title>
<xsl:apply-templates select="$top.level.page/detaileddescription"/> <xsl:apply-templates select="$top.level.page/detaileddescription"/>