JSON Schema for Humans vs Scaladoc
JSON Schema for Humans
json-schema-for-humans.readthedocs.ioScaladoc
docs.scala-lang.orgSide by side
| Figure | JSON Schema for Humans | Scaladoc |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · Documentation Generators | 8.6 (#4) | 7.6 (#19) |
| Integrations | A `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. |
| Purpose | The 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
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`.
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.