From 130a1bd0a88eba284045e4db616c74257d36cc57 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 28 Jul 2011 22:35:53 +0000 Subject: [PATCH] Boostbook: Support doxygen warning tag. Thanks to Tim. Refs #5740. Unfortunately doxygen puts it inside a paragraph. But the generated documentation seems good enough. [SVN r73419] --- test/doxygen/autodoc.gold | 3 ++- test/doxygen/boost/example.hpp | 2 ++ xsl/doxygen/doxygen2boostbook.xsl | 10 +++++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/test/doxygen/autodoc.gold b/test/doxygen/autodoc.gold index 9c63c18..8a75766 100644 --- a/test/doxygen/autodoc.gold +++ b/test/doxygen/autodoc.gold @@ -3,7 +3,8 @@ A template parameter intThis is a non-type template parameter intThis is a template parameter with a default argument - Test some doxygen markupEmbedded docbook list: + Test some doxygen markupThis is just an example. +Embedded docbook list: 12 Special Bold Typewriter Italics emphasis parameter Arg1 first argument. diff --git a/test/doxygen/boost/example.hpp b/test/doxygen/boost/example.hpp index 32949ea..949d4a0 100644 --- a/test/doxygen/boost/example.hpp +++ b/test/doxygen/boost/example.hpp @@ -68,6 +68,8 @@ namespace example /** * Test some doxygen markup * + * \warning This is just an example. + * * Embedded docbook list: * * \xmlonly diff --git a/xsl/doxygen/doxygen2boostbook.xsl b/xsl/doxygen/doxygen2boostbook.xsl index dd78c25..7962bde 100644 --- a/xsl/doxygen/doxygen2boostbook.xsl +++ b/xsl/doxygen/doxygen2boostbook.xsl @@ -1276,7 +1276,9 @@ not (@kind='return') and not (@kind='post') and not (@kind='attention') and - not (@kind='see')"> + not (@kind='see') and + not (@kind='warning') + "> @@ -1287,6 +1289,12 @@ + + + + + +