summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon MacMullen <simon@lshift.net>2010-03-04 16:18:28 +0000
committerSimon MacMullen <simon@lshift.net>2010-03-04 16:18:28 +0000
commit807136685252de3d669673d6394ddf46360d8c4c (patch)
tree09df23a0426323db4e87574470c15b9adeebefa8 /docs
parent17f4674365c8840d1b811a45acec47101910dade (diff)
downloadrabbitmq-server-git-807136685252de3d669673d6394ddf46360d8c4c.tar.gz
Make web versions of all the man pages.
Diffstat (limited to 'docs')
-rw-r--r--docs/html-to-website-xml.xsl14
-rw-r--r--docs/rabbitmq-multi.1.xml8
-rw-r--r--docs/rabbitmq.conf.5.xml2
3 files changed, 16 insertions, 8 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl
index 888260a33a..7b20d060b4 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -3,6 +3,8 @@
xmlns:doc="http://www.rabbitmq.com/namespaces/ad-hoc/doc"
version='1.0'>
+<xsl:param name="original"/>
+
<xsl:output method="xml" doctype-public="bug in xslt processor requires fake doctype" doctype-system="otherwise css isn't included" />
<xsl:template match="*"/>
@@ -17,13 +19,19 @@
<xsl:processing-instruction name="xml-stylesheet">type="text/xml" href="page.xsl"</xsl:processing-instruction>
<html xmlns:doc="http://www.rabbitmq.com/namespaces/ad-hoc/doc">
<head>
- <title>rabbitmqctl(1) manual page</title>
+ <title><xsl:value-of select="document($original)/refentry/refnamediv/refname"/>(<xsl:value-of select="document($original)/refentry/refmeta/manvolnum"/>) manual page</title>
</head>
<body>
<doc:div>
<p>
- This is the manual page for the <code>rabbitmqctl</code> command. For
- more general documentation, please see the
+ 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>.
+ </p>
+ <p>
+ For more general documentation, please see the
<a href="admin-guide.html">administrator's guide</a>.
</p>
diff --git a/docs/rabbitmq-multi.1.xml b/docs/rabbitmq-multi.1.xml
index 953fd7a55d..b3862fdf87 100644
--- a/docs/rabbitmq-multi.1.xml
+++ b/docs/rabbitmq-multi.1.xml
@@ -44,7 +44,7 @@ machine.
<title>Commands</title>
<variablelist>
<varlistentry>
- <term>start_all <replaceable>count</replaceable></term>
+ <term><cmdsynopsis><command>start_all</command> <arg choice="req"><replaceable>count</replaceable></arg></cmdsynopsis></term>
<listitem>
<para>
Start count nodes with unique names, listening on all IP addresses and
@@ -59,7 +59,7 @@ on sequential ports starting from 5672.
</varlistentry>
<varlistentry>
- <term>status</term>
+ <term><cmdsynopsis><command>status</command></cmdsynopsis></term>
<listitem>
<para>
Print the status of all running RabbitMQ nodes.
@@ -68,7 +68,7 @@ Print the status of all running RabbitMQ nodes.
</varlistentry>
<varlistentry>
- <term>stop_all</term>
+ <term><cmdsynopsis><command>stop_all</command></cmdsynopsis></term>
<listitem>
<para>
Stop all local RabbitMQ nodes,
@@ -77,7 +77,7 @@ Stop all local RabbitMQ nodes,
</varlistentry>
<varlistentry>
- <term>rotate_logs</term>
+ <term><cmdsynopsis><command>rotate_logs</command></cmdsynopsis></term>
<listitem>
<para>
Rotate log files for all local and running RabbitMQ nodes.
diff --git a/docs/rabbitmq.conf.5.xml b/docs/rabbitmq.conf.5.xml
index 6015347c2d..dcb1e49c68 100644
--- a/docs/rabbitmq.conf.5.xml
+++ b/docs/rabbitmq.conf.5.xml
@@ -68,7 +68,7 @@ environment variable names, with the <envar>RABBITMQ_</envar> prefix removed:
<para role="example">
This is an example of a complete
<filename>/etc/rabbitmq/rabbitmq.conf</filename> file that overrides the default Erlang
- node name from "rabbit" to "hare":
+ node name from "rabbit" to "hare".
</para>
</refsect1>