从 \mainpage 引用 Doxygen Class 或命名空间列表

Reference Doxygen Class or Namespace list from \mainpage

我们为 Doxygen 构建定义了自己的 \mainpage 部分,我想将 link 作为自动生成的 Class 索引页面的一部分(classes.html ) 和命名空间列表顶级页面 (namespaces.html)。

我已经尝试过 \ref 命名空间和 \ref 类 之类的方法,但没有用。知道魔术标签是什么吗?

目前没有可引用概览页面的符号名称。 如果是 HTML 只有你可以做

<a href="classes.html">Link to the class index</a>

如果您还需要其他输出格式,您可以将上面的内容包装在 \htmlonly...\endhtmlonly 中,并对其他输出格式执行类似的操作。