svn commit: r41078 - projects/xml-tools/share/xsl
Gabor Kovesdan
gabor at FreeBSD.org
Sun Mar 3 21:07:40 UTC 2013
Author: gabor
Date: Sun Mar 3 21:07:39 2013
New Revision: 41078
URL: http://svnweb.freebsd.org/changeset/doc/41078
Log:
- Generate manpage links
Modified:
projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl
Modified: projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl
==============================================================================
--- projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl Sun Mar 3 20:27:55 2013 (r41077)
+++ projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl Sun Mar 3 21:07:39 2013 (r41078)
@@ -16,6 +16,7 @@
<xsl:param name="html.stylesheet" select="'docbook.css'"/>
<xsl:param name="link.mailto.url" select="'doc at FreeBSD.org'"/>
<xsl:param name="callout.graphics.path" select="'./imagelib/callouts/'"/>
+ <xsl:param name="citerefentry.link" select="1"/>
<xsl:template name="user.footer.content">
<p align="center"><small>This, and other documents, can be downloaded
@@ -30,4 +31,11 @@
<xsl:template match="hostid|username|groupname|devicename|maketarget|makevar">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
+
+ <xsl:template name="generate.citerefentry.link">
+ <xsl:text>http://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>
+ <xsl:value-of select="refentrytitle"/>
+ <xsl:text>&sektion=</xsl:text>
+ <xsl:value-of select="manvolnum"/>
+ </xsl:template>
</xsl:stylesheet>
More information about the svn-doc-projects
mailing list