summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-06-21 12:19:52 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-06-21 12:19:52 +0100
commitd34f20f243c1392a1a852841c4505665cf8f3b9e (patch)
tree42ae49cb06688747b7b85ce0f814dc40baf19987
parentd4251f5c0014be4a268bef5eab98f924305f85b3 (diff)
downloadrabbitmq-server-git-d34f20f243c1392a1a852841c4505665cf8f3b9e.tar.gz
This may be more robust in the face of docbook weirdness. At least it forces the anchors to be exactly what's visible on screen.
-rw-r--r--docs/html-to-website-xml.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl
index f2117e2679..662dbea00a 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -58,13 +58,13 @@
<!-- Specific instructions to revert the DocBook HTML to be more like our ad-hoc XML schema -->
<xsl:template match="div[@class='refsect1'] | div[@class='refnamediv'] | div[@class='refsynopsisdiv']">
- <doc:section name="{@title}">
+ <doc:section name="{h2}">
<xsl:apply-templates select="node()"/>
</doc:section>
</xsl:template>
<xsl:template match="div[@class='refsect2']">
- <doc:subsection name="{@title}">
+ <doc:subsection name="{h3}">
<xsl:apply-templates select="node()"/>
</doc:subsection>
</xsl:template>