plugin-config
Write and debug rspress-plugin-api-extractor configuration in an rspress.config.ts. Use when editing the ApiExtractorPlugin(...) options object — api: vs apis: single/multi shapes, versions:/multiVersion, i18n locales, the api.fromDir/apis.fromDir helpers, baseRoute/apiFolder routing, categories/DEFAULT_CATEGORIES, externalPackages/autoDetectDependencies, source links, theme (Shiki) and --api-* CSS variables, llmsPlugin, observability/logLevel, the serve() dev/preview runner, .api.json model plumbing — or when a build fails with a route collision or a Twoslash/model error. Do NOT use for RSPress mechanics outside the plugin — _meta.json/_nav.json routing, page frontmatter, built-in components, --rp-* theming (see rspress-core); for what goes inside a with-api code fence — notation, @errors, ---cut--- (see twoslash); or for the editorial call of what deserves documenting (see doc-writer).
Pinned to revision f3ac0940b75a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/plugin-config/SKILL.md
- skills/plugin-config/references/config-reference.md
- skills/plugin-config/references/llms.md
- skills/plugin-config/references/model-plumbing.md
- skills/plugin-config/references/recipes.md
- skills/plugin-config/references/theming.md
- skills/plugin-config/references/troubleshooting.md
Every link opens the file at its source, pinned to the revision this page describes.