A Starlight plugin using TypeDoc and typedoc-plugin-markdown to generate documentation from TypeScript code.
Check out the example for a preview of the generated documentation.
Some TSDoc tags uses a custom Markdown syntax, e.g. the @deprecated
, @alpha
, @beta
and @experimental
tags using Starlight asides:
Install the plugin
Starlight TypeDoc is a Starlight plugin. Install it and its peer dependencies using your favorite package manager:
Add the plugin
The Starlight TypeDoc plugin can be added to your Starlight configuration in the astro.config.mjs
file:
The Starlight TypeDoc plugin behavior can be tweaked using various configuration options.