Logo
  • Home
  • Soul Journal
  • Soul Profile
  • Blog
  • About
  • Pricing
LoginSign Up
LoginSign Up
Home/Blog/Company
Getting Started with Fumadocs
2025/03/28

Getting Started with Fumadocs

Learn the main pieces of Fumadocs and launch your first docs site quickly.

Meet Fumadocs

Fumadocs (Foo-ma docs) is a documentation framework built on top of Next.js. Its goal is to stay fast, flexible, and easy to compose into the Next.js App Router.

The project is made up of several parts:

Fumadocs Core

Handles most of the logic, including document search, content source adapters, and Markdown extensions.

Fumadocs UI

The default theme of Fumadocs offers a beautiful look for documentation sites and interactive components.

Content Source

The source of your content, can be a CMS or local data layers like Content Collections and Fumadocs MDX, the official content source.

Fumadocs CLI

A command line tool to install UI components and automate things, useful for customizing layouts.

Want to learn more?

Read our in-depth What is Fumadocs introduction.

A Few Terms First

Markdown/MDX: Markdown is a markup language for writing formatted text. Fumadocs supports both Markdown and MDX (a superset of Markdown) out of the box.

It also helps to know the basics of Next.js App Router if you want to customize the setup later.

Create a Project Automatically

You need Node.js 18 or newer. Be aware that Node.js 23.1 may cause issues when building Next.js for production.

npm create fumadocs-app
pnpm create fumadocs-app
yarn create fumadocs-app
bun create fumadocs-app

The generator asks which framework and content source you want, then scaffolds a new Fumadocs app for you.

From Existing Codebase?

You can follow the Manual Installation guide to get started.

First Page

After setup, create your first MDX file in the docs directory.

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

## Yo what's up

Run the development server, then open http://localhost:3000/docs.

npm run dev

Explore the Generated Project

A new project usually includes:

  • lib/source.ts: The content source adapter. loader() gives you an interface for reading content and assigning URLs to pages.
  • app/layout.config.tsx: Shared layout options. It is optional, but recommended to keep.
RouteDescription
app/(home)The route group for your landing page and other pages.
app/docsThe documentation layout and pages.
app/api/search/route.tsThe Route Handler for search.

Writing Docs

When you start authoring content, these pages are especially useful:

Markdown

Fumadocs has some additional features for authoring content too.

Navigation

Learn how to customise navigation links/sidebar items.

Content Sources

The content source is responsible for your document pipeline, including compiling Markdown and validating frontmatter.

Read the Introduction to learn how it handles your content.

A source.config.ts config file has been included, you can customise different options like frontmatter schema.

Fumadocs is not Markdown-exclusive. For other sources like Sanity, you can build a custom content source.

Customize the UI

See Customisation Guide.

FAQ

Below are a few common questions people run into when starting out.

Learn More

If you are new here, questions are always welcome.

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

Configure Static Export

Learn how to enable static export on your docs

Customise Search

Learn how to customise document search

Theming

Add themes to Fumadocs UI

Components

See all available components to enhance your docs

All Posts

Author

avatar for MkSaaS
MkSaaS

Categories

  • Company
  • News
Meet FumadocsA Few Terms FirstCreate a Project AutomaticallyFirst PageExplore the Generated ProjectWriting DocsContent SourcesCustomize the UIFAQLearn More

More Posts

Orelune Tarot Series: The Sun - Joy, Clarity & Life-Giving Success
Tarot Explained

Orelune Tarot Series: The Sun - Joy, Clarity & Life-Giving Success

Discover The Sun tarot card meaning on Orelune, including clarity, vitality, love, career, symbolism, and yes or no tarot guidance.

avatar for Orelune
Orelune
2026/04/01
Love Tarot Guide: History, Reading Types, and Better Questions
User Guide

Love Tarot Guide: History, Reading Types, and Better Questions

Explore how love tarot works, what kinds of relationship readings exist, and how to ask better questions for clearer guidance. Learn how Orelune approaches free AI love tarot readings online.

avatar for Orelune
Orelune
2026/04/10
Fumadocs Internationalization
CompanyProduct

Fumadocs Internationalization

Configure multilingual documentation with Fumadocs and Next.js routing.

avatar for MkSaaS
MkSaaS
2025/03/15

Newsletter

Join the community

Subscribe to our newsletter for the latest news and updates

LogoOrelune

치유와 명료함, 길잡이를 전하는 AI 타로의 안식처.

제품

  • 기능
  • 요금제
  • 자주 묻는 질문

리소스

  • 블로그
  • 문서
  • 업데이트 내역
  • 로드맵

회사

  • 소개
  • 문의하기
  • 대기자 명단
© 2026 Orelune All Rights Reserved.support@orelune.co
소개문의하기요금제이용약관개인정보 처리방침쿠키 정책