summaryrefslogtreecommitdiff
path: root/docs/html-to-website-xml.xsl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@lshift.net>2010-03-04 17:48:06 +0000
committerSimon MacMullen <simon@lshift.net>2010-03-04 17:48:06 +0000
commit0f391d502030f4cad2a3d07b737a01eeb1e66fda (patch)
tree9b2e1e25256212de711d57eb6c420c9ecd30fb82 /docs/html-to-website-xml.xsl
parent807136685252de3d669673d6394ddf46360d8c4c (diff)
downloadrabbitmq-server-git-0f391d502030f4cad2a3d07b737a01eeb1e66fda.tar.gz
Add IDs for individual commands.
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 7b20d060b4..e42063a7a3 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -71,5 +71,11 @@
</pre>
</xsl:template>
+<xsl:template match="div[@class='cmdsynopsis']">
+ <div class="cmdsynopsis" id="{p/code[@class='command']}">
+ <xsl:apply-templates select="node()"/>
+ </div>
+</xsl:template>
+
</xsl:stylesheet>