0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

Kenny/mastra 2742 migrate nextra from v3 to v4 (#3310)

Docs Migration to Nextra 4.

Nextra 4 includes support for:
1. NextJS App Router
2. Turbopack
3. Tailwind V4
4. A new search primitive, PageFind

Nextra new version deprecates some custom components and so we cannot
modify the `table-of-contents` component like we did in `v3` The only
settings provided are for modifying the toc itself rather than replacing
it:

https://nextra.site/docs/docs-theme/built-ins/layout#table-of-contents-toc

With this, the search should be better for custom components.
This commit is contained in:
Kenny 2025-04-02 15:28:17 +01:00 • committed by GitHub
commit 76d7461eed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
602 changed files with 39619 additions and 39772 deletions

3272
docs/package-lock.json generated

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 295 KiB

After

Width:  |  Height:  |  Size: 295 KiB

Before After
Before After

Before

Width:  |  Height:  |  Size: 233 KiB

After

Width:  |  Height:  |  Size: 233 KiB

Before After
Before After

Some files were not shown because too many files have changed in this diff Show more