Demo C++ API with Doxygen¶
C++ files¶
- file
code/doxygen_example.hpp
/**
* \file
*
* \brief This file does not even exist in the real world.
*
* \rst
*
* .. note:: An example hpp to show doxygen problem
*
* .. need:: Need inside hpp
* :id: NEED_2
* :status: open
* :links: NEED_1
*
* Unique content string to easily identify in generated xml files: FOOBAR2021
*
* Link test to :need:`NEED_1`
*
* \endrst
*/
namespace example
{
namespace doxygen
{
} // namespace doxygen
} // namespace example
Doxygen include¶
.. doxygenfile:: doxygen_example.hpp
:project: doxygen_example
doxygenfile
result starts here:
This file does not even exist in the real world.
Note
An example hpp to show doxygen problem
Unique content string to easily identify in generated xml files: FOOBAR2021 |
Link test to Need inside rst (NEED_1)