Replace <TSDoc> component with typedoc-generated API reference pages#1611
Replace <TSDoc> component with typedoc-generated API reference pages#1611TooTallNate wants to merge 1 commit intomainfrom
<TSDoc> component with typedoc-generated API reference pages#1611Conversation
Replace the custom <TSDoc> component (using ts-morph at build time) with typedoc + typedoc-plugin-markdown to generate dedicated .mdx pages for each exported function, class, interface, and type alias. This gives every API symbol its own URL, making the docs more useful for AI agents reading raw markdown and enabling better cross-linking. - Add typedoc, typedoc-plugin-markdown, and typedoc-plugin-frontmatter - Create per-package typedoc configs for all 7 documented packages - Add typedoc-formatter.mjs plugin for frontmatter injection and MDX escaping - Add copy-api-docs.sh to copy generated output into Fumadocs content tree - Update 31 hand-written MDX files to replace <TSDoc> with links to generated pages - Remove docs/lib/tsdoc/ (ts-morph based component) and its dependencies - Add turbo task and build pipeline integration
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No benchmark result files found in benchmark-results |
🧪 E2E Test Results❌ Some tests failed Summary
❌ Failed Tests▲ Vercel Production (1 failed)hono (1 failed):
Details by Category❌ ▲ Vercel Production
✅ 🪟 Windows
❌ Some E2E test jobs failed:
Check the workflow run for details. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary
<TSDoc>component (which usedts-morphat build time and was invisible to AI agents reading raw MDX) with typedoc + typedoc-plugin-markdown generated pages.mdxpage with its own URLWhat changed
New infrastructure
typedoc.jsonshared config +typedoc-formatter.mjscustom plugin (frontmatter injection, MDX escaping, link cleanup)typedoc.jsonconfigs for all 7 documented packages (workflow,workflow/api,workflow/errors,@workflow/serde,workflow/next,@workflow/ai,@workflow/vitest)docs/copy-api-docs.shscript to copy generated output into the Fumadocs content treetypedocturbo task + build pipeline integration viadocs/prebuildContent changes
<TSDoc>blocks with links to the generated API reference pagesmeta.jsonfiles for sidebar navigation with "Generated API Reference" sectionsRemoved
docs/lib/tsdoc/directory (4 files: customts-morph-based TSDoc component)ts-morphandfumadocs-typescriptdependencies from docsPipeline
Verification
pnpm typedocgenerates all 112 pages across 7 packagespnpm --filter docs buildsucceeds with 651 pages, no errors<TSDoc>references remain in any MDX files