Doxygen 没有记录静态类?

发布于 2024-10-17 04:29:24 字数 448 浏览 7 评论 0原文

我最近在我的一个项目中使用了 Doxygen。但我遇到一个问题,它不会为 C# 静态类生成正确的文档。我必须启用某些选项吗?

我相关类的完整源代码位于此处此处列出了命名空间的 doxygen 文件。另外,我的 Doxyfile 位于此处。它是使用几乎默认设置从 doxywizard 生成的。

正如您所看到的,生成了类的简短描述,但该类没有自己的页面来查看(已记录的)静态方法和成员。此外,该类未在类索引中列出,或者实际上在其他任何地方都没有列出。问题是什么?

I've been recently using Doxygen for a project of mine. I'm having a problem though that it won't generate the proper documentation for a C# static class. Is there some option I have to enable?

My complete source code for the relevant class is here. And the doxygen file for the namespace is listed here. Also, my Doxyfile is here. It was generated from doxywizard using almost default settings.

As you can see, the class's short description is generated, but the class does not have a page of it's own to see the (documented) static methods and members. Also, the class is not listed in the class index, or really anywhere else. What is the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

薄荷港 2024-10-24 04:29:24

自从我创建 doxygen 配置以来已经有一段时间了,但是尝试将 EXTRACT_STATIC 的值更改为 YES,您应该会得到您正在寻找的内容。

It's been a while since I've created a doxygen config, but try changing the value of EXTRACT_STATIC to YES, and you should get what you're looking for.

长伴 2024-10-24 04:29:24

以防万一有人使用 Doxywizard GUI 而不是手动编辑 Doxyfile,EXTRACT_STATIC 标志会列在“构建”下的“专家”选项卡上:

“在此输入图像描述”

Just in case anyone is using the Doxywizard GUI rather than editing the Doxyfile by hand, the EXTRACT_STATIC flag is listed on the Expert tab under Build:

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文