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
commitf9fb064458ccd9816f84dfaaf099c8c47ea62693 (patch)
tree42ae49cb06688747b7b85ce0f814dc40baf19987
parente681131c791dd8beb1514faed04d89b2bb1cf146 (diff)
downloadrabbitmq-server-bug22874.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.bug22874
-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 f2117e26..662dbea0 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>