If I document my code with YARD, and use e.g. the @overload
tag, and someone else installs my gem and it generates the documentation with RDoc, won't the result be messy?
Is there a good way to deal with this?
If I document my code with YARD, and use e.g. the @overload
tag, and someone else installs my gem and it generates the documentation with RDoc, won't the result be messy?
Is there a good way to deal with this?
Is doesn't support @overload
, but TomDoc serves as a workable go between. RDoc now supports TomDoc out of the box, and Yard has yard-tomdoc plugin. YARD is still better (IMO) for large projects, but for small libraries or tools TomDoc works well and can be used by both systems.