diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-21 12:19:52 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-21 12:19:52 +0100 |
| commit | d34f20f243c1392a1a852841c4505665cf8f3b9e (patch) | |
| tree | 42ae49cb06688747b7b85ce0f814dc40baf19987 /docs/html-to-website-xml.xsl | |
| parent | d4251f5c0014be4a268bef5eab98f924305f85b3 (diff) | |
| download | rabbitmq-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.
Diffstat (limited to 'docs/html-to-website-xml.xsl')
| -rw-r--r-- | docs/html-to-website-xml.xsl | 4 |
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> |
