aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-12-21 19:07:24 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-12-22 21:56:47 +0000
commite98cc8974139ae77d1550f60dba75e3d7435915d (patch)
treec6439de2a96553032e76fd7df3b972a211761f30 /share
parent86bba6a538e51a18204651cf9a9a72fceec839d4 (diff)
downloaddoc-e98cc8974139ae77d1550f60dba75e3d7435915d.tar.gz
doc-e98cc8974139ae77d1550f60dba75e3d7435915d.zip
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
Diffstat (limited to 'share')
-rw-r--r--share/xml/freebsd-common.xsl4
-rw-r--r--share/xml/freebsd-xhtml-common.xsl2
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>