Skip to content

Commit 20f81e1

Browse files
hugueskambaevedon
authored andcommitted
Change Doxygen groups structure, splitting first by Public/Internal (#11105)
* Change Doxygen groups structure, splitting first by Public/Internal This commit also does the following: * groups the documentation of related API * moves `events/internal/equeue.h` to `events/equeue.h` * merges `events/source/README.md` to `events/README.md`
1 parent c6b0a14 commit 20f81e1

File tree

135 files changed

+474
-569
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+474
-569
lines changed

UNITTESTS/target_h/drivers/LowPowerTicker.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "Callback.h"
2222

2323
namespace mbed {
24-
/** \addtogroup drivers */
2524

2625
/** mock Low Power Ticker
2726
*

drivers/AnalogIn.h

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,19 @@
2626
#include "platform/PlatformMutex.h"
2727

2828
namespace mbed {
29-
/** \ingroup drivers */
30-
/** \addtogroup drivers-public-api Public API */
31-
/** @{*/
29+
/** \defgroup mbed-os-public Public API */
30+
31+
/** \addtogroup drivers-public-api Drivers
32+
* \ingroup mbed-os-public
33+
*/
34+
35+
/** \defgroup drivers-public-api-gpio GPIO
36+
* \ingroup drivers-public-api
37+
*/
38+
3239
/**
3340
* \defgroup drivers_AnalogIn AnalogIn class
41+
* \ingroup drivers-public-api-gpio
3442
* @{
3543
*/
3644

@@ -120,7 +128,6 @@ class AnalogIn {
120128

121129
};
122130

123-
/** @}*/
124131
/** @}*/
125132

126133
} // namespace mbed

drivers/AnalogOut.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
#include "platform/PlatformMutex.h"
2626

2727
namespace mbed {
28-
/** \ingroup drivers */
2928
/** \addtogroup drivers-public-api */
30-
/** @{*/
29+
3130
/**
3231
* \defgroup drivers_AnalogOut AnalogOut class
32+
* \ingroup drivers-public-api-gpio
3333
* @{
3434
*/
3535

@@ -147,7 +147,6 @@ class AnalogOut {
147147
#endif //!defined(DOXYGEN_ONLY)
148148
};
149149

150-
/** @}*/
151150
/** @}*/
152151

153152
} // namespace mbed

drivers/BusIn.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@
2323
#include "platform/NonCopyable.h"
2424

2525
namespace mbed {
26-
/** \ingroup drivers */
27-
/** \addtogroup drivers-public-api */
28-
/** @{*/
26+
/** \defgroup drivers-public-api-bus Bus
27+
* \ingroup drivers-public-api
28+
*/
29+
2930
/**
3031
* \defgroup drivers_BusIn BusIn class
32+
* \ingroup drivers-public-api-bus
3133
* @{
3234
*/
3335

@@ -130,7 +132,6 @@ class BusIn : private NonCopyable<BusIn> {
130132
#endif
131133
};
132134

133-
/** @}*/
134135
/** @}*/
135136

136137
} // namespace mbed

drivers/BusInOut.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@
2222
#include "platform/NonCopyable.h"
2323

2424
namespace mbed {
25-
/** \ingroup drivers */
26-
/** \addtogroup drivers-public-api */
27-
/** @{*/
2825
/**
2926
* \defgroup drivers_BusInOut BusInOut class
27+
* \ingroup drivers-public-api-bus
3028
* @{
3129
*/
3230

@@ -152,7 +150,6 @@ class BusInOut : private NonCopyable<BusInOut> {
152150
#endif //!defined(DOXYGEN_ONLY)
153151
};
154152

155-
/** @}*/
156153
/** @}*/
157154

158155
} // namespace mbed

drivers/BusOut.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@
2222
#include "platform/NonCopyable.h"
2323

2424
namespace mbed {
25-
/** \ingroup drivers */
26-
/** \addtogroup drivers-public-api */
27-
/** @{*/
2825
/**
2926
* \defgroup drivers_BusOut BusOut class
27+
* \ingroup drivers-public-api-bus
3028
* @{
3129
*/
3230

@@ -130,7 +128,6 @@ class BusOut : private NonCopyable<BusOut> {
130128
#endif
131129
};
132130

133-
/** @}*/
134131
/** @}*/
135132

136133
} // namespace mbed

drivers/CAN.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
#include "platform/NonCopyable.h"
2828

2929
namespace mbed {
30-
/** \ingroup drivers */
31-
/** \addtogroup drivers-public-api */
32-
/** @{*/
30+
/** \defgroup drivers-public-api-can CAN
31+
* \ingroup drivers-public-api
32+
*/
33+
3334
/**
3435
* \defgroup drivers_CANMessage CANMessage class
36+
* \ingroup drivers-public-api-can
3537
* @{
3638
*/
3739

@@ -107,6 +109,7 @@ class CANMessage : public CAN_Message {
107109

108110
/**
109111
* \defgroup drivers_CAN CAN class
112+
* \ingroup drivers-public-api-can
110113
* @{
111114
*/
112115

@@ -333,7 +336,6 @@ class CAN : private NonCopyable<CAN> {
333336
#endif
334337
};
335338

336-
/** @}*/
337339
/** @}*/
338340

339341
} // namespace mbed

drivers/DigitalIn.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@
2222
#include "hal/gpio_api.h"
2323

2424
namespace mbed {
25-
/** \ingroup drivers */
26-
/** \addtogroup drivers-public-api */
27-
/** @{*/
2825
/**
2926
* \defgroup drivers_DigitalIn DigitalIn class
27+
* \ingroup drivers-public-api-gpio
3028
* @{
3129
*/
3230

@@ -127,7 +125,6 @@ class DigitalIn {
127125
#endif //!defined(DOXYGEN_ONLY)
128126
};
129127

130-
/** @}*/
131128
/** @}*/
132129

133130
} // namespace mbed

drivers/DigitalInOut.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@
2222
#include "hal/gpio_api.h"
2323

2424
namespace mbed {
25-
/** \ingroup drivers */
26-
/** \addtogroup drivers-public-api */
27-
/** @{*/
2825
/**
2926
* \defgroup drivers_DigitalInOut DigitalInOut class
27+
* \ingroup drivers-public-api-gpio
3028
* @{
3129
*/
3230

@@ -154,7 +152,6 @@ class DigitalInOut {
154152
#endif //!defined(DOXYGEN_ONLY)
155153
};
156154

157-
/** @}*/
158155
/** @}*/
159156

160157
} // namespace mbed

drivers/DigitalOut.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@
2121
#include "hal/gpio_api.h"
2222

2323
namespace mbed {
24-
/** \ingroup drivers */
25-
/** \addtogroup drivers-public-api */
26-
/** @{*/
2724
/**
2825
* \defgroup drivers_DigitalOut DigitalOut class
26+
* \ingroup drivers-public-api-gpio
2927
* @{
3028
*/
3129

@@ -148,7 +146,6 @@ class DigitalOut {
148146
#endif //!defined(DOXYGEN_ONLY)
149147
};
150148

151-
/** @}*/
152149
/** @}*/
153150

154151
} // namespace mbed

0 commit comments

Comments
 (0)