Commit ecca17f6 authored by Kay Sievers's avatar Kay Sievers

man: html - cross-ref man page references and add Index link

parent e4d96409
......@@ -3420,7 +3420,7 @@ man/%.7: man/%.xml
man/%.8: man/%.xml
man/%.html: man/%.xml
man/%.html: man/%.xml man/custom-html.xsl
......@@ -23,6 +23,27 @@
<xsl:import href=""/>
<!-- translate man page references to links to html pages -->
<xsl:template match="citerefentry">
<xsl:attribute name="href">
<xsl:value-of select="refentrytitle"/><xsl:text>.html</xsl:text>
<xsl:call-template name="inline.charseq"/>
<!-- add Index link at top of page -->
<xsl:template name="user.header.content">
<xsl:attribute name="href">
<xsl:text>Index </xsl:text>
<!-- Switch things to UTF-8, ISO-8859-1 is soo yesteryear -->
<xsl:output method="html" encoding="UTF-8" indent="no"/>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment