Skip to content
SPECIFICTION
Get listed

JSON Schema for Humans vs Scaladoc

JSON Schema for Humans

json-schema-for-humans.readthedocs.io

Scaladoc

docs.scala-lang.org

Side by side

FigureJSON Schema for HumansScaladoc
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hostedYes—
Plans published11
Spec score · Documentation Generators8.6 (#4)7.6 (#19)
IntegrationsA `techdocs` template is described as optimized for TechDocs and MkDocs Material.The Scala documentation names sbt as the easiest and most commonly used way to generate Scaladoc from Scala code.
PurposeThe project generates static HTML or Markdown pages documenting JSON Schema.Scaladoc is Scala’s main documentation tool and generates documentation related to the structure of Scala source code from comments in that code.

Plans

JSON Schema for Humans

  • Free / open sourceFree

JSON Schema for Humans pricing →

Scaladoc

  • ScaladocFree

Scaladoc 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

Scaladoc

Scaladoc is Scala’s documentation tool for generating material about the structure of Scala source code from comments in that code. Library authors can document code for library users and other developers who need API references. Comments support Markdown in Scala 3 and legacy Wikidoc syntax, with tags for parameters, type parameters, return values, exceptions, examples, versions and deprecation. Comments can be inherited from superclasses and traits, either implicitly or using an explicit tag. Scaladoc generates HTML through sbt or its command-line tool; sbt is described as the easier route for complex projects. Generated pages can show package breadcrumbs, linear supertypes, known subclasses, type hierarchies and links to online source when available. The tool can also create static sites for documentation and blog posts. Searching for methods and fields by type is supported, though that feature is still in development. Inputs include Scala source code, TASTy files and JAR files. Scaladoc is free and open source, with no paid plans or usage limits stated.

Visit docs.scala-lang.org