Quick Start

Getting Started with Fumadocs

Introduction

Fumadocs can be broken down into two parts: Core and UI.

Core handles most of the logic, from search functionality, to MDX plugins.

Fumadocs UI, the official user interface for Fumadocs.

Terminology

For a better understanding of the docs, there are some common terminologies you should know:

Content Source: The source of your content, for example, Fumadocs MDX, MDXTS and ContentLayer are examples of content source.

Page Tree: A tree of all the pages, separators and folders. It is essential for navigation elements. See Page Tree.

You might need to be familiar with Next.js App Router to continue.

Automatic Installation

Create a new app with create-fumadocs-app.

npx create-fumadocs-app

It will initialize a new fumadocs app, now you can start hacking!

Enjoy!

Now, create your first mdx file in the docs folder.

content/docs/index.mdx
---
title: Hello World
---

## Yo what's up

Run the app in development mode and see http://localhost:3000/docs.

npm run dev

FAQ

Demo

Open in CodeSandbox.

Learn More

New to here? Don't worry, we are welcome for your questions.

If you find anything confusing, please give your feedback on Github Discussion!

Last updated on