From 55259344f5137b4e3134c8101427e8fca3662213 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Sat, 2 Apr 2011 18:07:21 +0000 Subject: [PATCH] Handle \see [SVN r70874] --- test/doxygen/Jamfile.v2 | 2 +- test/doxygen/autodoc.gold | 3 ++- test/doxygen/boost/example.hpp | 2 ++ xsl/doxygen/doxygen2boostbook.xsl | 11 ++++++++++- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/test/doxygen/Jamfile.v2 b/test/doxygen/Jamfile.v2 index 372ebff..df7c669 100644 --- a/test/doxygen/Jamfile.v2 +++ b/test/doxygen/Jamfile.v2 @@ -25,7 +25,7 @@ else { actions compare { - diff -u $(>[1]) $(>[2]) && echo "Stamped" >$(<) + diff -u -w $(>[1]) $(>[2]) && echo "Stamped" >$(<) } } diff --git a/test/doxygen/autodoc.gold b/test/doxygen/autodoc.gold index 0fe598b..9c63c18 100644 --- a/test/doxygen/autodoc.gold +++ b/test/doxygen/autodoc.gold @@ -19,5 +19,6 @@ Line 1 intintconst intconst intintintA function parameter intAnother -This is a test function. Link to class Link to class template This is a note. +This is a test function. Link to class Link to class template This is a note. +See Also:example::example and example_template i > jThe answer Documentation for macro example. diff --git a/test/doxygen/boost/example.hpp b/test/doxygen/boost/example.hpp index 8d34f6e..32949ea 100644 --- a/test/doxygen/boost/example.hpp +++ b/test/doxygen/boost/example.hpp @@ -108,6 +108,8 @@ namespace example * \ref example::example "Link to class" * \ref example_template "Link to class template" * \note This is a note. + * + * \see example::example and example_template */ int namespace_func(int i, int j); } diff --git a/xsl/doxygen/doxygen2boostbook.xsl b/xsl/doxygen/doxygen2boostbook.xsl index 2fe8c40..dd78c25 100644 --- a/xsl/doxygen/doxygen2boostbook.xsl +++ b/xsl/doxygen/doxygen2boostbook.xsl @@ -1276,7 +1276,7 @@ not (@kind='return') and not (@kind='post') and not (@kind='attention') and - not (@kind='note')"> + not (@kind='see')"> @@ -1293,6 +1293,15 @@ + + + + See Also: + + + + +