Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我错了,请纠正我,YARD与RDoc不一样吗?
它不是基于 RDoc 而是完全重写?
因此,如果我使用 YARD,我不必为 RDoc 烦恼,对吗?
简而言之:是的。(对所有三个问题。)
请注意,YARD 基本上与 RDoc 向后兼容,至少就标记而言。(RDoc 插件 OTOH 不适用于 YARD。)因此,您实际上可以使用 YARD 来处理您的旧 RDoc 文件。YARD 主要是 RDoc 的适当超集。