diff options
Diffstat (limited to 'man/custom-html.xsl')
-rw-r--r-- | man/custom-html.xsl | 13 |
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> |