I just started using Doxygen for the first time and ran into the following problem: I'm trying to create multiple subgroups with the same name like this:
- Group 1
- Constructors
- Other
- Group 2
- Constructors
- Other
Instead what I get is this:
- Group 1
- Constructors
- (Constructors both from Group 1 and 2)
- Other
- (Others from both Group 1 and 2)
- Group 2
- Constructors
- (Constructors both from Group 1 and 2)
- Other
- (Others from both Group 1 and 2)
My current code looks like this (in separate .h files)
/** @defgroup Group1
* Description for Group 1
*/
/** @defgroup Group2
* Description for Group 2
*/
/* @defgroup Constructors
* @ingroup Group1
*/
/* @defgroup Constructors
* @ingroup Group2
*/
/* @defgroup Other
* @ingroup Group1
*/
/* @defgroup Other
* @ingroup Group2
*/
/**
* @ingroup Group1
* @{
*/
class Class1 {
/**
* @ingroup Constructors
* @{
*/
Class1();
(other constructors)
/** @}*/
/**
* @ingroup Other
* @{
*/
void Random();
(other functions)
/** @}*/
}; /** @}*/
/**
* @ingroup Group2
* @{
*/
class Class2 {
/**
* @ingroup Constructors
* @{
*/
Class1();
(other constructors)
/** @}*/
/**
* @ingroup Other
* @{
*/
void Random();
(other functions)
/** @}*/
}; /** @}*/
I tried to keep the code short, but I hope my question is still clear. Thanks in advance!