Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2020 21:59:09 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: e98cc89741 - Generate links to cgit instead of svn in document title blocks.
Message-ID:  <202012222159.0BMLx9cm034726@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/doc/commit/?id=e98cc8974139ae77d1550f60dba75e3d7435915d

commit e98cc8974139ae77d1550f60dba75e3d7435915d
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2020-12-21 19:07:24 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2020-12-22 21:56:47 +0000

    Generate links to cgit instead of svn in document title blocks.
    
    PR:             251940
    Reviewed by:    emaste, gjb, ygy
    Differential Revision:  https://reviews.freebsd.org/D27704
---
 share/xml/freebsd-common.xsl       | 4 ++--
 share/xml/freebsd-xhtml-common.xsl | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/xml/freebsd-common.xsl b/share/xml/freebsd-common.xsl
index 5499c42e47..858a9eaa90 100644
--- a/share/xml/freebsd-common.xsl
+++ b/share/xml/freebsd-common.xsl
@@ -91,7 +91,7 @@
     <xsl:text>.</xsl:text>
   </xsl:template>
 
-  <xsl:template name="svnref.genlink"/>
+  <xsl:template name="gitref.genlink"/>
 
   <xsl:template name="titlepage.releaseinfo">
     <xsl:variable name="rev" select="$latestrevision.number"/>
@@ -101,7 +101,7 @@
     </xsl:call-template>
     <xsl:text>:</xsl:text>
     <xsl:call-template name="gentext.space"/>
-    <xsl:call-template name="svnref.genlink">
+    <xsl:call-template name="gitref.genlink">
       <xsl:with-param name="repo" select="'doc'"/>
       <xsl:with-param name="rev" select="$rev"/>
     </xsl:call-template>
diff --git a/share/xml/freebsd-xhtml-common.xsl b/share/xml/freebsd-xhtml-common.xsl
index abc66af2d4..d468d89166 100644
--- a/share/xml/freebsd-xhtml-common.xsl
+++ b/share/xml/freebsd-xhtml-common.xsl
@@ -289,7 +289,7 @@
     </xsl:call-template>
     <xsl:text>:</xsl:text>
     <xsl:call-template name="gentext.space"/>
-    <xsl:call-template name="svnref.genlink">
+    <xsl:call-template name="gitref.genlink">
       <xsl:with-param name="repo" select="'doc'"/>
       <xsl:with-param name="rev" select="$rev"/>
     </xsl:call-template>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012222159.0BMLx9cm034726>