Quick Start
Getting started with core library
Introduction
The core of Fumadocs, built for App Router. It offers server-side functions and headless components.
- Search (built-in: Flexsearch, Algolia Search)
- Breadcrumb, Sidebar, TOC Components
- Remark/Rehype Plugins
- Additional utilities
Fumadocs Core can be used without Fumadocs UI, in other words, it's headless.
For beginners and normal usages, use Fumadocs UI.
Setup
Choose a Source
It has native support for Fumadocs MDX and ContentLayer, but any kind of formats and sources are allowed.
You can refer to this guide to learn how to
use Contentlayer with fumadocs-core
.
Build Page Tree
A page tree refers to the structured data of all pages. It is essential for implementing a sidebar, or other navigation elements.
You can generate the tree using our built-in Source API, the adapter for your content source, or end up with writing your own.
Create MDX file
Create /content/docs/index.mdx
:
Styling & Fun
Start styling your docs with headless components.
Enjoy!
It offers simple document searching as well as components for building a good docs. It is made for flexibility and speed.
Last updated on