[PR #6548] [CLOSED] docs: upgrade to latest fumadocs version #6737

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6548
Author: @bytaesu
Created: 12/5/2025
Status: Closed

Base: canaryHead: 2025-12-05/docs/upgrade-fumadocs


📝 Commits (10+)

📊 Changes

21 files changed (+737 additions, -312 deletions)

View changed files

📝 docs/.env.example (+4 -4)
📝 docs/app/docs/[[...slug]]/page.tsx (+2 -2)
📝 docs/app/docs/layout.tsx (+5 -2)
📝 docs/app/layout.tsx (+3 -2)
docs/components/docs/contexts/page-styles.tsx (+27 -0)
📝 docs/components/docs/docs.client.tsx (+4 -2)
📝 docs/components/docs/docs.tsx (+6 -5)
📝 docs/components/docs/layout/nav.tsx (+2 -2)
📝 docs/components/docs/layout/toc.tsx (+3 -2)
📝 docs/components/docs/page.client.tsx (+8 -11)
📝 docs/components/docs/page.tsx (+2 -3)
📝 docs/components/mobile-search-icon.tsx (+1 -1)
📝 docs/components/search-dialog.tsx (+10 -4)
📝 docs/components/side-bar.tsx (+1 -1)
📝 docs/components/sidebar-content.tsx (+3 -3)
📝 docs/lib/llm-text.ts (+3 -3)
📝 docs/lib/source.ts (+5 -7)
📝 docs/package.json (+7 -7)
📝 docs/scripts/sync-orama.ts (+8 -5)
📝 docs/source.config.ts (+5 -0)

...and 1 more files

📄 Description

The migration is done.

But, before merging this, we need to complete the new app.orama.com platform setup and configure the server environment variables.


Summary by cubic

Upgraded the docs site to the latest Fumadocs (core/ui/mdx) and migrated search to Orama Cloud via @orama/core with score-based group sorting. This modernizes providers and types, and LLM features now read processed markdown for better accuracy.

  • Dependencies

    • Upgraded fumadocs-core/ui to 16.4.0 and fumadocs-mdx to 14.2.2.
    • Upgraded fumadocs-docgen to 3.0.4 and fumadocs-typescript to ^5.0.0.
    • Replaced @oramacloud/client with @orama/core ^1.2.16.
  • Migration

    • Update .env to use: NEXT_PUBLIC_ORAMA_PROJECT_ID, NEXT_PUBLIC_ORAMA_DATASOURCE_ID, NEXT_PUBLIC_ORAMA_PUBLIC_API_KEY, ORAMA_PRIVATE_API_KEY.
    • Rebuild and reindex search: run a production build, then execute docs/scripts/sync-orama.ts.
    • Blog routes are now under /blog instead of /blogs.
    • Search groups now sort by score for better top results.

Written for commit fec0f658d5. Summary will update automatically 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/6548 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 12/5/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `2025-12-05/docs/upgrade-fumadocs` --- ### 📝 Commits (10+) - [`dd2ab5e`](https://github.com/better-auth/better-auth/commit/dd2ab5ebae8f1471c51a5d712776c4afcd0983fa) chore: bump version - [`35d44fa`](https://github.com/better-auth/better-auth/commit/35d44fa796932c0b260f4dcff21ecc4de137b4d2) chore: migrate PageTree - [`eb67de2`](https://github.com/better-auth/better-auth/commit/eb67de216dd1b8c81776da93b5729e7f7509e040) chore: migrate TOC types - [`3460845`](https://github.com/better-auth/better-auth/commit/34608458d7a853ea8e621c52654e0d8a517ff72e) chore: migrate providers except for styles - [`0a9c0d9`](https://github.com/better-auth/better-auth/commit/0a9c0d9d870d42e7517b7116174e4ef0de0ae62c) complete upgrade to latest fumadocs version - [`b191e82`](https://github.com/better-auth/better-auth/commit/b191e827a23aa9bb1c6a0d8ebc133cce06331ef7) fix: lint - [`f37a73b`](https://github.com/better-auth/better-auth/commit/f37a73bf9ad09ecb71dd19a9871c9a1f433ac4d8) chore: update env example - [`8f7ae1d`](https://github.com/better-auth/better-auth/commit/8f7ae1d43902fda23ff5dab923ffc43ef4ff2cee) chore: revert unnecessary change - [`db1a4d9`](https://github.com/better-auth/better-auth/commit/db1a4d96cdbc83675f6a17a37b208873aab624d5) chore: apply current changes - [`07cc530`](https://github.com/better-auth/better-auth/commit/07cc5306e7a3c301f7d5a10f8ed961efa34805d1) fix: lockfile ### 📊 Changes **21 files changed** (+737 additions, -312 deletions) <details> <summary>View changed files</summary> 📝 `docs/.env.example` (+4 -4) 📝 `docs/app/docs/[[...slug]]/page.tsx` (+2 -2) 📝 `docs/app/docs/layout.tsx` (+5 -2) 📝 `docs/app/layout.tsx` (+3 -2) ➕ `docs/components/docs/contexts/page-styles.tsx` (+27 -0) 📝 `docs/components/docs/docs.client.tsx` (+4 -2) 📝 `docs/components/docs/docs.tsx` (+6 -5) 📝 `docs/components/docs/layout/nav.tsx` (+2 -2) 📝 `docs/components/docs/layout/toc.tsx` (+3 -2) 📝 `docs/components/docs/page.client.tsx` (+8 -11) 📝 `docs/components/docs/page.tsx` (+2 -3) 📝 `docs/components/mobile-search-icon.tsx` (+1 -1) 📝 `docs/components/search-dialog.tsx` (+10 -4) 📝 `docs/components/side-bar.tsx` (+1 -1) 📝 `docs/components/sidebar-content.tsx` (+3 -3) 📝 `docs/lib/llm-text.ts` (+3 -3) 📝 `docs/lib/source.ts` (+5 -7) 📝 `docs/package.json` (+7 -7) 📝 `docs/scripts/sync-orama.ts` (+8 -5) 📝 `docs/source.config.ts` (+5 -0) _...and 1 more files_ </details> ### 📄 Description The migration is done. But, before merging this, we need to complete the new [app.orama.com](https://app.orama.com) platform setup and configure the server environment variables. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Upgraded the docs site to the latest Fumadocs (core/ui/mdx) and migrated search to Orama Cloud via @orama/core with score-based group sorting. This modernizes providers and types, and LLM features now read processed markdown for better accuracy. - **Dependencies** - Upgraded fumadocs-core/ui to 16.4.0 and fumadocs-mdx to 14.2.2. - Upgraded fumadocs-docgen to 3.0.4 and fumadocs-typescript to ^5.0.0. - Replaced @oramacloud/client with @orama/core ^1.2.16. - **Migration** - Update .env to use: NEXT_PUBLIC_ORAMA_PROJECT_ID, NEXT_PUBLIC_ORAMA_DATASOURCE_ID, NEXT_PUBLIC_ORAMA_PUBLIC_API_KEY, ORAMA_PRIVATE_API_KEY. - Rebuild and reindex search: run a production build, then execute docs/scripts/sync-orama.ts. - Blog routes are now under /blog instead of /blogs. - Search groups now sort by score for better top results. <sup>Written for commit fec0f658d51888d7a766693c6328580d9c93b455. Summary will update automatically 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-03-13 13:09:58 -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#6737