summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-04-27 20:14:04 +0100
committerMatthias Radestock <matthias@lshift.net>2010-04-27 20:14:04 +0100
commit81563451f05ec2d8e9407fdbe07d997165913354 (patch)
tree2862c7ae8623cbd9920be2e0ac236305799867cd
parentc0991485aa85e0211d16cac24b07d8fa1432acbe (diff)
downloadrabbitmq-server-81563451f05ec2d8e9407fdbe07d997165913354.tar.gz
cosmetic: remove trailing whitespace from doc templates
-rw-r--r--docs/examples-to-end.xsl4
-rw-r--r--docs/html-to-website-xml.xsl10
-rw-r--r--docs/rabbitmq-activate-plugins.1.xml2
-rw-r--r--docs/rabbitmq-deactivate-plugins.1.xml2
-rw-r--r--docs/rabbitmq-multi.1.xml2
-rw-r--r--docs/rabbitmq-server.1.xml6
-rw-r--r--docs/rabbitmq-service.xml24
-rw-r--r--docs/rabbitmq.conf.5.xml2
-rw-r--r--docs/rabbitmqctl.1.xml18
-rw-r--r--docs/usage.xsl10
10 files changed, 40 insertions, 40 deletions
diff --git a/docs/examples-to-end.xsl b/docs/examples-to-end.xsl
index 496fcc1c..d9686ada 100644
--- a/docs/examples-to-end.xsl
+++ b/docs/examples-to-end.xsl
@@ -55,7 +55,7 @@ indented)
<term>
<cmdsynopsis>
- <command>list_connections</command>
+ <command>list_connections</command>
<arg choice="opt">
<replaceable>connectioninfoitem</replaceable>
...
@@ -66,7 +66,7 @@ indented)
However, while DocBook renders this sensibly for HTML, for some reason it
doen't show anything inside <cmdsynopsis> at all for man pages. I think what
we're doing is semantically correct so this is a bug in DocBook. The following
- rules essentially do what DocBook does when <cmdsynopsis> is not inside a
+ rules essentially do what DocBook does when <cmdsynopsis> is not inside a
<term>.
-->
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl
index a35b8699..f2117e26 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -26,8 +26,8 @@
<xsl:choose>
<xsl:when test="document($original)/refentry/refmeta/manvolnum">
<p>
- This is the manual page for
- <code><xsl:value-of select="document($original)/refentry/refnamediv/refname"/>(<xsl:value-of select="document($original)/refentry/refmeta/manvolnum"/>)</code>.
+ This is the manual page for
+ <code><xsl:value-of select="document($original)/refentry/refnamediv/refname"/>(<xsl:value-of select="document($original)/refentry/refmeta/manvolnum"/>)</code>.
</p>
<p>
<a href="manpages.html">See a list of all manual pages</a>.
@@ -35,13 +35,13 @@
</xsl:when>
<xsl:otherwise>
<p>
- This is the documentation for
- <code><xsl:value-of select="document($original)/refentry/refnamediv/refname"/></code>.
+ This is the documentation for
+ <code><xsl:value-of select="document($original)/refentry/refnamediv/refname"/></code>.
</p>
</xsl:otherwise>
</xsl:choose>
<p>
- For more general documentation, please see the
+ For more general documentation, please see the
<a href="admin-guide.html">administrator's guide</a>.
</p>
diff --git a/docs/rabbitmq-activate-plugins.1.xml b/docs/rabbitmq-activate-plugins.1.xml
index ef81c201..5f831634 100644
--- a/docs/rabbitmq-activate-plugins.1.xml
+++ b/docs/rabbitmq-activate-plugins.1.xml
@@ -24,7 +24,7 @@
<command>rabbitmq-activate-plugins</command>
</cmdsynopsis>
</refsynopsisdiv>
-
+
<refsect1>
<title>Description</title>
<para>
diff --git a/docs/rabbitmq-deactivate-plugins.1.xml b/docs/rabbitmq-deactivate-plugins.1.xml
index eacd014b..bbf1207e 100644
--- a/docs/rabbitmq-deactivate-plugins.1.xml
+++ b/docs/rabbitmq-deactivate-plugins.1.xml
@@ -24,7 +24,7 @@
<command>rabbitmq-deactivate-plugins</command>
</cmdsynopsis>
</refsynopsisdiv>
-
+
<refsect1>
<title>Description</title>
<para>
diff --git a/docs/rabbitmq-multi.1.xml b/docs/rabbitmq-multi.1.xml
index b3862fdf..6586890a 100644
--- a/docs/rabbitmq-multi.1.xml
+++ b/docs/rabbitmq-multi.1.xml
@@ -26,7 +26,7 @@
<arg choice="opt" rep="repeat"><replaceable>command options</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
-
+
<refsect1>
<title>Description</title>
<para>
diff --git a/docs/rabbitmq-server.1.xml b/docs/rabbitmq-server.1.xml
index 25c2aefb..921da4f1 100644
--- a/docs/rabbitmq-server.1.xml
+++ b/docs/rabbitmq-server.1.xml
@@ -25,7 +25,7 @@
<arg choice="opt">-detached</arg>
</cmdsynopsis>
</refsynopsisdiv>
-
+
<refsect1>
<title>Description</title>
<para>
@@ -72,7 +72,7 @@ be placed in this directory.
<para>
Defaults to rabbit. This can be useful if you want to run more than
one node per machine - <envar>RABBITMQ_NODENAME</envar> should be unique per
-erlang-node-and-machine combination. See the
+erlang-node-and-machine combination. See the
<ulink url="http://www.rabbitmq.com/clustering.html#single-machine">clustering on a single
machine guide</ulink> for details.
</para>
@@ -93,7 +93,7 @@ one network interface.
<term>RABBITMQ_NODE_PORT</term>
<listitem>
<para>
-Defaults to 5672.
+Defaults to 5672.
</para>
</listitem>
</varlistentry>
diff --git a/docs/rabbitmq-service.xml b/docs/rabbitmq-service.xml
index d59ed638..2b416e3e 100644
--- a/docs/rabbitmq-service.xml
+++ b/docs/rabbitmq-service.xml
@@ -24,7 +24,7 @@
<arg choice="opt">command</arg>
</cmdsynopsis>
</refsynopsisdiv>
-
+
<refsect1>
<title>Description</title>
<para>
@@ -34,14 +34,14 @@ scalable implementation of an AMQP broker.
</para>
<para>
Running <command>rabbitmq-service</command> allows the RabbitMQ broker to be run as a
-service on NT/2000/2003/XP/Vista® environments. The RabbitMQ broker
-service can be started and stopped using the Windows® services
-applet.
+service on NT/2000/2003/XP/Vista® environments. The RabbitMQ broker
+service can be started and stopped using the Windows® services
+applet.
</para>
<para>
-By default the service will run in the authentication context of the
+By default the service will run in the authentication context of the
local system account. It is therefore necessary to synchronise Erlang
-cookies between the local system account (typically
+cookies between the local system account (typically
<filename>C:\WINDOWS\.erlang.cookie</filename> and the account that will be used to
run <command>rabbitmqctl</command>.
</para>
@@ -87,7 +87,7 @@ deleted as a consequence and <command>rabbitmq-server</command> will remain oper
<listitem>
<para>
Start the service. The service must have been correctly installed
-beforehand.
+beforehand.
</para>
</listitem>
</varlistentry>
@@ -96,7 +96,7 @@ beforehand.
<term>stop</term>
<listitem>
<para>
-Stop the service. The service must be running for this command to
+Stop the service. The service must be running for this command to
have any effect.
</para>
</listitem>
@@ -154,7 +154,7 @@ This is the location of log and database directories.
<para>
Defaults to rabbit. This can be useful if you want to run more than
one node per machine - <envar>RABBITMQ_NODENAME</envar> should be unique per
-erlang-node-and-machine combination. See the
+erlang-node-and-machine combination. See the
<ulink url="http://www.rabbitmq.com/clustering.html#single-machine">clustering on a single
machine guide</ulink> for details.
</para>
@@ -175,7 +175,7 @@ one network interface.
<term>RABBITMQ_NODE_PORT</term>
<listitem>
<para>
-Defaults to 5672.
+Defaults to 5672.
</para>
</listitem>
</varlistentry>
@@ -208,11 +208,11 @@ for details.
<term>RABBITMQ_CONSOLE_LOG</term>
<listitem>
<para>
-Set this varable to <code>new</code> or <code>reuse</code> to have the console
+Set this varable to <code>new</code> or <code>reuse</code> to have the console
output from the server redirected to a file named <code>SERVICENAME</code>.debug
in the application data directory of the user that installed the service.
Under Vista this will be <filename>C:\Users\AppData\username\SERVICENAME</filename>.
-Under previous versions of Windows this will be
+Under previous versions of Windows this will be
<filename>C:\Documents and Settings\username\Application Data\SERVICENAME</filename>.
If <code>RABBITMQ_CONSOLE_LOG</code> is set to <code>new</code> then a new file will be
created each time the service starts. If <code>RABBITMQ_CONSOLE_LOG</code> is
diff --git a/docs/rabbitmq.conf.5.xml b/docs/rabbitmq.conf.5.xml
index 34f20f92..31de7164 100644
--- a/docs/rabbitmq.conf.5.xml
+++ b/docs/rabbitmq.conf.5.xml
@@ -18,7 +18,7 @@
<refname>rabbitmq.conf</refname>
<refpurpose>default settings for RabbitMQ AMQP server</refpurpose>
</refnamediv>
-
+
<refsect1>
<title>Description</title>
<para>
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index 7634b2d2..a96d1415 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.docbook.org/xml/4.5/docbookx.dtd">
-<!--
+<!--
There is some extra magic in this document besides the usual DocBook semantics
- to allow us to derive manpages, HTML and usage messages from the same source
+ to allow us to derive manpages, HTML and usage messages from the same source
document.
Examples need to be moved to the end for man pages. To this end, <para>s and
- <screen>s with role="example" will be moved, and with role="example-prefix"
+ <screen>s with role="example" will be moved, and with role="example-prefix"
will be removed.
The usage messages are more involved. We have some magic in usage.xsl to pull
out the command synopsis, global option and subcommand synopses. We also pull
out <para>s with role="usage".
- Finally we construct lists of possible values for subcommand options, if the
+ Finally we construct lists of possible values for subcommand options, if the
subcommand's <varlistentry> has role="usage-has-option-list". The option which
takes the values should be marked with role="usage-option-list".
-->
@@ -664,7 +664,7 @@
<para>
The <command>queueinfoitem</command> parameter is used to indicate which queue
information items to include in the results. The column order in the
- results will match the order of the parameters.
+ results will match the order of the parameters.
<command>queueinfoitem</command> can take any value from the list
that follows:
</para>
@@ -768,7 +768,7 @@
<para>
The <command>exchangeinfoitem</command> parameter is used to indicate which
exchange information items to include in the results. The column order in the
- results will match the order of the parameters.
+ results will match the order of the parameters.
<command>exchangeinfoitem</command> can take any value from the list
that follows:
</para>
@@ -797,7 +797,7 @@
</varlistentry>
</variablelist>
<para>
- If no <command>exchangeinfoitem</command>s are specified then
+ If no <command>exchangeinfoitem</command>s are specified then
exchange name and type are displayed.
</para>
<para role="example-prefix">
@@ -839,7 +839,7 @@
<para>
The <command>connectioninfoitem</command> parameter is used to indicate
which connection information items to include in the results. The
- column order in the results will match the order of the parameters.
+ column order in the results will match the order of the parameters.
<command>connectioninfoitem</command> can take any value from the list
that follows:
</para>
@@ -945,7 +945,7 @@
The <command>channelinfoitem</command> parameter is used to
indicate which channel information items to include in the
results. The column order in the results will match the
- order of the parameters.
+ order of the parameters.
<command>channelinfoitem</command> can take any value from the list
that follows:
</para>
diff --git a/docs/usage.xsl b/docs/usage.xsl
index 72f8880a..a6cebd93 100644
--- a/docs/usage.xsl
+++ b/docs/usage.xsl
@@ -11,7 +11,7 @@
<xsl:output method="text"
encoding="UTF-8"
indent="no"/>
-<xsl:strip-space elements="*"/>
+<xsl:strip-space elements="*"/>
<xsl:preserve-space elements="cmdsynopsis arg" />
<xsl:template match="/">
@@ -19,7 +19,7 @@
-module(<xsl:value-of select="$modulename" />).
-export([usage/0]).
usage() -> %QUOTE%Usage:
-<xsl:value-of select="refentry/refsynopsisdiv/cmdsynopsis/command"/>
+<xsl:value-of select="refentry/refsynopsisdiv/cmdsynopsis/command"/>
<xsl:text> </xsl:text>
<xsl:for-each select="refentry/refsynopsisdiv/cmdsynopsis/arg">
<xsl:apply-templates select="." />
@@ -28,7 +28,7 @@ usage() -> %QUOTE%Usage:
<xsl:text>&#10;</xsl:text>
-<!-- List options (any variable list in a section called "Options"). -->
+<!-- List options (any variable list in a section called "Options"). -->
<xsl:for-each select=".//*[title='Options']/variablelist">
<xsl:if test="position() = 1">&#10;Options:&#10;</xsl:if>
<xsl:for-each select="varlistentry">
@@ -40,13 +40,13 @@ usage() -> %QUOTE%Usage:
</xsl:for-each>
</xsl:for-each>
-<!-- Any paragraphs which have been marked as role="usage" (principally for global flags). -->
+<!-- Any paragraphs which have been marked as role="usage" (principally for global flags). -->
<xsl:text>&#10;</xsl:text>
<xsl:for-each select=".//*[title='Options']//para[@role='usage']">
<xsl:value-of select="normalize-space(.)"/><xsl:text>&#10;&#10;</xsl:text>
</xsl:for-each>
-<!-- List commands (any first-level variable list in a section called "Commands"). -->
+<!-- List commands (any first-level variable list in a section called "Commands"). -->
<xsl:for-each select=".//*[title='Commands']/variablelist | .//*[title='Commands']/refsect2/variablelist">
<xsl:if test="position() = 1">Commands:&#10;</xsl:if>
<xsl:for-each select="varlistentry">