mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 12:14:30 +08:00
doxygen: group examples in subpages
Doxygen examples are grouped on different pages so that you can easily link to pages of related types in the documentation. For example, macro examples have their own page, and function examples have their own page, which correspond to their own code examples, such as "macro.h" or "function.h". Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
This commit is contained in:
@@ -18,15 +18,23 @@
|
||||
*
|
||||
* See
|
||||
* <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/include/struct.h">documentation/0.doxygen/example/include/struct.h</a>
|
||||
* for example.
|
||||
* for code example.
|
||||
*
|
||||
* See
|
||||
* <a href="./group__group__doxygen__example__struct.html">Doxygen Example of Structure</a>
|
||||
* for html output.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup group_doxygen_example
|
||||
* @defgroup group_doxygen_example_struct Doxygen Example of Structure
|
||||
*
|
||||
* @ingroup group_doxygen_example
|
||||
*
|
||||
* @brief Doxygen Example of Structure.
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @{ */
|
||||
|
||||
/**
|
||||
* @brief Brief description this structure
|
||||
*
|
||||
|
Reference in New Issue
Block a user