RDoc – documentation generator for Ruby

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
MarkdownMarkup language and Text-to-HTML conversion tool
MultiMarkdownBased on Markdown with additional features
GitHub Flavored MarkdownFor user content on GitHub.com and GitHub Enterprise
Markdown ExtraLightweight markup language based on Markdown
AsciiDocPresentable text document format for writing articles
TextileBilled as a "humane web text generator"
TexyText-to-XHTML formatter and converter library
TomeMarkup Language and Tool Suite for Authors
reStructuredTextMarkup Syntax and Parser Component of Docutils
HamlTemplating engine for HTML
JsonMLMap between XML and JSON
TOMLTom’s Obvious Minimal Language
DjotLight markup language inspired by CommonMark
Org-modePlain text markup for notes, documents, and workflows

Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted