diff options
| author | Simon MacMullen <simon@lshift.net> | 2010-03-04 16:18:28 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@lshift.net> | 2010-03-04 16:18:28 +0000 |
| commit | 807136685252de3d669673d6394ddf46360d8c4c (patch) | |
| tree | 09df23a0426323db4e87574470c15b9adeebefa8 /docs/html-to-website-xml.xsl | |
| parent | 17f4674365c8840d1b811a45acec47101910dade (diff) | |
| download | rabbitmq-server-git-807136685252de3d669673d6394ddf46360d8c4c.tar.gz | |
Make web versions of all the man pages.
Diffstat (limited to 'docs/html-to-website-xml.xsl')
| -rw-r--r-- | docs/html-to-website-xml.xsl | 14 |
1 files changed, 11 insertions, 3 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> |
