doxygen-addtogroup

Documenting namespaces with Doxygen

ぃ、小莉子 提交于 2019-12-31 09:11:34
问题 I'm having issues with Doxygen recognizing namespaces and modules. I believe the issue surrounds whether to place the \addtogroup within the namespace or outside the namespace. Example 1, outside the namespace: /*! * \addtogroup Records * @{ */ //! Generic record interfaces and implementations namespace Records { //! Describes the record interface class Interface; } // End namespace Records /*! @} End of Doxygen Groups*/ Example 2 - within namespace //! Generic record interfaces and

C and doxygen - removing duplicates of variable documentation

旧巷老猫 提交于 2019-12-07 17:12:01
问题 I'm documenting my C code with doxygen. For better readability I group documentation of every .c/.h file pair (sometimes also more files) with defgroup and addtogroup (see doxygen in c: grouping of defines). The file pages look fine, but on the group/module pages all variable documentation is doubled. There are 2 entries for every variable that's declared (with extern) in the header file and defined in the .c file (in the summary as well as in the description part). Functions and everything

Documenting namespaces with Doxygen

岁酱吖の 提交于 2019-12-02 18:03:39
I'm having issues with Doxygen recognizing namespaces and modules. I believe the issue surrounds whether to place the \addtogroup within the namespace or outside the namespace. Example 1, outside the namespace: /*! * \addtogroup Records * @{ */ //! Generic record interfaces and implementations namespace Records { //! Describes the record interface class Interface; } // End namespace Records /*! @} End of Doxygen Groups*/ Example 2 - within namespace //! Generic record interfaces and implementations namespace Records { /*! * \addtogroup Records * @{ */ //! Describes the record interface class