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