-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
docs: Fumadocs migration #1769
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
* Added examples card grid and fixed demo styling * Added footer + remaining pages, cleaned up files
- 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
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(), | ||
}), | ||
}); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@blocknote/ariakit
@blocknote/code-block
@blocknote/core
@blocknote/mantine
@blocknote/react
@blocknote/server-util
@blocknote/shadcn
@blocknote/xl-ai
@blocknote/xl-docx-exporter
@blocknote/xl-multi-column
@blocknote/xl-odt-exporter
@blocknote/xl-pdf-exporter
commit: |
This PR completes the main TODOs of the fumadocs migration. Those being:
meta.json
generationTo run the branch locally: