如何使用 Doxygen 记录 Ruby 代码?
问题:如何使用 Doxygen 记录 Ruby 代码?
免责声明:我知道 ruby 已经内置了一个文档系统,并且可能还有其他方法可以做到这一点,但我正在操作的具体限制是如何让 Doxygen 来完成这项工作(假设这是可能的)。
Question: How can I document Ruby code using Doxygen?
Disclaimer: I know ruby already has a system for documentation built in and there are probably other ways to do it as well, but the specific constraint I am operating under is how to get Doxygen to do the job (assuming it is possible).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
简短的回答,不。 很长的答案,仍然没有。 Doxygen 最终会进入 Ruby,但我不认为它会很快发生。 短期内,您只能使用 RDoc 或 YARD。
Short answer, no. Long answer, still no. Doxygen will come to Ruby eventually, but I don't have the sense that it's going to happen any time soon. In the short term, you're stuck with either RDoc or YARD.
您可以在 https://github.com/fourmond/doxygen-ruby-patch 尝试测试版本。 虽然它仍处于实验阶段,但通过测试,它有望集成到主流 doxygen 中。
You can try out a testing version at https://github.com/fourmond/doxygen-ruby-patch. It is still experimental though, but through testing it will hopefully be integrated into mainstream doxygen.