I have a C++ project where we use Doxygen to document our code. The documentation for it is split in a main group and a subgroup. What I've noticed is that the automatic link generation does not look in other groups than the current one. Thus, my documentation in the subgroup cannot link to members (in this case, a class) in the main group.
It would have assumed a subgroup could at least reference to members in its "parent group".
Is there anyway to implicitly refer to a member in another group? Similar to namespaces or packages.
If not, are there any way to explicitly link the member's documentation page? Is a bug prone URL the only way?
I've tried
`tSomeClass`
,`group_main::tSomeClass`
,`group_main\tSomeClass`
,`\ref tSomeClass`
,`\ref group_main\tSomeClass`
,`\ref group_main::tSomeClass`
,
Minimal example:
tSomeClass.hpp
/// \ingroup group_main
class tSomeClass {};
main.dox
\defgroup group_main Main Group Documentation
\addtogroup group_main
Blabla...
sub.dox
\ingroup group_main
\defgroup group_sub Sub Group Documentation
\addtogroup group_sub
Some text referring to the `tSomeClass` type, fails to link to it.
Edit:
Worth noting, is that I have used this sub-grouping to get a nice hierarchy of documentation pages in the modules overview in the generated html-file. We have yet not used pages
and I want my documentation to end up with the existing one. It is using groups/modules
.