RDoc is the standard documentation generator for Ruby projects, producing HTML and command-line documentation from source code.
RDoc is the standard documentation generator for the Ruby programming language. It parses Ruby source files and extracts structured documentation from comments, producing HTML pages for web viewing and command-line documentation accessible via the `ri` tool. It solves the problem of keeping code documentation synchronized with the source by generating it directly from the codebase.
Ruby developers and gem maintainers who need to create and maintain documentation for their projects, libraries, or applications. It is particularly useful for open-source projects where clear, accessible documentation is essential for adoption.
Developers choose RDoc because it is the built-in, battle-tested documentation tool for Ruby, requiring no external dependencies. Its tight integration with the Ruby ecosystem, support for multiple markup formats, and live preview server make it a comprehensive solution for documentation workflows.
RDoc produces HTML and online documentation for Ruby projects.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
RDoc comes pre-installed with Ruby, requiring no external dependencies and seamlessly working with tools like `ri` for command-line access, making it a standard choice for Ruby projects.
The built-in server watches for file changes and auto-refreshes documentation in the browser, speeding up the documentation writing process without needing external tools.
Supports RDoc markup, Markdown, and legacy formats like RD, with active plans to make Markdown the default, catering to diverse team preferences and migration paths.
Provides coverage reports via `rdoc -C` to identify undocumented code areas, helping maintain comprehensive documentation across large codebases.
RDoc markup is still default for Ruby files, but Markdown is planned to replace it, creating inconsistency and potential migration headaches for existing projects.
The live server lacks HTTPS, has issues with reopened classes (e.g., deleting a file removes the entire class), and fully invalidates cache on changes, making it unsuitable beyond local preview.
Themes like Darkfish are deprecated and will be removed in v8.0, forcing users to update configurations or switch to community themes, which may lack official support.