Skip to content

fix(docs): upgrade to Next.js 16 and fix fumadocs integration#177

Merged
mym0404 merged 8 commits intomainfrom
fix/docs
Nov 20, 2025
Merged

fix(docs): upgrade to Next.js 16 and fix fumadocs integration#177
mym0404 merged 8 commits intomainfrom
fix/docs

Conversation

@mym0404
Copy link
Owner

@mym0404 mym0404 commented Nov 20, 2025

Type of change

  • Enhance (enhance performance, api, etc)
  • Chore
  • This change requires a documentation update

What does this change?

Upgrades the documentation site to Next.js 16 and resolves compatibility issues with fumadocs packages.

Key Changes

Dependencies:

  • Upgrade Next.js from 15.5.2 to 16.0.3
  • Upgrade fumadocs-core, fumadocs-mdx, fumadocs-ui to v16
  • Update React to 19.2.0
  • Add shiki package to resolve Turbopack external package warnings
  • Update react-native-builder-bob to ^0.40.15

fumadocs Integration:

  • Fix import path from '@/.source' to 'fumadocs-mdx:collections/server' for fumadocs-mdx v14
  • Add path mapping for 'fumadocs-mdx:collections/*' in tsconfig
  • Update jsx compiler to 'react-jsx' for Next.js 16 compatibility
  • Include .next/dev/types in tsconfig

Code Style:

  • Apply coding standards for JSX props (curly braces)
  • Add explicit type annotations where needed

Build Configuration:

  • Rename middleware.ts to proxy.ts
  • Sync version to 2.6.7

- Upgrade next to 16.0.3 using catalog version
- Add shiki ^3.15.0 to resolve Turbopack external package warnings
- Update React to 19.2.0 in catalog and lock file
- Bump fumadocs packages with Next.js 16 compatibility
- Change import from '@/.source' to 'fumadocs-mdx:collections/server'
- Add 'fumadocs-mdx:collections/*' path mapping to tsconfig
- Update jsx to 'react-jsx' for Next.js 16 compatibility
- Include .next/dev/types in tsconfig
- Add explicit any type annotation for page variable
- Use curly braces for Script src prop per coding standards
Align fix/docs branch version with main branch release
Add documentation build verification to CI pipeline to ensure
Next.js 16 upgrade and fumadocs integration work correctly.
@mym0404 mym0404 merged commit 39af499 into main Nov 20, 2025
4 checks passed
@mym0404 mym0404 deleted the fix/docs branch November 20, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant