docs: refresh adapter pages with hand-authored MDX#474
Draft
docs: refresh adapter pages with hand-authored MDX#474
Conversation
Move official adapter pages from runtime README fetching to hand-authored
MDX under content/adapters/{official,community}/<slug>.mdx.
- New fumadocs collection (source.config.ts) with adapter frontmatter
(packageName, slug, type, logo, tagline, beta, features, ...).
- New URL structure: /adapters/official/<slug> and /adapters/community/<slug>.
Legacy /adapters/<slug> and /docs/adapters/* now 301 to /adapters listing.
- New components: PackageInstall (pnpm/npm/yarn/bun tabs), FeatureSupport
(per-page mini matrix from frontmatter), GlobalFeatureMatrix (drives
/docs/adapters from the same frontmatter), AdapterHero.
- Standardized template: Install -> Quick start -> Configuration (TypeTable)
-> Authentication -> Advanced -> Feature support.
- Adapter pages now share the same docs chrome as /docs (sidebar + ToC +
edit-on-GitHub). Sidebar groups official adapters flat with sub-headings
for Platforms / State, then a collapsible "Community Adapters" section.
- Community pages keep README fetching via the new route until they
migrate to MDX; URLs are stable.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
apps/docs/content/adapters/{official,community}/<slug>.mdx, served from a new fumadocs collection./adapters/official/<slug>and/adapters/community/<slug>. Legacy/adapters/<slug>and/docs/adapters/*301 to/adapterslisting (next.config.ts)./docschrome (sidebar, ToC, edit-on-GitHub). Sidebar lists official adapters flat withPlatforms/Statesub-headings, then a collapsible Community Adapters section with a divider above it.<PackageInstall>(pnpm/npm/yarn/bun tabs),<FeatureSupport>(per-page mini matrix from frontmatter),<GlobalFeatureMatrix>(drives/docs/adaptersfrom the same frontmatter),<AdapterHero>.<TypeTable>) → Authentication → Advanced → Feature support.