On this page

A generator is an output format.

TargetOutput
htmlThe modern documentation site: server-rendered, hydrated, themeable.
orama-dbThe search index behind the html site's search box.
llms-txtAn llms.txt index for language models.
sitemapA sitemap.xml for search engines.
section-pagesThe html site and sitemap, plus one page per section of a module.
TargetOutput
json-simpleA simplified JSON rendering of the parsed documentation.

1:1 matches for Node.js's original documentation tooling, for consumers of the classic layouts.

TargetOutput
legacy-htmlOne classic HTML page per document.
legacy-html-allThe single-page all.html bundle.
legacy-jsonThe classic per-document JSON.
legacy-json-allThe single-file JSON bundle.

Outputs consumed by the Node.js project's own build and release processes.

TargetOutput
man-pageThe node.1 manual page.
api-linksA map of API symbols to their source locations.
addon-verifyExtracted addon code samples, arranged for testing.

The targets above are built on a few shared stages, each of which is itself a generator.

StageProduces
astMarkdown parsed into MDAST, across worker threads.
ast-jsJavaScript sources parsed into an AST.
metadataThe flattened API entries every output is built from.
jsx-astThose entries as JSX, ready for the web generators.

A target can also be an import specifier — a package export or a local file whose default export is a generator:

To build one, see Creating generators.