[PR #7101] [MERGED] Bump Fumadocs #23977

Closed
opened 2026-04-15 22:06:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7101
Author: @fuma-nama
Created: 1/2/2026
Status: Merged
Merged: 1/2/2026
Merged by: @Bekacru

Base: canaryHead: canary


📝 Commits (2)

📊 Changes

16 files changed (+4925 additions, -1381 deletions)

View changed files

📝 docs/app/docs/[[...slug]]/page.tsx (+2 -46)
📝 docs/app/layout.tsx (+26 -35)
📝 docs/components/docs/docs.client.tsx (+3 -3)
📝 docs/components/docs/docs.tsx (+28 -31)
📝 docs/components/docs/layout/nav.tsx (+1 -1)
📝 docs/components/docs/layout/toc.tsx (+2 -5)
📝 docs/components/docs/page.client.tsx (+5 -15)
📝 docs/components/docs/page.tsx (+1 -1)
📝 docs/components/mobile-search-icon.tsx (+1 -1)
📝 docs/components/side-bar.tsx (+1 -1)
📝 docs/lib/llm-text.ts (+5 -68)
📝 docs/lib/source.ts (+6 -6)
📝 docs/package.json (+5 -6)
📝 docs/source.config.ts (+21 -14)
📝 docs/tsconfig.json (+1 -1)
📝 pnpm-lock.yaml (+4817 -1147)

📄 Description

To Fumadocs 16 and MDX 14.


Summary by cubic

Upgrade docs to Fumadocs v16 and MDX v14, aligning providers/contexts and simplifying MDX processing. This reduces custom code, fixes doc URLs, and makes the docs runtime more reliable.

  • Dependencies

    • fumadocs-core 16.4.2, fumadocs-ui 16.4.2, fumadocs-mdx 14.2.4
    • fumadocs-typescript ^5.0.1
    • pnpm lock updated
    • scripts:sync-orama now uses bun
  • Refactors

    • RootProvider moved to fumadocs-ui/provider/next; removed ThemeProvider
    • Replaced provider hooks with new contexts (i18n, tree, sidebar, search)
    • Removed StylesProvider/usePageStyles; applied CSS classes directly
    • Added SidebarProvider; adjusted SidebarTrigger types
    • Switched source loaders to fumadocs-mdx/runtime/server (toFumadocsSource)
    • source.config: enabled includeProcessedMarkdown, added last-modified, cached types with createFileSystemGeneratorCache, moved remarkNpm to remarkNpmOptions
    • llm-text: use docPage.data.getText("processed"); dropped custom Remark pipeline and filesystem fallbacks
    • Fixed links/metadata: githubUrl uses page.path; canonical URL uses page.url

Written for commit df214fd2ae. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7101 **Author:** [@fuma-nama](https://github.com/fuma-nama) **Created:** 1/2/2026 **Status:** ✅ Merged **Merged:** 1/2/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (2) - [`1de8643`](https://github.com/better-auth/better-auth/commit/1de86432900b77a6cd0095c552c44a2a5003a49d) bump fumadocs - [`df214fd`](https://github.com/better-auth/better-auth/commit/df214fd2aea81ec0e781ad3e8bd1efcec9aacfdf) apply biome fix ### 📊 Changes **16 files changed** (+4925 additions, -1381 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/docs/[[...slug]]/page.tsx` (+2 -46) 📝 `docs/app/layout.tsx` (+26 -35) 📝 `docs/components/docs/docs.client.tsx` (+3 -3) 📝 `docs/components/docs/docs.tsx` (+28 -31) 📝 `docs/components/docs/layout/nav.tsx` (+1 -1) 📝 `docs/components/docs/layout/toc.tsx` (+2 -5) 📝 `docs/components/docs/page.client.tsx` (+5 -15) 📝 `docs/components/docs/page.tsx` (+1 -1) 📝 `docs/components/mobile-search-icon.tsx` (+1 -1) 📝 `docs/components/side-bar.tsx` (+1 -1) 📝 `docs/lib/llm-text.ts` (+5 -68) 📝 `docs/lib/source.ts` (+6 -6) 📝 `docs/package.json` (+5 -6) 📝 `docs/source.config.ts` (+21 -14) 📝 `docs/tsconfig.json` (+1 -1) 📝 `pnpm-lock.yaml` (+4817 -1147) </details> ### 📄 Description To Fumadocs 16 and MDX 14. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Upgrade docs to Fumadocs v16 and MDX v14, aligning providers/contexts and simplifying MDX processing. This reduces custom code, fixes doc URLs, and makes the docs runtime more reliable. - **Dependencies** - fumadocs-core 16.4.2, fumadocs-ui 16.4.2, fumadocs-mdx 14.2.4 - fumadocs-typescript ^5.0.1 - pnpm lock updated - scripts:sync-orama now uses bun - **Refactors** - RootProvider moved to fumadocs-ui/provider/next; removed ThemeProvider - Replaced provider hooks with new contexts (i18n, tree, sidebar, search) - Removed StylesProvider/usePageStyles; applied CSS classes directly - Added SidebarProvider; adjusted SidebarTrigger types - Switched source loaders to fumadocs-mdx/runtime/server (toFumadocsSource) - source.config: enabled includeProcessedMarkdown, added last-modified, cached types with createFileSystemGeneratorCache, moved remarkNpm to remarkNpmOptions - llm-text: use docPage.data.getText("processed"); dropped custom Remark pipeline and filesystem fallbacks - Fixed links/metadata: githubUrl uses page.path; canonical URL uses page.url <sup>Written for commit df214fd2aea81ec0e781ad3e8bd1efcec9aacfdf. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:06:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#23977