mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-09 12:38:27 -05:00
docs: xslt: Use 'Link' rather than 'Permalink' in header links
The anchors are based on the article or chapter headers, thus they are not 100% permanent. Especially with pages generated from RST. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
+2
-2
@@ -194,10 +194,10 @@
|
||||
<xsl:element name="{name()}">
|
||||
<xsl:apply-templates mode="copy" />
|
||||
<xsl:if test="./html:a/@id">
|
||||
<a class="headerlink" href="#{html:a/@id}" title="Permalink to this headline">¶</a>
|
||||
<a class="headerlink" href="#{html:a/@id}" title="Link to this headline">¶</a>
|
||||
</xsl:if>
|
||||
<xsl:if test="parent::html:div[@class='section']">
|
||||
<a class="headerlink" href="#{../@id}" title="Permalink to this headline">¶</a>
|
||||
<a class="headerlink" href="#{../@id}" title="Link to this headline">¶</a>
|
||||
</xsl:if>
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
Reference in New Issue
Block a user