# RDoc

> Ruby's documentation generator, with the rdoc and ri command-line tools

Source: https://talira.ai/catalog/rdoc-prd1xsh8
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / documentation / reference generators](https://talira.ai/categories/developer-tools/documentation/reference-generators)
- Licence: Ruby OR GPL-2.0-only[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Ruby core team](https://talira.ai/orgs/ruby-core-team.md)

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.

## Links

- Website: https://ruby.github.io/rdoc/
- GitHub: https://github.com/ruby/rdoc
- Docs: https://ruby.github.io/rdoc/

## 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

## Trust

Overall: 0.64 out of 1.
Signals: maintenance 1.00, adoption 0.59, momentum 0.23, community 0.87, backing 0.30, extensibility 0.20.

- last commit 6 days ago
- 65 commits in the last 90 days
- latest release v8.1.0 2 months ago
- 931 GitHub stars
- 149 contributors
- backed by Ruby core team

## Alternatives

- [YARD](https://talira.ai/catalog/yard-669be20p.md): A Ruby documentation tool
- [JSDoc](https://talira.ai/catalog/jsdoc-sb33nq9y.md): API documentation generator for JavaScript from comments in the code
- [Doxygen](https://talira.ai/catalog/doxygen-jhchwqz6.md): Code documentation. Automated. Free, open source, cross-platform.
- [Dokka](https://talira.ai/catalog/dokka-708y2m0q.md): API documentation engine for Kotlin
- [DocFX](https://talira.ai/catalog/docfx-ghfyjykt.md): Static site generator for .NET API documentation

## Sources

[^1]: https://github.com/ruby/rdoc/blob/master/LICENSE.rdoc (checked 26 Nov 2026)
