]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: xslt: Use 'Link' rather than 'Permalink' in header links
authorPeter Krempa <pkrempa@redhat.com>
Tue, 3 Nov 2020 13:28:21 +0000 (14:28 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Nov 2020 13:04:03 +0000 (14:04 +0100)
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>
docs/page.xsl

index 07bfc52a4cedca80e0dc56d6a4a70746c66b3df1..9e0d4e0954d863750691579ba3573de72a06f7ae 100644 (file)
     <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">&#xb6;</a>
+        <a class="headerlink" href="#{html:a/@id}" title="Link to this headline">&#xb6;</a>
       </xsl:if>
       <xsl:if test="parent::html:div[@class='section']">
-        <a class="headerlink" href="#{../@id}" title="Permalink to this headline">&#xb6;</a>
+        <a class="headerlink" href="#{../@id}" title="Link to this headline">&#xb6;</a>
       </xsl:if>
     </xsl:element>
   </xsl:template>