From b42efe92e42e65696f31763be41349fd81807b05 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Tue, 31 Mar 2015 16:13:31 -0600 Subject: [PATCH 1/3] Handle generated by doxygen. --- xsl/doxygen/doxygen2boostbook.xsl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xsl/doxygen/doxygen2boostbook.xsl b/xsl/doxygen/doxygen2boostbook.xsl index d3a21cf..b8065ac 100644 --- a/xsl/doxygen/doxygen2boostbook.xsl +++ b/xsl/doxygen/doxygen2boostbook.xsl @@ -1521,6 +1521,10 @@ + + + + From 30911053b5fd4fb0546e27e7dd3ac062069b7ec3 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 10 Jan 2016 14:46:14 +0000 Subject: [PATCH 2/3] Convert the complicated doxygen preformatted tags. Reported here: http://lists.boost.org/boost-docs/2016/01/5335.php Can currently see the error here: http://www.boost.org/doc/libs/1_60_0/doc/html/boost/container/small_vector_base.html --- xsl/doxygen/doxygen2boostbook.xsl | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/xsl/doxygen/doxygen2boostbook.xsl b/xsl/doxygen/doxygen2boostbook.xsl index b8065ac..577484b 100644 --- a/xsl/doxygen/doxygen2boostbook.xsl +++ b/xsl/doxygen/doxygen2boostbook.xsl @@ -1710,6 +1710,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From f1aef5c98ea7ffa1d215980f091c16290b1128b2 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 13 Jan 2016 19:33:09 +0000 Subject: [PATCH 3/3] Fix the
 block workaround in doxygen2boostbook.xsl

It turns out the '\code' blocks don't have this problem, so an easier
fix would be just to use them. But now I've implemented the workaround,
might as well leave it in, in case anyone wants to use 
 blocks in
the future.
---
 test/doxygen/autodoc.gold         | 18 ++++++++++++++++--
 test/doxygen/boost/example.hpp    | 28 ++++++++++++++++++++++++++++
 xsl/doxygen/doxygen2boostbook.xsl |  6 +++---
 3 files changed, 47 insertions(+), 5 deletions(-)

diff --git a/test/doxygen/autodoc.gold b/test/doxygen/autodoc.gold
index 95c8181..58434b1 100644
--- a/test/doxygen/autodoc.gold
+++ b/test/doxygen/autodoc.gold
@@ -63,8 +63,22 @@ Embedded docbook list:
 Second list item
 
 Line 1
- Line 2void foo() {}
-
+Line 2void foo() {}
+void foo2() {}
+void bar() {}
+
+void bar2() {}
+Alternative way of writing code, has a complicated workaround because doxygen treats the empty line as a paragraph separator:
+int bar();
+
+int bar2();
+Unfortunately the workaround will merge consecutive blocks, like this:
+int foo();
+
+
+
+int foo2();
+