Made the docs better in how they display the "file to include" and also example

program lists
This commit is contained in:
Davis King 2012-12-08 09:17:01 -05:00
parent b80edc8839
commit 953fbe1772
1 changed files with 6 additions and 6 deletions

View File

@ -504,8 +504,11 @@ function BigToggle(node)
<BR/>
<xsl:apply-templates select="description"/>
<xsl:if test="spec_file">
<xsl:if test="file">
<BR/>
<BR/><B><font style='font-size:1.4em'><tt>#include &lt;<xsl:value-of select="file"/>&gt;</tt></font></B>
</xsl:if>
<xsl:if test="spec_file">
<xsl:choose>
<xsl:when test="spec_file/@link = 'true'">
<BR/>
@ -519,9 +522,6 @@ function BigToggle(node)
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="file">
<BR/><B>File to include: </B><xsl:value-of select="file"/>
</xsl:if>
<xsl:if test="body_file">
<BR/>
The body for the <xsl:value-of select="name"/> component can be found
@ -586,10 +586,10 @@ function BigToggle(node)
<xsl:for-each select="example">
<xsl:choose>
<xsl:when test="position() = last()">
<a href="{.}"><xsl:value-of select="position()"/></a>
<a href="{.}"><xsl:value-of select="substring-before(.,'.html')"/></a>
</xsl:when>
<xsl:otherwise>
<a href="{.}"><xsl:value-of select="position()"/></a>,
<a href="{.}"><xsl:value-of select="substring-before(.,'.html')"/></a>,
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>