Skip to content

apiReference

apiReference(__namedParameters): ApiReference

Defined in: index.ts:129

The generated API reference of one package: its TSDoc comments, run through TypeDoc each time the docs are built or served, as pages under <package>/api and a collapsed sidebar group. Nothing generated is committed.

starlight-typedoc ships TypeScript source, so, like starlight and docsTheme, it is imported by the site’s own config and passed in, which keeps Astro’s loader in charge of it. Install starlight-typedoc, typedoc and typedoc-plugin-markdown in the site.

ApiReferenceInput

ApiReference