mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00: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:
parent
501ff523e7
commit
f988d4320d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user