YARD (software)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Lua error in package.lua at line 80: module 'strict' not found.

YARD
Original author(s) Loren Segal
Initial release February 24, 2007; 18 years ago (2007-02-24)
Stable release 0.7.5 / January 31, 2012; 13 years ago (2012-01-31)
Written in Ruby
Operating system Cross-platform
Type Embedded documentation generator
License MIT license
Website yardoc.org

YARD, is an embedded documentation generator for the Ruby programming language. It analyzes the Ruby source code, generating a structured collection of pages for Ruby objects and methods. Code comments can be added in a natural style.

YARD is useful even if the target source code does not contain explicit comments. YARD will still parse the classes, modules, and methods, and list them in the generated API files.

YARD extends upon the capabilities of RDoc in a number of dimensions:

  • extensibility
  • modularity
  • parsing

Dan Kubb has created an ancillary tool, named Yardstick, which verifies YARD (or RDoc) documentation coverage.

See also

External links

<templatestyles src="Asbox/styles.css"></templatestyles>