Skip to content

docs: Fumadocs migration #1769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jun 27, 2025
Merged

docs: Fumadocs migration #1769

merged 16 commits into from
Jun 27, 2025

Conversation

matthewlipski
Copy link
Collaborator

@matthewlipski matthewlipski commented Jun 19, 2025

This PR completes the main TODOs of the fumadocs migration. Those being:

  • Adding the home page & fixing styles
  • Fixing pro examples (sidebar badge, auth check, and paywall styling)
  • Adding footer and remaining pages (about, legal, etc)
  • Adding examples page grid
  • Fixing examples styling and fumadocs styling scope
  • Fixing meta.json generation
  • Slight cleanup of code and components

To run the branch locally:

pnpm i
cd fumadocs
pnpm run init-db
pnpm run dev

Copy link

vercel bot commented Jun 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jun 27, 2025 4:18pm
blocknote-website ❌ Failed (Inspect) Jun 27, 2025 4:18pm

* Added examples card grid and fixed demo styling

* Added footer + remaining pages, cleaned up files
@matthewlipski matthewlipski changed the title docs: Fumadocs home & about pages docs: Fumadocs migration Jun 23, 2025
- Fixed CSS file imports
- Removed codeblock/tabs from generated example MDX files (now handled by the `Example` component)
- Fixed component imports in MDX
- Refactored `Example` component
- Various styling fixes
- Added `meta.json` generation
Comment on lines +38 to 46
export const examplesMeta = defineCollections({
type: "meta",
dir: "content/examples",
schema: z.object({
title: z.string(),
pages: z.array(z.string()),
root: z.literal(true).optional(),
}),
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Didn't look into this, but what does examplesMeta do that examples doesn't?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It allows us to get the correct page ordering, so the example cards grid can follow the same order as the examples themselves. examples just lists them alphabetically.

Copy link
Contributor

@nperez0111 nperez0111 left a comment

Choose a reason for hiding this comment

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

Seems to bleed into the header?
image

Copy link

pkg-pr-new bot commented Jun 26, 2025

Open in StackBlitz

@blocknote/ariakit

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/ariakit@1769

@blocknote/code-block

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/code-block@1769

@blocknote/core

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/core@1769

@blocknote/mantine

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/mantine@1769

@blocknote/react

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/react@1769

@blocknote/server-util

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/server-util@1769

@blocknote/shadcn

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/shadcn@1769

@blocknote/xl-ai

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-ai@1769

@blocknote/xl-docx-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-docx-exporter@1769

@blocknote/xl-multi-column

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-multi-column@1769

@blocknote/xl-odt-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-odt-exporter@1769

@blocknote/xl-pdf-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-pdf-exporter@1769

commit: c2b082d

@matthewlipski matthewlipski merged commit 18d0d1f into fumadocs Jun 27, 2025
7 of 8 checks passed
@matthewlipski matthewlipski deleted the fd-home-about-pages branch June 27, 2025 16:23
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