Ticket #5740: doxygen_warnings.patch

File doxygen_warnings.patch, 1.0 KB (added by tim@…, 11 years ago)
  • tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl

     
    12761276                  not (@kind='return') and
    12771277                  not (@kind='post') and
    12781278                  not (@kind='attention') and
    1279                   not (@kind='see')">
     1279                  not (@kind='see') and
     1280                  not (@kind='warning')
     1281                  ">
    12801282      <xsl:apply-templates mode="passthrough"/>
    12811283    </xsl:if>
    12821284  </xsl:template>
     
    12871289    </note>
    12881290  </xsl:template>
    12891291
     1292  <xsl:template match="para/simplesect[@kind='warning']" mode="passthrough">
     1293    <warning>
     1294      <xsl:apply-templates mode="passthrough"/>
     1295    </warning>
     1296  </xsl:template>
     1297
    12901298  <xsl:template match="para/simplesect[@kind='par']" mode="passthrough">
    12911299    <formalpara>
    12921300      <xsl:apply-templates mode="passthrough"/>