mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Add support for remarks and important blocks in Doxygen.
Convert \remark commands to <note> in BoostBook. Change \attention to <important>, and also convert \important to <important>.
This commit is contained in:
parent
cdb1643530
commit
1198d50fd9
@ -1605,12 +1605,18 @@
|
|||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="para/simplesect[@kind='note' or @kind='attention']" mode="passthrough">
|
<xsl:template match="para/simplesect[@kind='note' or @kind='remark']" mode="passthrough">
|
||||||
<note>
|
<note>
|
||||||
<xsl:apply-templates mode="passthrough"/>
|
<xsl:apply-templates mode="passthrough"/>
|
||||||
</note>
|
</note>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="para/simplesect[@kind='attention' or @kind='important']" mode="passthrough">
|
||||||
|
<important>
|
||||||
|
<xsl:apply-templates mode="passthrough"/>
|
||||||
|
</important>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="para/simplesect[@kind='warning']" mode="passthrough">
|
<xsl:template match="para/simplesect[@kind='warning']" mode="passthrough">
|
||||||
<warning>
|
<warning>
|
||||||
<xsl:apply-templates mode="passthrough"/>
|
<xsl:apply-templates mode="passthrough"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user