mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
docs: page.xsl: Fix headerlinks with new docutils
New docutils generates a <section> element rather than a <div class='section'> as it did before thus breaking our headerlink generator. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
01455a9f05
commit
da851ed184
@ -139,6 +139,9 @@
|
||||
<xsl:if test="./html:a/@id">
|
||||
<a class="headerlink" href="#{html:a/@id}" title="Link to this headline">¶</a>
|
||||
</xsl:if>
|
||||
<xsl:if test="parent::html:section">
|
||||
<a class="headerlink" href="#{../@id}" title="Link to this headline">¶</a>
|
||||
</xsl:if>
|
||||
<xsl:if test="parent::html:div[@class='section']">
|
||||
<a class="headerlink" href="#{../@id}" title="Link to this headline">¶</a>
|
||||
</xsl:if>
|
||||
|
Loading…
Reference in New Issue
Block a user