This is a Next.js application generated with Create Fumadocs.
Run development server:
bun devOpen http://localhost:3000 with your browser to see the result.
Format the code:
bun formatTest a full build:
bun run buildBlog contents are stored in the content/blog directory. Each
blog post is an MDX file with the following frontmatter:
title: 'Some Title'
authors: [author1, author2]
date: YYYY-MM-DD
tags: [tag1, tag2]Authors are defined in the lib/authors.ts file.
To add images to a blog post, create a directory with the same name as the blog
post in the public directory. Then you can reference the image in
the blog post using the following syntax:

<small>Caption for the image</small>The blog is deployed to Vercel on every push to the main branch.
Before deploying, run the following checklist:
bun formatto format the codebase and MDX files.bun run buildto build the project, this can fail even ifbun devworks.- Spell check your newly added blog posts with an LLM tool.
In the project, you can see:
lib/source.ts: Code for content source adapter,loader()provides the interface to access your content.lib/layout.shared.tsx: Shared options for layouts, optional but preferred to keep.
| Route | Description |
|---|---|
app/(home) |
The route group for your landing page and other pages. |
app/docs |
The documentation layout and pages. |
app/api/search/route.ts |
The Route Handler for search. |
A source.config.ts config file has been included, you can customise different
options like frontmatter schema.
Read the Introduction for further details.