summaryrefslogtreecommitdiff
path: root/lib/erl_docgen/priv/xsl/db_man.xsl
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2020-03-16 16:55:41 +0100
committerLukas Larsson <lukas@erlang.org>2020-03-27 11:02:23 +0100
commit6ba35000c831fbb87cf480afa3796bdd7d52e1cb (patch)
treea789b19c9c2c40cf28ad6b594d345c69e2010b0c /lib/erl_docgen/priv/xsl/db_man.xsl
parenta7f05a526aa76b45bbd6f74fd2e81987ab3a908e (diff)
downloaderlang-6ba35000c831fbb87cf480afa3796bdd7d52e1cb.tar.gz
otp: Move funcs description into funcs_description tag
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_man.xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_man.xsl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_man.xsl b/lib/erl_docgen/priv/xsl/db_man.xsl
index 27b2bd4066..4278a41800 100644
--- a/lib/erl_docgen/priv/xsl/db_man.xsl
+++ b/lib/erl_docgen/priv/xsl/db_man.xsl
@@ -456,11 +456,11 @@
</xsl:template>
<!-- Section/Title -->
- <xsl:template match="section/title">
+ <xsl:template match="section/title|fsdescription/title">
</xsl:template>
<!-- *ref/Section -->
- <xsl:template match="erlref/section|comref/section|cref/section|fileref/section|appref/section">
+ <xsl:template match="erlref/section|comref/section|cref/section|fileref/section|appref/section|funcs/fsdescription">
<xsl:text>&#10;.SH "</xsl:text><xsl:call-template name="replace-string">
<xsl:with-param name="text" select="translate(title, 'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')" />
<xsl:with-param name="replace" select="&quot;\&quot;" />
@@ -765,8 +765,9 @@
<!-- Funcs -->
<xsl:template match="funcs">
+ <xsl:apply-templates select="fsdescription"/>
<xsl:text>&#10;.SH EXPORTS</xsl:text>
- <xsl:apply-templates/>
+ <xsl:apply-templates select="func"/>
</xsl:template>
<!-- Func -->