svn commit: r45466 - head/share/xml
Gabor Kovesdan
gabor at FreeBSD.org
Sun Aug 17 18:53:59 UTC 2014
Author: gabor
Date: Sun Aug 17 18:53:58 2014
New Revision: 45466
URL: http://svnweb.freebsd.org/changeset/doc/45466
Log:
- Render revnumber as link in PDF documents as well
PR: 191169
Submitted by: wblock
Modified:
head/share/xml/freebsd-common.xsl
head/share/xml/freebsd-xhtml-common.xsl
Modified: head/share/xml/freebsd-common.xsl
==============================================================================
--- head/share/xml/freebsd-common.xsl Sat Aug 16 21:18:28 2014 (r45465)
+++ head/share/xml/freebsd-common.xsl Sun Aug 17 18:53:58 2014 (r45466)
@@ -11,6 +11,11 @@
<!-- Global customisation -->
+ <!-- Generate link for revnumber -->
+ <xsl:template match="db:revnumber">
+ <xsl:call-template name="svnref.genlink"/>
+ </xsl:template>
+
<!-- Redefine variables, and replace templates as necessary here -->
<xsl:template match="db:buildtarget|db:command">
<xsl:call-template name="inline.monoseq"/>
Modified: head/share/xml/freebsd-xhtml-common.xsl
==============================================================================
--- head/share/xml/freebsd-xhtml-common.xsl Sat Aug 16 21:18:28 2014 (r45465)
+++ head/share/xml/freebsd-xhtml-common.xsl Sun Aug 17 18:53:58 2014 (r45466)
@@ -208,10 +208,6 @@
</a>
</xsl:template>
- <xsl:template match="db:revnumber">
- <xsl:call-template name="svnref.genlink"/>
- </xsl:template>
-
<xsl:template name="generate.citerefentry.link">
<xsl:text>http://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>
<xsl:value-of select="db:refentrytitle"/>
More information about the svn-doc-head
mailing list