Skip to content
SPECIFICTION
Get listed

JSON Schema for Humans vs RDoc

JSON Schema for Humans

json-schema-for-humans.readthedocs.io

RDoc

ruby.github.io

Side by side

FigureJSON Schema for HumansRDoc
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYes—
macOSYes—
LinuxYesYes
Self-hostedYesYes
Plans published11
Spec score · Documentation Generators8.6 (#3)8.1 (#8)
Input formatsThe CLI accepts valid JSON Schema in JSON or YAML format, from a file, directory, glob pattern, or comma-separated list.RDoc processes Ruby, C, and RBS source files, along with markup files.
LicenseThe project is licensed under Apache License 2.0.RDoc is free software and may be redistributed under the terms in its license file.
PurposeThe project generates static HTML or Markdown pages documenting JSON Schema.RDoc produces HTML and command-line documentation for Ruby projects, with `rdoc` and `ri` tools to generate and display it.
SupportThe project README invites contributions and directs users to its contributing guide.The project directs users to CONTRIBUTING.md for filing bug reports.

Plans

JSON Schema for Humans

  • Free / open sourceFree

JSON Schema for Humans pricing →

RDoc

  • RDocFree

RDoc pricing →

In their own words

JSON Schema for Humans

JSON Schema for Humans generates static HTML or Markdown documentation from valid JSON Schema files. Inputs can be JSON or YAML, supplied to its command-line interface as a file, directory, glob pattern, or comma-separated list; Python methods are also available. Multiple templates produce different outputs. The default JavaScript template provides expandable sections, tabs for conditional subschemas, and anchor links. The js_offline template bundles CSS and JavaScript for offline viewing. Markdown output can be published without an HTTP server and is rendered by GitHub when browsing code. A techdocs template is described as optimized for TechDocs and MkDocs Material. References can point within a schema, to local files, or to URLs, including circular references, and the project lists JSON Schema Draft-07 support. Safe mode escapes HTML tags in descriptions by default, while configuration can allow HTML. Property names and size, property dependencies, and media are listed as unsupported. The Apache-2.0 licensed package documents installation with `pip install json-schema-for-humans`.

Visit json-schema-for-humans.readthedocs.io

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