Skip to content
SPECIFICTION
Get listed

RDoc vs rustdoc

RDoc

ruby.github.io

rustdoc

doc.rust-lang.org

Side by side

FigureRDocrustdoc
Price fromFree—
Free planYes—
Free trial——
Open source——
Windows—Yes
macOS—Yes
LinuxYesYes
Self-hostedYes—
Plans published10
Spec score · Documentation Generators8.1 (#8)7.4 (#23)
PurposeRDoc produces HTML and command-line documentation for Ruby projects, with `rdoc` and `ri` tools to generate and display it.rustdoc generates documentation for Rust projects from a crate root or Markdown file, producing HTML, CSS, and JavaScript.
SupportThe project directs users to CONTRIBUTING.md for filing bug reports.The Rust site directs users to the documentation, Rust Forge contributor documentation, and the Users Forum for help.

Plans

RDoc

  • RDocFree

RDoc pricing →

rustdoc

No plans published.

rustdoc pricing →

In their own words

RDoc

RDoc is free software for producing Ruby project documentation as HTML pages and command-line reference output. The `rdoc` command generates documentation, while `ri` displays it. It processes Ruby, C, and RBS source files, plus RDoc markup, Markdown, RD, and TomDoc documents. RBS declarations can describe classes, modules, methods, attributes, and constants, and can add comments or type signatures to matching Ruby source documentation. A local preview server watches source files and refreshes the browser after changes. It uses Ruby’s built-in TCPServer and needs no external gems, but provides neither HTTPS nor HTTP/2 and is intended only for local previews. RDoc reports documentation coverage with `rdoc -C`, or includes parameter names with `rdoc -C1`. Generation can be automated through Rake or the RDoc API. Aliki is the default theme; Darkfish is deprecated. Ruby 3.2.0 or newer is required for the current gem.

Visit ruby.github.io

rustdoc

rustdoc has no write-up on Specifiction yet; its figures are above.

Visit doc.rust-lang.org