doc: fix warnings in groups.rst
Add missing '*/', rename <entity> to ENTITY and fix indentation so the formatting engine recognizes the example code as C code. Change-Id: Iff1b5c0cef5bb635ba1b39f507ff657e9ab4c338 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
This commit is contained in:
parent
6a8255d3ac
commit
71228b4ad1
1 changed files with 16 additions and 15 deletions
|
@ -25,18 +25,18 @@ The desired entities must be inside the comment block that uses the syntax :lite
|
||||||
|
|
||||||
.. code-block:: C
|
.. code-block:: C
|
||||||
|
|
||||||
/** @defgroup <GroupLabel> Group Name
|
/** @defgroup <GroupLabel> Group Name
|
||||||
* Detailed Description of the Group
|
* Detailed Description of the Group
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* @brief Brief description of the entity*/
|
/* @brief Brief description of the entity*/
|
||||||
<entity1>
|
ENTITY1;
|
||||||
|
|
||||||
/* @brief Brief description of the entity*/
|
/* @brief Brief description of the entity*/
|
||||||
<entity2>
|
ENTITY2;
|
||||||
|
|
||||||
/** @} */ // End of GroupLabel
|
/** @} */ // End of GroupLabel
|
||||||
|
|
||||||
If you need to add more information that is not listed inside the group block,
|
If you need to add more information that is not listed inside the group block,
|
||||||
you must use :literal:`@addtogroup <GroupLabel>`.
|
you must use :literal:`@addtogroup <GroupLabel>`.
|
||||||
|
@ -46,11 +46,12 @@ Example:
|
||||||
|
|
||||||
.. code-block:: C
|
.. code-block:: C
|
||||||
|
|
||||||
/** @addtogroup <GroupLabel>
|
/** @addtogroup <GroupLabel>
|
||||||
* Optional: This line adds information to the GroupLabel Detailed Description of the Group
|
* Optional: This line adds information to the GroupLabel Detailed Description of the Group
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The entities you want to add must be inserted inside before the close block*/
|
/* The entities you want to add must be inserted inside before the close block*/
|
||||||
|
|
||||||
|
/** @} // End of addtogroup GroupLabel */
|
||||||
|
|
||||||
/** @} // End of addtogroup GroupLabel
|
|
Loading…
Add table
Add a link
Reference in a new issue