Tuned the text a bit
This commit is contained in:
parent
e97e0239d7
commit
c5c4537cdc
23
wikidoc.xslt
23
wikidoc.xslt
|
@ -5,7 +5,7 @@
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
<xsl:template match="memberdef">
|
<xsl:template match="memberdef">
|
||||||
<!-- xsl:text>
=== </xsl:text><xsl:value-of select="definition"/> <xsl:value-of select="argsstring"/><xsl:text> ===
</xsl:text -->
|
<!-- xsl:text>
=== </xsl:text><xsl:value-of select="definition"/> <xsl:value-of select="argsstring"/><xsl:text> ===
</xsl:text -->
|
||||||
<xsl:text>
=== </xsl:text><xsl:value-of select="name"/><xsl:text> ===
</xsl:text>
|
<xsl:text>
=== </xsl:text><xsl:value-of select="name"/><xsl:text> ===

</xsl:text>
|
||||||
<xsl:apply-templates select="briefdescription"/>
|
<xsl:apply-templates select="briefdescription"/>
|
||||||
<xsl:if test="count(detaileddescription/para[not(./*)]) < 1"><xsl:text>
</xsl:text></xsl:if>
|
<xsl:if test="count(detaileddescription/para[not(./*)]) < 1"><xsl:text>
</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>
</xsl:text>
|
<xsl:template match="parameteritem">* ''<xsl:value-of select="parameternamelist/parametername"/>'': <xsl:value-of select="parameterdescription/para"/><xsl:text>
</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>
</xsl:text>
|
* <xsl:value-of select="."/><xsl:text>
</xsl:text>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
<xsl:template match="detaileddescription/para/simplesect[@kind='warning']/para">Warning: <xsl:value-of select="."/><xsl:text>
</xsl:text>
|
<xsl:template match="detaileddescription/para/simplesect[@kind='warning']/para">
|
||||||
|
Warning: <xsl:value-of select="."/><xsl:text>
</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]
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
Loading…
Reference in New Issue