diff options
| author | Simon MacMullen <simon@lshift.net> | 2010-03-16 17:59:30 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@lshift.net> | 2010-03-16 17:59:30 +0000 |
| commit | dba50911fce247d98e1e732cf780be692561e318 (patch) | |
| tree | 7e8d16150ae294da05c0f9281042c5b4cd550fc3 /docs/html-to-website-xml.xsl | |
| parent | 92237fc7429a57aef031bc87e77192519ed828e5 (diff) | |
| download | rabbitmq-server-git-dba50911fce247d98e1e732cf780be692561e318.tar.gz | |
Make rabbitmq-service page look a tiny bit less like a manpage.
Diffstat (limited to 'docs/html-to-website-xml.xsl')
| -rw-r--r-- | docs/html-to-website-xml.xsl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl index e42063a7a3..a35b869967 100644 --- a/docs/html-to-website-xml.xsl +++ b/docs/html-to-website-xml.xsl @@ -19,10 +19,12 @@ <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><xsl:value-of select="document($original)/refentry/refnamediv/refname"/>(<xsl:value-of select="document($original)/refentry/refmeta/manvolnum"/>) manual page</title> + <title><xsl:value-of select="document($original)/refentry/refnamediv/refname"/><xsl:if test="document($original)/refentry/refmeta/manvolnum">(<xsl:value-of select="document($original)/refentry/refmeta/manvolnum"/>)</xsl:if> manual page</title> </head> <body> <doc:div> + <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>. @@ -30,6 +32,14 @@ <p> <a href="manpages.html">See a list of all manual pages</a>. </p> + </xsl:when> + <xsl:otherwise> + <p> + 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 <a href="admin-guide.html">administrator's guide</a>. |
