File tree Expand file tree Collapse file tree 7 files changed +84
-30
lines changed
documentation/0.doxygen/example Expand file tree Collapse file tree 7 files changed +84
-30
lines changed Original file line number Diff line number Diff line change 14
14
*
15
15
* See
16
16
* <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/include/enum.h">documentation/0.doxygen/example/include/enum.h</a>
17
- * for example.
17
+ * for code example.
18
+ *
19
+ * See
20
+ * <a href="./group__group__doxygen__example__enum.html">Doxygen Example of Enumeration</a>
21
+ * for html output.
18
22
*/
19
23
20
24
/**
21
- * @addtogroup group_doxygen_example
25
+ * @defgroup group_doxygen_example_enum Doxygen Example of Enumeration
26
+ *
27
+ * @ingroup group_doxygen_example
28
+ *
29
+ * @brief Doxygen Example of Enumeration.
30
+ *
31
+ * @{
22
32
*/
23
33
24
- /** @{ */
25
-
26
34
/**
27
35
* @brief Brief description of this enumeration
28
36
*/
Original file line number Diff line number Diff line change 24
24
*
25
25
* See
26
26
* <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/include/groups.h">documentation/0.doxygen/example/include/groups.h</a>
27
- * for example.
27
+ * for code example.
28
+ *
29
+ * See
30
+ * <a href="./group__group__doxygen__example__sub.html">Doxygen Example of Groups and Sub-Groups</a>
31
+ * for html output.
28
32
*
29
33
* More information can be found in the Doxygen manual:
30
34
* <a href="https://www.doxygen.nl/manual/grouping.html">Grouping</a>.
31
35
*/
32
36
33
37
/**
34
- * @defgroup group_doxygen_example_sub Sub Group of Doxygen Example
38
+ * @defgroup group_doxygen_example_sub Doxygen Example of Groups
35
39
*
36
40
* All members of this group will be displayed in one HTML page.
37
41
*
Original file line number Diff line number Diff line change 10
10
* recommend putting documentation after members. See `DOXYGEN_EXAMPLE_CONST_A`
11
11
* and `DOXYGEN_EXAMPLE_CONST_B` in
12
12
* <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/include/macro.h">documentation/0.doxygen/example/include/macro.h</a>
13
- * for exmaple.
13
+ * for code exmaple.
14
14
*
15
15
* - The other is to define macros with parameters. For this type of
16
16
* macro, we recommend using a method similar to documenting for
17
17
* functions, that is, writing comment block before the macro definition.
18
18
* More details please see @ref page_howto_function
19
19
* See `DOXYGEN_EXAMPLE_ABS` in
20
20
* <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/include/macro.h">documentation/0.doxygen/example/include/macro.h</a>
21
- * for example.
21
+ * for code example.
22
+ *
23
+ * See
24
+ * <a href="./group__group__doxygen__example__macro.html">Doxygen Example of Macro</a>
25
+ * for html output.
22
26
*/
23
27
24
- /**
25
- * @addtogroup group_doxygen_example
28
+ /**
29
+ * @defgroup group_doxygen_example_macro Doxygen Example of Macro
30
+ *
31
+ * @ingroup group_doxygen_example
32
+ *
33
+ * @brief Doxygen Example of Macro.
34
+ *
35
+ * @{
26
36
*/
27
37
28
- /** @{ */
29
-
30
38
#define DOXYGEN_EXAMPLE_CONST_A 100 /**< Description of macro const A */
31
39
#define DOXYGEN_EXAMPLE_CONST_B 200 /**< Description of macro const B */
32
40
Original file line number Diff line number Diff line change 18
18
*
19
19
* See
20
20
* <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>
21
- * for example.
21
+ * for code example.
22
+ *
23
+ * See
24
+ * <a href="./group__group__doxygen__example__struct.html">Doxygen Example of Structure</a>
25
+ * for html output.
22
26
*/
23
27
24
28
/**
25
- * @addtogroup group_doxygen_example
29
+ * @defgroup group_doxygen_example_struct Doxygen Example of Structure
30
+ *
31
+ * @ingroup group_doxygen_example
32
+ *
33
+ * @brief Doxygen Example of Structure.
34
+ *
35
+ * @{
26
36
*/
27
37
28
- /** @{ */
29
-
30
38
/**
31
39
* @brief Brief description this structure
32
40
*
Original file line number Diff line number Diff line change 26
26
*
27
27
* See
28
28
* <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/include/typedef.h">documentation/0.doxygen/example/include/typedef.h</a>
29
- * for example.
29
+ * for code example.
30
+ *
31
+ * See
32
+ * <a href="./group__group__doxygen__example__typedef.html">Doxygen Example of Typedef</a>
33
+ * for html output.
30
34
*/
31
35
32
36
#include "struct.h"
33
37
#include "enum.h"
34
38
35
39
/**
36
- * @addtogroup group_doxygen_example
40
+ * @defgroup group_doxygen_example_typedef Doxygen Example of Typedef
41
+ *
42
+ * @ingroup group_doxygen_example
43
+ *
44
+ * @brief Doxygen Example of Typedef.
45
+ *
46
+ * @{
37
47
*/
38
48
39
- /** @{ */
40
-
41
49
/**
42
50
* @typedef dogygen_example_struct_t
43
51
* Alias of `struct dogygen_example_struct`.
@@ -49,7 +57,7 @@ typedef struct dogygen_example_struct dogygen_example_struct_t;
49
57
typedef struct dogygen_example_struct_another dogygen_example_struct_another_t ;
50
58
51
59
/**
52
- * @typedef doxygen_example_enum
60
+ * @typedef doxygen_example_enum_t
53
61
* Alias of `enum doxygen_example_enum`.
54
62
*/
55
63
typedef enum doxygen_example_enum doxygen_example_enum_t ;
Original file line number Diff line number Diff line change 14
14
*
15
15
* See
16
16
* <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/include/union.h">documentation/0.doxygen/example/include/union.h</a>
17
- * for example.
17
+ * for code example.
18
+ *
19
+ * See
20
+ * <a href="./group__group__doxygen__example__union.html">Doxygen Example of Union</a>
21
+ * for html output.
18
22
*/
19
23
20
24
/**
21
- * @addtogroup group_doxygen_example
25
+ * @defgroup group_doxygen_example_union Doxygen Example of Union
26
+ *
27
+ * @ingroup group_doxygen_example
28
+ *
29
+ * @brief Doxygen Example of Union.
30
+ *
31
+ * @{
22
32
*/
23
33
24
- /** @{ */
25
-
26
34
/**
27
35
* @brief Brief description of this union
28
36
*/
Original file line number Diff line number Diff line change 43
43
*
44
44
* See
45
45
* <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/src/function.c">documentation/0.doxygen/example/src/function.c</a>
46
- * for example.
46
+ * for code example.
47
47
*
48
- * <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/src/function.h">documentation/0.doxygen/example/src/function.h</a> is an example of the header file where we just declare the API without doxygen documentation.
48
+ * See
49
+ * <a href="./group__group__doxygen__example__function.html">Doxygen Example of Function</a>
50
+ * for html output.
51
+ *
52
+ * @note <a href="https://github.com/RT-Thread/rt-thread/blob/master/documentation/0.doxygen/example/src/function.h">documentation/0.doxygen/example/src/function.h</a>
53
+ * is just an example of the header file where we declare the API without
54
+ * doxygen documentation.
49
55
*/
50
56
51
57
/**
52
- * @addtogroup group_doxygen_example
58
+ * @defgroup group_doxygen_example_function Doxygen Example of Function
59
+ *
60
+ * @ingroup group_doxygen_example
61
+ *
62
+ * @brief Doxygen Example of Function.
63
+ *
64
+ * @{
53
65
*/
54
66
55
- /** @{ */
56
-
57
67
/**
58
68
* @brief Brief description for the function
59
69
*
You can’t perform that action at this time.
0 commit comments