mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-11 13:23:59 +00:00
Add a test document for doxygen integration.
[SVN r52344]
This commit is contained in:
parent
5252102def
commit
dcf599b7d7
19
test/doxygen/Jamfile.v2
Normal file
19
test/doxygen/Jamfile.v2
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
import doxygen ;
|
||||||
|
|
||||||
|
doxygen autodoc
|
||||||
|
:
|
||||||
|
[ glob boost/*.hpp ]
|
||||||
|
:
|
||||||
|
<xsl:param>"boost.doxygen.reftitle=Example Reference"
|
||||||
|
;
|
||||||
|
|
||||||
|
boostbook standalone
|
||||||
|
:
|
||||||
|
example.xml
|
||||||
|
:
|
||||||
|
<xsl:param>boost.root=../../../../..
|
||||||
|
<xsl:param>boost.libraries=../../../../../libs/libraries.htm
|
||||||
|
<xsl:param>html.stylesheet=../../../../../doc/html/boostbook.css
|
||||||
|
|
||||||
|
<dependency>autodoc
|
||||||
|
;
|
49
test/doxygen/boost/example.hpp
Normal file
49
test/doxygen/boost/example.hpp
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
int global_integer;
|
||||||
|
static int global_static_integer;
|
||||||
|
const int global_const_integer;
|
||||||
|
static const int global_static_const_integer;
|
||||||
|
enum global_enum { enumerator };
|
||||||
|
|
||||||
|
namespace example
|
||||||
|
{
|
||||||
|
int namespace_integer;
|
||||||
|
static int namespace_static_integer;
|
||||||
|
const int namespace_const_integer;
|
||||||
|
static const int namespace_static_const_integer;
|
||||||
|
enum namespace_enum { enumerator };
|
||||||
|
|
||||||
|
class example
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
int integer;
|
||||||
|
static int static_integer;
|
||||||
|
mutable int mutable_integer;
|
||||||
|
const int const_integer;
|
||||||
|
static mutable int static_mutable_integer;
|
||||||
|
static const int static_const_integer;
|
||||||
|
|
||||||
|
enum class_enum { enumerator };
|
||||||
|
protected:
|
||||||
|
int protected_integer;
|
||||||
|
static int protected_static_integer;
|
||||||
|
mutable int protected_mutable_integer;
|
||||||
|
const int protected_const_integer;
|
||||||
|
static mutable int protected_static_mutable_integer;
|
||||||
|
static const int protected_static_const_integer;
|
||||||
|
|
||||||
|
enum protected_class_enum { enumerator };
|
||||||
|
private:
|
||||||
|
int private_integer;
|
||||||
|
static int private_static_integer;
|
||||||
|
mutable int private_mutable_integer;
|
||||||
|
const int private_const_integer;
|
||||||
|
static mutable int private_static_mutable_integer;
|
||||||
|
static const int private_static_const_integer;
|
||||||
|
|
||||||
|
enum private_class_enum { enumerator };
|
||||||
|
};
|
||||||
|
|
||||||
|
template <typename TypeParameter, int NonTypeParameter,
|
||||||
|
typename TypeParameterWithDefault = int>
|
||||||
|
struct example_template {};
|
||||||
|
}
|
6
test/doxygen/example.xml
Normal file
6
test/doxygen/example.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
|
||||||
|
<library id="example" name="Example" dirname="example" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
|
<title>Example</title>
|
||||||
|
<xi:include href="autodoc.xml" />
|
||||||
|
</library>
|
Loading…
x
Reference in New Issue
Block a user