summaryrefslogtreecommitdiff
path: root/docs/html-to-website-xml.xsl
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
commit89ac334518285b50c081a4b7d36690e6b8e08ffd (patch)
tree191ecc4be618a3d262595ca780aeedad318e6f23 /docs/html-to-website-xml.xsl
parent76828d2c092fd47e5a28781692d96fa35377ff91 (diff)
downloadrabbitmq-server-git-89ac334518285b50c081a4b7d36690e6b8e08ffd.tar.gz
Make optional args visibly optional on website.
Diffstat (limited to 'docs/html-to-website-xml.xsl')
-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 b6117bc7ae..8ad3ea636c 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>