[PR #7106] [MERGED] chore: bump Fumadocs #15327

Closed
opened 2026-04-13 09:58:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7106
Author: @fuma-nama
Created: 1/3/2026
Status: Merged
Merged: 1/6/2026
Merged by: @himself65

Base: canaryHead: canary


📝 Commits (6)

📊 Changes

19 files changed (+4491 additions, -3708 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/search-dialog.tsx (+26 -30)
📝 docs/components/side-bar.tsx (+1 -1)
📝 docs/lib/export-search-indexes.ts (+1 -1)
📝 docs/lib/llm-text.ts (+5 -68)
📝 docs/lib/source.ts (+10 -6)
📝 docs/package.json (+5 -6)
📝 docs/scripts/sync-orama.ts (+2 -2)
📝 docs/source.config.ts (+21 -14)
📝 docs/tsconfig.json (+1 -1)
📝 pnpm-lock.yaml (+4350 -3441)

📄 Description

Summary by cubic

Upgrade docs to Fumadocs v16 and migrate UI/provider APIs. Keep Orama Cloud search by switching to the legacy client to avoid breaking changes.

  • Refactors

    • Migrate to new provider/context APIs (sidebar, i18n, tree, search), and use RootProvider from next.
    • Remove ThemeProvider; configure dark default via RootProvider.
    • Update source setup to use toFumadocsSource and revised collection paths; set pageTree directly.
    • Cleanup docs and processing: use processed markdown for LLM text, remove custom code block wrappers, fix GitHub link and metadata URL, and adjust TOC visibility.
  • Dependencies

    • Bump fumadocs packages (core/ui 16.4.3, mdx 14.2.4, typescript 5.x).
    • Add last-modified plugin and enable TypeScript generator file-system cache.
    • Use Orama Cloud legacy client/types; run sync script with Bun; refresh pnpm lockfile.

Written for commit 5b633d6157. 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/7106 **Author:** [@fuma-nama](https://github.com/fuma-nama) **Created:** 1/3/2026 **Status:** ✅ Merged **Merged:** 1/6/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (6) - [`2d8615f`](https://github.com/better-auth/better-auth/commit/2d8615feb125f3fd501481a41e98425ab86464d3) bump fumadocs - [`17d8d56`](https://github.com/better-auth/better-auth/commit/17d8d568a530fa335243a89d80cc13894952c208) apply biome fix - [`6bf627c`](https://github.com/better-auth/better-auth/commit/6bf627c274dc8b6464e5536e7eb3f287c07e6d7d) fix: use orama cloud legacy instead - [`c6e5ceb`](https://github.com/better-auth/better-auth/commit/c6e5cebab4d042a2e8ff799920e4cd0a3bd56a6b) fix format - [`4e28ea7`](https://github.com/better-auth/better-auth/commit/4e28ea7a8dfc28042dbfcc692e3eeedaa3806696) fix: lockfile - [`5b633d6`](https://github.com/better-auth/better-auth/commit/5b633d6157fde2a34f4c770312188cd3af8c14a8) chore: include fumadocs-mdx in tsconfig path ### 📊 Changes **19 files changed** (+4491 additions, -3708 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/search-dialog.tsx` (+26 -30) 📝 `docs/components/side-bar.tsx` (+1 -1) 📝 `docs/lib/export-search-indexes.ts` (+1 -1) 📝 `docs/lib/llm-text.ts` (+5 -68) 📝 `docs/lib/source.ts` (+10 -6) 📝 `docs/package.json` (+5 -6) 📝 `docs/scripts/sync-orama.ts` (+2 -2) 📝 `docs/source.config.ts` (+21 -14) 📝 `docs/tsconfig.json` (+1 -1) 📝 `pnpm-lock.yaml` (+4350 -3441) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Upgrade docs to Fumadocs v16 and migrate UI/provider APIs. Keep Orama Cloud search by switching to the legacy client to avoid breaking changes. - **Refactors** - Migrate to new provider/context APIs (sidebar, i18n, tree, search), and use RootProvider from next. - Remove ThemeProvider; configure dark default via RootProvider. - Update source setup to use toFumadocsSource and revised collection paths; set pageTree directly. - Cleanup docs and processing: use processed markdown for LLM text, remove custom code block wrappers, fix GitHub link and metadata URL, and adjust TOC visibility. - **Dependencies** - Bump fumadocs packages (core/ui 16.4.3, mdx 14.2.4, typescript 5.x). - Add last-modified plugin and enable TypeScript generator file-system cache. - Use Orama Cloud legacy client/types; run sync script with Bun; refresh pnpm lockfile. <sup>Written for commit 5b633d6157fde2a34f4c770312188cd3af8c14a8. 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-13 09:58:08 -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#15327