summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@lshift.net>2010-03-01 17:22:57 +0000
committerSimon MacMullen <simon@lshift.net>2010-03-01 17:22:57 +0000
commita3dd300f52f34b3e9300aca46b0494de5ed4dacb (patch)
tree191ecc4be618a3d262595ca780aeedad318e6f23
parent7417a7ea93900b565b0c583602f8158b2bf6d584 (diff)
downloadrabbitmq-server-a3dd300f52f34b3e9300aca46b0494de5ed4dacb.tar.gz
Make optional args visibly optional on website.
-rw-r--r--docs/html-to-website-xml.xsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl
index b6117bc7..8ad3ea63 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -63,6 +63,12 @@
</pre>
</xsl:template>
+<xsl:template match="code[@class='option']">
+ [<code class="option">
+ <xsl:apply-templates select="node()"/>
+ </code>]
+</xsl:template>
+
</xsl:stylesheet>