chiark / gitweb /
man: link to freebsd.org for inetd(8)
[elogind.git] / man / custom-html.xsl
index 2cb7b76ae2cf08b6ad84ba6a1560d2d37c9430f9..9827a589b8b110e1f00f5784238dc8af9fa289f0 100644 (file)
   </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>