Ruby's documentation generator, with the rdoc and ri command-line tools
open sourceRuby OR GPL-2.0-onlyfree
RDoc is the documentation system for Ruby projects, maintained under the Ruby organization on GitHub. Its rdoc command generates HTML documentation from comments in Ruby and C source files, RBS signature files and Markdown or RDoc markup pages, and its ri command displays documentation in the terminal. It can also be run from Rake with RDoc::Task or programmatically. Markdown support is being improved to replace RDoc markup as the default format.
Problems it solves
- generate HTML API documentation for my Ruby gem from its code comments
- look up a Ruby method's documentation from the terminal without a browser
- publish documentation for a Ruby project that includes its RBS type signatures
Features
- generate HTML documentation from comments in Ruby and C source files
- read RBS signature files, adding their comments and type signatures to the docs
- Markdown and RDoc markup for comments and pages
- ri: browse documentation from the command line
- Rake task (RDoc::Task) and a Ruby API for generating docs
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what RDoc does.
