- Generate manpage links

This commit is contained in:
Gabor Kovesdan 2013-03-03 21:07:39 +00:00
parent 998b28cb3e
commit 01df0bc997
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/xml-tools/; revision=41078

View file

@ -16,6 +16,7 @@
<xsl:param name="html.stylesheet" select="'docbook.css'"/>
<xsl:param name="link.mailto.url" select="'doc@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>&#38;amp;sektion=</xsl:text>
<xsl:value-of select="manvolnum"/>
</xsl:template>
</xsl:stylesheet>