YARD stands for "Yay! A Ruby Documentation tool". It is considered an alternative to the rdoc tool with more features.
YARD stands for "Yay! A Ruby Documentation tool". It is considered an alternative to the rdoc tool with more features. The YARD website says:
YARD is a documentation generation tool for the Ruby programming language. It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions.
YARD's notable features include:
- Preview as you document
- Easily customize templates
- Support your own DSL
- Extend, extend, extend!
And of course YARD comes with much more functionality, including the ability to serve documentation for gems, the ability to group methods into logical sections, and much more.