Tuned the text a bit

This commit is contained in:
maniacbug 2011-03-31 21:47:01 -07:00
parent e97e0239d7
commit c5c4537cdc
1 changed files with 5 additions and 18 deletions

View File

@ -5,7 +5,7 @@
</xsl:template> </xsl:template>
<xsl:template match="memberdef"> <xsl:template match="memberdef">
<!-- xsl:text>&#xA;=== </xsl:text><xsl:value-of select="definition"/> <xsl:value-of select="argsstring"/><xsl:text> ===&#xA;</xsl:text --> <!-- xsl:text>&#xA;=== </xsl:text><xsl:value-of select="definition"/> <xsl:value-of select="argsstring"/><xsl:text> ===&#xA;</xsl:text -->
<xsl:text>&#xA;=== </xsl:text><xsl:value-of select="name"/><xsl:text> ===&#xA;</xsl:text> <xsl:text>&#xA;=== </xsl:text><xsl:value-of select="name"/><xsl:text> ===&#xA;&#xA;</xsl:text>
<xsl:apply-templates select="briefdescription"/> <xsl:apply-templates select="briefdescription"/>
<xsl:if test="count(detaileddescription/para[not(./*)]) &lt; 1"><xsl:text>&#xA;</xsl:text></xsl:if> <xsl:if test="count(detaileddescription/para[not(./*)]) &lt; 1"><xsl:text>&#xA;</xsl:text></xsl:if>
<xsl:apply-templates select="detaileddescription"/> <xsl:apply-templates select="detaileddescription"/>
@ -13,6 +13,7 @@
<xsl:template match="briefdescription/para">''<xsl:value-of select="."/>'' </xsl:template> <xsl:template match="briefdescription/para">''<xsl:value-of select="."/>'' </xsl:template>
<xsl:template match="detaileddescription/para/parameterlist"> <xsl:template match="detaileddescription/para/parameterlist">
Parameters: Parameters:
<xsl:apply-templates select="parameteritem"/> <xsl:apply-templates select="parameteritem"/>
</xsl:template> </xsl:template>
<xsl:template match="parameteritem">* ''<xsl:value-of select="parameternamelist/parametername"/>'': <xsl:value-of select="parameterdescription/para"/><xsl:text>&#xA;</xsl:text> <xsl:template match="parameteritem">* ''<xsl:value-of select="parameternamelist/parametername"/>'': <xsl:value-of select="parameterdescription/para"/><xsl:text>&#xA;</xsl:text>
@ -22,9 +23,11 @@ Parameters:
</xsl:template> </xsl:template>
<xsl:template match="detaileddescription/para/simplesect[@kind='return']/para"> <xsl:template match="detaileddescription/para/simplesect[@kind='return']/para">
Returns: Returns:
* <xsl:value-of select="."/><xsl:text>&#xA;</xsl:text> * <xsl:value-of select="."/><xsl:text>&#xA;</xsl:text>
</xsl:template> </xsl:template>
<xsl:template match="detaileddescription/para/simplesect[@kind='warning']/para">Warning: <xsl:value-of select="."/><xsl:text>&#xa;</xsl:text> <xsl:template match="detaileddescription/para/simplesect[@kind='warning']/para">
Warning: <xsl:value-of select="."/><xsl:text>&#xa;</xsl:text>
</xsl:template> </xsl:template>
<xsl:template match="detaileddescription/para/programlisting"> <xsl:template match="detaileddescription/para/programlisting">
@ -36,19 +39,3 @@ Returns:
<xsl:template match="text()"/> <xsl:template match="text()"/>
</xsl:stylesheet> </xsl:stylesheet>
<!--
//compounddef[kind=class]
//sectiondef[kind=public-func]
type
definition
argsstring
briefdescription/para
detaileddescription/para
parameterlist
parametername
parameterdescription
simplesect[kind=return]
simplesect[kind=warning]
-->