Description
YARD is an extensible documentation tool for Ruby. The name stands for Yay!, and the project describes itself as a Ruby documentation tool for consistent documentation. Since YARD 0.6 it has included a dynamic documentation server: you run yard server --reload, and the project watches for changes, so you can see exactly what YARD sees as you document your code. YARD can be extended to support your own domain-specific language, and the site says there are plugins for frameworks such as RSpec, DataMapper and Sinatra. The site says YARD is the only Ruby documentation tool that makes it easy to customise templates. The project's features page, guides, source and the RubyDoc.info service are linked from the home page. YARD is on GitHub at lsegal/yard, where the README describes the latest release and what is new.…
Highlights
- Documentation server that reloads on change
- Extensible with plugins
- Supports custom Ruby DSLs
- Customisable templates
- Plugins for RSpec, DataMapper and Sinatra
Ratings & Reviews
No ratings yet
Be the first to rate Yard.
People also visit
Yard FAQ
What is YARD?
An extensible documentation tool for Ruby, which the project says gives consistent documentation.
How do I preview my docs?
Run yard server --reload, and the server watches your codebase and updates as you refresh the page.
Does it work with frameworks?
The site lists plugins for RSpec, DataMapper and Sinatra, and says more are in the works.
Can I change the templates?
Yes. The site says templates are easy to customise, and that YARD can be extended in many ways.
Where is the source?
On GitHub at lsegal/yard, where the README covers the latest release.
What are the best Yard alternatives?
Popular alternatives to Yard include Mkdocs, Docsify and terraform-docs. See all Yard alternatives



