Skip to content

chore(website): upgrade Docusaurus from v2 to v3#235

Open
robingenz wants to merge 8 commits intomainfrom
chore/docusaurus-v3
Open

chore(website): upgrade Docusaurus from v2 to v3#235
robingenz wants to merge 8 commits intomainfrom
chore/docusaurus-v3

Conversation

@robingenz
Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade @docusaurus/core from 2.4.3 to 3.10.0 with all related dependencies (React 18, MDX v3, prism-react-renderer v2, docusaurus-plugin-sass 0.2.6)
  • Update prism-react-renderer import syntax in docusaurus.config.js to v2 API
  • Rename Frameworks/Operations doc folders to lowercase for case-sensitive routing in Docusaurus v3
  • Add Vercel redirects for old uppercase paths
  • Add webpackbar v7 override in root package.json to fix compatibility with webpack 5.106

Test plan

  • npx docusaurus build completes successfully
  • Verify site renders correctly after deploy
  • Verify Vercel redirects work for old uppercase URLs

Upgrade `@docusaurus/core` from 2.4.3 to 3.10.0 along with all
related dependencies (React 18, MDX v3, `prism-react-renderer` v2).

Update `prism-react-renderer` import syntax in `docusaurus.config.js`,
rename `Frameworks`/`Operations` doc folders to lowercase for
case-sensitive routing in v3, add Vercel redirects for old paths,
and override `webpackbar` to v7 to fix webpack 5.106 compatibility.
Copilot AI review requested due to automatic review settings April 10, 2026 07:38
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trapeze Error Error Apr 12, 2026 3:29pm

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the Docusaurus website from v2 to v3, aligning the site with newer React/MDX/Prism dependencies and updating docs routing to work reliably on case-sensitive deployments (plus redirects to preserve old URLs).

Changes:

  • Upgrade Docusaurus-related dependencies (Docusaurus v3, React 18, MDX v3, prism-react-renderer v2, sass plugin).
  • Update Prism theme import usage in docusaurus.config.js for prism-react-renderer v2.
  • Normalize docs folder casing (frameworks/, operations/) and add Vercel redirects for legacy uppercase routes.

Reviewed changes

Copilot reviewed 4 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/website/vercel.json Adds redirects for legacy uppercase doc paths.
packages/website/package.json Bumps website dependencies to Docusaurus v3 / React 18 / MDX v3 ecosystem.
packages/website/docusaurus.config.js Updates Prism theme configuration to prism-react-renderer v2 API.
packages/website/docs/operations/category.json Defines Operations docs category metadata.
packages/website/docs/operations/getting-started.md Adds Operations “Getting Started” documentation page.
packages/website/docs/operations/android.md Adds Android operations documentation page.
packages/website/docs/operations/ios.md Adds iOS operations documentation page.
packages/website/docs/operations/project.md Adds project-level operations documentation page.
packages/website/docs/frameworks/category.json Defines Frameworks docs category metadata.
packages/website/docs/frameworks/capacitor.md Adds Capacitor framework guide.
packages/website/docs/frameworks/flutter.md Adds Flutter framework guide.
packages/website/docs/frameworks/native-android.md Adds Native Android framework guide.
packages/website/docs/frameworks/native-ios.md Adds Native iOS framework guide.
packages/website/docs/frameworks/react-native.md Adds React Native framework guide.
package.json Adds npm override for webpackbar to address webpack compatibility.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Remove `jest` from `types` arrays (migrated to Vitest) and drop
`@types/node` override (no longer needed with TypeScript 5.9).
…andalone`

TS 5.9 requires type declarations for `prettier`. Add `@types/prettier`
as a dev dependency and switch from the browser-only `prettier/standalone`
to the standard `prettier` import (appropriate for this Node.js context).
The `should run operations` test runs Gradle parsing which requires
Java and exceeds the 30s default timeout on CI runners.
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.

2 participants