如何控制 doxygen 文档部分的顺序?

发布于 2024-09-24 16:38:09 字数 215 浏览 0 评论 0原文

我添加了我的文档如下:标题中解释了简短的描述、参数和返回值,源代码中解释了有关实现的详细信息。

然而,当我生成 doxygen 文档时,我并没有简单的描述、详细信息、参数,最后是返回值,而是以另一种顺序获得这些部分:简要、参数、返回和详细信息。

我想这与 doxygen 在源代码中找到文档注释的顺序有关。有什么方法可以将各部分的顺序设置为我喜欢的任何顺序,而不管文档的组织方式如何?

I added my documentation as follows: brief description, parameters, and return value get explained in the header, details about the implementation get explained in the source.

However, when I generate the doxygen documentation, instead of having the brief description, the details, then the parameters and lastly the return value, I get these sections in another order: brief, params, return, and details.

I guess this has to do with the order in which doxygen finds the doc comments in the source code. Is there any way I can set the order of the sections to whatever I like, regardless of how the documentation is organized?

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

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

发布评论

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

评论(1

浪漫人生路 2024-10-01 16:38:09

生成然后自定义layout.xml 文件。有关详细信息,请参阅 Doxygen 站点上的此页面

Generate and then customize the layout.xml file. For more information see this page on the Doxygen site.

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