docs-site/obsidian-external-type-links
The Obsidian layer of a documentation site’s external type links, for DocsSiteConfig.externalTypeLinks of @mnaoumov/typescript-dev-toolkit/docs-site/docs-site-config.
The generic builder’s own map covers the TypeScript and DOM libraries only, leaving an ecosystem’s references to the layer documenting it, as this package’s ESLint config layers on the generic one. An Obsidian plugin’s API names the CodeMirror and Moment types Obsidian re-exports, which no documented package declares.
Variables
Section titled “Variables”| Variable | Description |
|---|---|
| OBSIDIAN_EXTERNAL_TYPE_LINKS | The CodeMirror and Moment type names an Obsidian package’s API names, mapped to the page their references link to. Pass it as a site’s externalTypeLinks, or spread it into a larger map: ts export const DOCS_SITE_CONFIG: DocsSiteConfig = \{ externalTypeLinks: OBSIDIAN_EXTERNAL_TYPE_LINKS, repo: 'my-package', title: 'My Package' \}; |