Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / jsdoc
Schema registry

jsdoc

JSDoc configuration file

conf.jsonjsdoc.json

Check your file against this schema

Opens the validator with this schema already loaded. Paste your conf.json and it validates in your browser — nothing is uploaded.

Validate a conf.json → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
pluginsarrayEnables plugins for JSDoc
default: []
recurseDepthintegerControls recursion depth for source files and tutorials
default: 10
sourceobjectDetermines the set of input files
source.includearrayAn array of paths to input files
source.excludearrayAn array of paths to exclude from input
source.includePatternstringForces input filenames to match regular expression
default: ".+\\.js(doc|x)?$"
source.excludePatternstringForces input filenames to match regular expression
default: "(^|\\/|\\\\)_"
sourceTypestringDetermines how input files are parsed
default: "module"
one of: "module", "script"
optsobjectDetermines flags that `jsdoc` command will be invoked with
opts.accessstringOnly display symbols with the given `access` property
default: "all"
one of: "all", "private", "protected", "public", "undefined"
opts.debugbooleanLog information that can help debug issues in JSDoc itself
opts.destinationstringThe path to the output folder for the generated documentation
default: "./out/"
opts.encodingstringAssume this encoding when reading all source files
default: "utf8"
opts.packagestringThe `package.json` file that contains the project name, version, and other details
opts.pedanticbooleanTreat errors as fatal errors, and treat warnings as errors
default: false
opts.readmestringThe README.md file to include in the generated documentation
opts.recursebooleanRecurses to subdirectories when searching input files
default: false
opts.templatestringThe path to the template to use for generating output
default: "templates/default"
opts.testbooleanRun JSDoc's test suite, and print the results to the console
default: false
opts.tutorialsstringDirectory in which JSDoc should search for tutorials
tagsobjectControls allowed JSDoc tags and their interpretation
tags.allowUnknownTagsboolean | arrayDetermines how to handle unrecognized tags
default: true
tags.dictionariesarray<string>Controls which tags JSDoc recognizes and how they are interpreted
templatesobjectAffects the appearance and content of generated documentation
templates.cleverLinksbooleanControls @link tag text rendering
default: false
templates.defaultobject
templates.default.includeDatebooleanControls if current date is displayed in the footer of documentation
default: true
templates.default.layoutFilestringPath to layout file to use for documentation template
default: "layout.tmpl"
templates.default.outputSourceFilesbooleanDisables pretty-printed source files
default: true
templates.default.staticFilesobject
templates.default.useLongnameInNavbooleanControls if shortened or longhand version of a symbol will be shown in documentation
default: false
templates.monospaceLinksbooleanControls @link tag text rendering
default: false

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$commentJSON Schema Core, draft 2020-12§8.3 — Comments With "$comment"
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
examplesJSON Schema Validation, draft 2020-12§9.5 — "examples"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
uniqueItemsJSON Schema Validation, draft 2020-12§6.4.3 — "uniqueItems"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas