Hanzo Docs

Quick Start

Getting Started with Hanzo Docs

Introduction

Hanzo Docs (Hanzo docs) is a documentation framework, designed to be fast, flexible, and composes seamlessly into your React framework.

Hanzo Docs has different parts:

Want to learn more?

Read our in-depth What is Hanzo Docs introduction.

Terminology

Markdown/MDX: Markdown is a markup language for creating formatted text. Hanzo Docs natively supports Markdown and MDX (superset of Markdown).

Bun: A JavaScript runtime, we use it for running scripts.

Some basic knowledge of React.js would be useful for further customisations.

Automatic Installation

A minimum version of Node.js 22 required.

npm create @hanzo/docs-create-app

It will ask you the built-in template to use:

  • React.js framework: Next.js, Waku, React Router, Tanstack Start.
  • Content source: Hanzo Docs MDX.

A new fumadocs app should be initialized. Now you can start hacking!

From Existing Codebase?

You can follow the Manual Installation guide to get started.

Enjoy!

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

Some common questions you may encounter.

For Vite

For Next.js

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!

Writing Content

For authoring docs, make sure to read:

Special Needs

How is this guide?

Last updated on

On this page