Latest Release

Gem Version

What Is YARD?

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. Above is a highlight of the some of YARD's notable features.

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. You can read about all of the new features in YARD 0.6 in the What's New document.

Installing & Using

To install YARD with RubyGems:

$ gem install yard

And see all the commands:

$ yard --help

Who Uses YARD?

YARD is used in a wide variety of projects including personal ones that we don't know about, but here are some projects that we know do:

Addressable, Amp, CRM114.rb, DataMapper, Dia, Haml, lightning, MongoDB, nanoc, Ohm, Puppet, Ronin, Sass, Spidr, thoughtbot, vanity. A full list can be found here.

YARD also runs a live documentation server for the community, hosting docs for all RubyGems and Github projects. The project is at (formerly

Contributing & Support

If you're interested in helping out, you can use the following methods to get in touch: