summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-09-21 12:21:27 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2011-09-21 12:21:27 +0100
commit5ee1a204a9629bca99a71269df8a28d38816900f (patch)
tree199535cddc26355e5b600034196a6d38e2608a27 /docs
parentc00c20b3ff1dbec5442973976786773f56b5a420 (diff)
parente9dc1ba83c3a05e015deab341e6cb6608e3a7e37 (diff)
downloadrabbitmq-server-git-5ee1a204a9629bca99a71269df8a28d38816900f.tar.gz
merge default into bug24332
Diffstat (limited to 'docs')
-rw-r--r--docs/examples-to-end.xsl7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/examples-to-end.xsl b/docs/examples-to-end.xsl
index a0a741785f..4db1d5c479 100644
--- a/docs/examples-to-end.xsl
+++ b/docs/examples-to-end.xsl
@@ -2,7 +2,10 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
-<xsl:output doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" doctype-system="http://www.docbook.org/xml/4.5/docbookx.dtd" />
+<xsl:output doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
+ doctype-system="http://www.docbook.org/xml/4.5/docbookx.dtd"
+ indent="yes"
+/>
<!-- Don't copy examples through in place -->
<xsl:template match="*[@role='example-prefix']"/>
@@ -27,7 +30,7 @@
<varlistentry>
<term><command><xsl:copy-of select="text()"/></command></term>
<listitem>
- <xsl:copy-of select="following-sibling::para[@role='example']"/>
+ <xsl:copy-of select="following-sibling::para[@role='example' and preceding-sibling::screen[1] = current()]"/>
</listitem>
</varlistentry>
</xsl:for-each>