FREEDOM251

Freedom251 › Compare

Side by side

RDoc vs TypeDoc

Both stand on documentation generators. Which one you can start free with, which one lets you read the code, and what each costs once you pay.

RDoc

Free plan LinuxSelf-hosted

Choose RDoc if your Ruby project needs generated HTML and command-line documentation, with source coverage reporting and a local preview. Look elsewhere if you need a preview server with HTTPS or HTTP/2; RDoc’s server is intended only for local development.

Visit RDoc

TypeDoc

Free plan APILinuxSelf-hosted

Choose TypeDoc if you need free generation of TypeScript documentation from code comments, with built-in HTML and JSON output and a plugin API. Look elsewhere if Markdown output without a plugin is essential. Avoid a global installation when plugins or themes need to work with the same TypeDoc installation.

Visit TypeDoc

The facts

RDocTypeDoc
Free planYesYes
Open sourceNot publishedNot published
Runs onLinux, Self-hostedAPI, Linux, Self-hosted
Lowest paid planFree or on requestFree or on request
Plans published11
MakerNot publishedNot published
Websiteruby.github.iotypedoc.org
On documentation generators#17 of 37#21 of 37

RDoc: what it does well

  • Generates HTML and command-line documentation for Ruby projects.
  • Processes Ruby, C, RBS, and multiple markup formats.
  • Local preview refreshes when watched source files change.
  • Coverage reports can include parameter names.
  • Generation can run through Rake or the RDoc API.

What to know first

  • The preview server is for local use and has no HTTPS or HTTP/2.
  • The current gem requires Ruby 3.2.0 or newer.
  • Darkfish is deprecated and planned for removal in v9.0.

TypeDoc: what it does well

  • Generates HTML and JSON documentation from TypeScript comments.
  • Follows re-exports when documenting project members.
  • Supports TSDoc, JSDoc, Markdown comments and syntax highlighting.
  • Plugins can add themes and alter conversion or display.
  • Can combine npm monorepo package documentation into one site.

What to know first

  • Markdown output requires a plugin.
  • Global installation can cause plugins or themes to use a separate TypeDoc installation and break.
  • The tool requires Node.js.

Alternatives to RDoc Alternatives to TypeDoc The whole list