Fumadocs is a markdown-based CMS that helps you manage your content in a structured way within your codebase. We use it to manage the content of the blog, documentation with MDX.
All content is in the /content directory, and the content is divided into tow sub directories: blog, docs.
You only need to create new MDX files in the corresponding directory, and Fumadocs will automatically scan these files and generate the corresponding pages.
If you don't want to know too much technical details, you can skip the following section directly.
You only need to refer to the example mdx file in the directory to write new content, it is very simple
You can open app/layout.config.tsx, it contains the shared options for layouts.
Fumadocs offer a default Docs Layout for documentation pages, and Home Layout for other pages.