From 3c8b23576fa81576bf72d5ef07ee32859f631c88 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Thu, 6 Mar 2025 11:00:09 +0800 Subject: 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 --- documentation/0.doxygen/example/include/struct.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'documentation/0.doxygen/example/include/struct.h') diff --git a/documentation/0.doxygen/example/include/struct.h b/documentation/0.doxygen/example/include/struct.h index 528e85487a..46f130319d 100644 --- a/documentation/0.doxygen/example/include/struct.h +++ b/documentation/0.doxygen/example/include/struct.h @@ -18,15 +18,23 @@ * * See * documentation/0.doxygen/example/include/struct.h - * for example. + * for code example. + * + * See + * Doxygen Example of Structure + * 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 * -- cgit v1.3.1