RDoc is a documentation generator for Ruby projects. It extracts information from source files and accompanying comments to produce reference documentation describing the structure and functionality of applications and libraries.
The software examines source code to identify classes, modules, methods and other program elements. Explanatory comments associated with these elements become part of the generated documentation, allowing developers to maintain API descriptions alongside their implementations.
RDoc includes two command-line utilities. The rdoc command generates documentation, while ri provides access to reference information directly from a terminal. This combination allows documentation to be published for other developers or consulted locally when working with Ruby libraries.
Projects can configure which files are documented, select formatting options and integrate documentation generation into their existing development workflows.
This is free and open source software.
Key Features
- Generate HTML documentation from Ruby source files and C extensions.
- Extract classes, modules, methods, constants, attributes and associated documentation comments.
- Parse RBS signature files and incorporate type information into generated documentation.
- Provide the ri command-line utility for browsing Ruby classes, modules and methods.
- Support RDoc markup, Markdown, RD and TomDoc documentation formats.
- Configure the markup format for individual files or entire projects.
- Automatically create cross-references between documented program elements.
- Use documentation directives to control visibility, method descriptions and organisation.
- Generate documentation coverage reports to identify undocumented elements.
- Preview documentation through a local server with automatic browser refreshing when source files change.
- Provide configurable HTML themes, including Aliki and Darkfish.
- Integrate documentation generation into Rake-based development workflows.
- Include standalone documentation files and configure the main documentation page.
- Control file selection, output directories and other generation options through project configuration.
- Provide a programming interface for generating and formatting documentation.
Website: github.com/ruby/rdoc
Support:
Developer: Dave Thomas and Ruby contributors
License: Ruby License or GNU General Public License v2.0
Related Software
| Lightweight Markup Languages | |
|---|---|
| Markdown | Markup language and Text-to-HTML conversion tool |
| MultiMarkdown | Based on Markdown with additional features |
| GitHub Flavored Markdown | For user content on GitHub.com and GitHub Enterprise |
| Markdown Extra | Lightweight markup language based on Markdown |
| AsciiDoc | Presentable text document format for writing articles |
| Textile | Billed as a "humane web text generator" |
| Texy | Text-to-XHTML formatter and converter library |
| Tome | Markup Language and Tool Suite for Authors |
| reStructuredText | Markup Syntax and Parser Component of Docutils |
| Haml | Templating engine for HTML |
| JsonML | Map between XML and JSON |
| TOML | Tom’s Obvious Minimal Language |
| Djot | Light markup language inspired by CommonMark |
| Org-mode | Plain text markup for notes, documents, and workflows |
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.