diff options
author | Rickard Green <[email protected]> | 2014-12-17 21:07:55 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-03-20 15:00:38 +0100 |
commit | cd917e88f5718eead826c896864cfe85cd3d301b (patch) | |
tree | e0afeb8fd3f335bccf57b98fc61003e9440c70a7 /lib/erl_docgen/priv/xsl/db_html.xsl | |
parent | 843cf9120d2845be2c3304fc8dcb4c16b49bbfca (diff) | |
download | otp-cd917e88f5718eead826c896864cfe85cd3d301b.tar.gz otp-cd917e88f5718eead826c896864cfe85cd3d301b.tar.bz2 otp-cd917e88f5718eead826c896864cfe85cd3d301b.zip |
Support for <do> and <dont> doc tags
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_html.xsl')
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_html.xsl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl index ab5f24c406..3b390f48fb 100644 --- a/lib/erl_docgen/priv/xsl/db_html.xsl +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -952,6 +952,36 @@ </div> </xsl:template> + <!-- Do --> + <xsl:template match="do"> + <xsl:param name="chapnum"/> + <div class="do"> + <div class="label">Do</div> + <div class="content"> + <p> + <xsl:apply-templates> + <xsl:with-param name="chapnum" select="$chapnum"/> + </xsl:apply-templates> + </p> + </div> + </div> + </xsl:template> + + <!-- Dont --> + <xsl:template match="dont"> + <xsl:param name="chapnum"/> + <div class="dont"> + <div class="label">Don't</div> + <div class="content"> + <p> + <xsl:apply-templates> + <xsl:with-param name="chapnum" select="$chapnum"/> + </xsl:apply-templates> + </p> + </div> + </div> + </xsl:template> + <!-- Paragraph --> <xsl:template match="p"> <p> |