Jump to content

RDoc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Frap (talk | contribs) at 12:19, 20 April 2016. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

RDoc
Original author(s)Dave Thomas
Repository
Written inRuby
Operating systemCross-platform
Typeembedded documentation generator
LicenseGPLv2
WebsiteRDoc documentation

RDoc, designed by Dave Thomas, is an embedded documentation generator for the Ruby programming language. It analyzes Ruby source code, generating a structured collection of pages for Ruby objects and methods. Code comments can be added in a natural style. RDoc is included as part of the Ruby core distribution. The RDoc software and format are successors to the Ruby Document format (with associated software RD).

RDoc can produce usable documentation even if the target source code does not contain explicit comments as it will still parse the classes, modules, and methods, and list them in the generated API files. RDoc also provides the engine for creating Ruby ri data files, providing access to API information from the command line.

RDoc and ri are currently maintained by Eric Hodel and Ryan Davis.

See also