[PATCH 2/9] docs: xslt: Use 'Link' rather than 'Permalink' in header links

Peter Krempa pkrempa at redhat.com
Wed Nov 4 17:01:54 UTC 2020


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 at redhat.com>
---
 docs/page.xsl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/page.xsl b/docs/page.xsl
index 07bfc52a4c..9e0d4e0954 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -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">&#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>
-- 
2.26.2




More information about the libvir-list mailing list