Commit 953fbe17 authored by Davis King's avatar Davis King

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

program lists
parent b80edc88
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment