如何控制 doxygen 文档部分的顺序?
我添加了我的文档如下:标题中解释了简短的描述、参数和返回值,源代码中解释了有关实现的详细信息。
然而,当我生成 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
生成然后自定义layout.xml 文件。有关详细信息,请参阅 Doxygen 站点上的此页面。
Generate and then customize the layout.xml file. For more information see this page on the Doxygen site.