summaryrefslogtreecommitdiff
path: root/man/custom-html.xsl
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-13 21:23:24 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-13 23:42:18 -0400
commitb5c7d097ec7d16facaaeb0da5ba2abb2b1fc230b (patch)
treea24c4aa34c1f7ef1688f33fb3a7f10a0db660a29 /man/custom-html.xsl
parent3ba3a79df4ae094d1008c04a9af8d1ff970124c4 (diff)
man: link to freebsd.org for inetd(8)
Diffstat (limited to 'man/custom-html.xsl')
-rw-r--r--man/custom-html.xsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/custom-html.xsl b/man/custom-html.xsl
index 2cb7b76ae2..9827a589b8 100644
--- a/man/custom-html.xsl
+++ b/man/custom-html.xsl
@@ -87,6 +87,19 @@
</a>
</xsl:template>
+<xsl:template match="citerefentry[@project='freebsd']">
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>https://www.freebsd.org/cgi/man.cgi?</xsl:text>
+ <xsl:value-of select="refentrytitle"/>
+ <xsl:text>(</xsl:text>
+ <xsl:value-of select="manvolnum"/>
+ <xsl:text>)</xsl:text>
+ </xsl:attribute>
+ <xsl:call-template name="inline.charseq"/>
+ </a>
+</xsl:template>
+
<xsl:template match="refsect1/title|refsect1/info/title">
<!-- the ID is output in the block.object call for refsect1 -->
<h2>