Svalorzen
Svalorzen

Reputation: 5608

Doxygen duplicates member group if in namespace

I just noticed a problem in my documentation. I have a file where I have a set of definitions that I am trying to document together, in this form:

namespace ABC {
    /**
     * @name ABC
     *
     * Hello.
     *
     * @{
     */

    using Test1 = std::vector<int>;
    using Test2 = std::vector<size_t>;

    /** @}  */
}

However, when running doxygen on this file, the documentation for ABC and the typedefs inside repeats itself twice. This does not happen if the group is placed outside the namespace in global scope.

enter image description here

What am I doing wrong?


Upvotes: 1

Views: 289

Answers (1)

albert
albert

Reputation: 9012

In the doxygen version 1.8.17, 1.8.18, 1.8.19 (I didn't look at earlier versions) the shown problem is present. In version 1.8.20 and newer the problem is gone.

  • solution is to upgrade doxygen to the current version (1.9.1).

Upvotes: 2

Related Questions