如何让 doxygen 在几个不同的手册部分都有手册页?
如果我的手册页在同一项目中应该具有不同的扩展名,我该怎么办?
Doxyfile 包含以下内容:
MAN_EXTENSION 标记确定添加到
生成的手册页中的扩展名(默认为子例程的第 .3 节)
MAN_EXTENSION = .3
在我的项目中,我不仅有一个 C API,它应该在.3 部分,还有一些命令行工具,其扩展名应为 .1。
Doxygen 可以处理这个问题吗?
谢谢!
What do I do if I have man pages that should have different extensions within the same project?
The Doxyfile contains the following:
The MAN_EXTENSION tag determines the extension that is added to
the generated man pages (default is the subroutine's section .3)
MAN_EXTENSION = .3
In my project I have not only a C API, which should have man pages in the .3 section, but also some command line tools, which should have extension .1.
Can Doxygen handle this?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一次 doxygen 运行不能产生两个不同的手册页扩展。但是您可以为 MAN_EXTENSION 创建 2 个具有不同设置的配置文件,并分别在每个文件上运行 doxygen。
You cannot have two different man page extensions as the result of a single doxygen run. But you could make 2 configuration files with different settings for MAN_EXTENSION and run doxygen on each one separately.