mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
man: add permalinks to subsection titles too
This commit is contained in:
parent
cdf173349c
commit
fa13e4a784
|
@ -48,7 +48,6 @@
|
|||
<xsl:text>Permalink to this headline</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="href">
|
||||
<!-- <xsl:call-template name="href.target.uri" /> -->
|
||||
<xsl:text>#</xsl:text>
|
||||
<xsl:call-template name="inline.charseq"/>
|
||||
</xsl:attribute>
|
||||
|
@ -57,6 +56,28 @@
|
|||
</h2>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="refsect2/title|refsect2/info/title">
|
||||
<h3>
|
||||
<xsl:attribute name="id">
|
||||
<xsl:call-template name="inline.charseq"/>
|
||||
</xsl:attribute>
|
||||
<xsl:apply-templates/>
|
||||
<a>
|
||||
<xsl:attribute name="class">
|
||||
<xsl:text>headerlink</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:text>Permalink to this headline</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>#</xsl:text>
|
||||
<xsl:call-template name="inline.charseq"/>
|
||||
</xsl:attribute>
|
||||
<xsl:text>¶</xsl:text>
|
||||
</a>
|
||||
</h3>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="varlistentry">
|
||||
<dt>
|
||||
<xsl:attribute name="id">
|
||||
|
|
Loading…
Reference in a new issue