Skip to content
Browse files

Tuned the text a bit

  • Loading branch information...
1 parent e97e023 commit c5c4537cdc94a2d50b4fec5bd61aa15b738da04e @maniacbug committed Mar 31, 2011
Showing with 5 additions and 18 deletions.
  1. +5 −18 wikidoc.xslt
View
23 wikidoc.xslt
@@ -5,14 +5,15 @@
</xsl:template>
<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="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:if test="count(detaileddescription/para[not(./*)]) &lt; 1"><xsl:text>&#xA;</xsl:text></xsl:if>
<xsl:apply-templates select="detaileddescription"/>
</xsl:template>
<xsl:template match="briefdescription/para">''<xsl:value-of select="."/>'' </xsl:template>
<xsl:template match="detaileddescription/para/parameterlist">
Parameters:
+
<xsl:apply-templates select="parameteritem"/>
</xsl:template>
<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 match="detaileddescription/para/simplesect[@kind='return']/para">
Returns:
+
* <xsl:value-of select="."/><xsl:text>&#xA;</xsl:text>
</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 match="detaileddescription/para/programlisting">
@@ -36,19 +39,3 @@ Returns:
<xsl:template match="text()"/>
</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]
-
--->

0 comments on commit c5c4537

Please sign in to comment.
Something went wrong with that request. Please try again.