Logo
  • Home
  • Soul Journal
  • Soul Profile
  • Blog
  • About
  • Pricing
LoginSign Up
LoginSign Up
Home/ブログ/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

すべての記事

著者

avatar for MkSaaS
MkSaaS

カテゴリー

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

もっと見る

Install Fumadocs Manually
CompanyProduct

Install Fumadocs Manually

Build a fresh Fumadocs setup step by step inside a new Next.js project.

avatar for Mkdirs
Mkdirs
2025/03/14
22 Major Arcana Tarot Meanings on Orelune
Tarot Explained

22 Major Arcana Tarot Meanings on Orelune

A clear guide to the Major Arcana tarot meanings, from The Fool to The World. Explore how each card reflects life lessons, love, change, and destiny through Orelune.

avatar for Orelune
Orelune
2026/03/19
Orelune Tarot Series: Two of Wands - Vision, Choice, and Future Planning
Tarot Explained

Orelune Tarot Series: Two of Wands - Vision, Choice, and Future Planning

Explore the Two of Wands tarot meaning with Orelune, including planning, expansion, love, career insight, symbolism, and practical yes/no guidance.

avatar for Orelune
Orelune
2026/04/07

ニュースレター

コミュニティに参加

最新ニュースと更新情報のためにニュースレターを購読してください

LogoOrelune

癒やしと明晰さ、導きをもたらす AI タロットの聖域。

プロダクト

  • 機能
  • 料金
  • よくある質問

リソース

  • ブログ
  • ドキュメント
  • 更新履歴
  • ロードマップ

会社

  • 概要
  • お問い合わせ
  • ウェイトリスト
© 2026 Orelune All Rights Reserved.support@orelune.co
概要お問い合わせ料金利用規約プライバシーポリシークッキーポリシー