git: e98cc89741 - Generate links to cgit instead of svn in document title blocks.
John Baldwin
jhb at FreeBSD.org
Tue Dec 22 21:59:10 UTC 2020
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/doc/commit/?id=e98cc8974139ae77d1550f60dba75e3d7435915d
commit e98cc8974139ae77d1550f60dba75e3d7435915d
Author: John Baldwin <jhb at FreeBSD.org>
AuthorDate: 2020-12-21 19:07:24 +0000
Commit: John Baldwin <jhb at 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>
More information about the dev-commits-doc-all
mailing list