Loading repository dataβ¦
Loading repository dataβ¦
rit3zh / repository
ποΈ My go-to documentation setup for every project built with π§ Fumadocs and β‘ Next.js. Minimal, customizable, and designed for devs who actually care about good docs.
β¨ Check out the live demo by clicking here!
Install dependencies and run the development server:
$ git clone https://github.com/rit3zh/modern-docs-template
$ cd modern-docs-template
Running the development server
$ pnpm install
$ pnpm dev
Visit http://localhost:3000 in your browser.
.
βββ app/
β βββ (home)/ # Landing and custom pages
β βββ docs/ # MDX-based documentation
β βββ api/search/ # Search API route
βββ lib/source.ts # Fumadocs content adapter (loader)
βββ layout.config.tsx # Layout options
βββ source.config.ts # MDX config (frontmatter, sidebar, etc.)
Create .mdx pages inside the app/docs/ folder.
Example:
app/docs/guide/getting-started.mdx
Customize sidebar, groups, and ordering in source.config.ts using defineConfig().
Use Fumadocs UI components directly in your MDX:
import { Card } from "fumadocs-ui/components/card";
<Card title="Welcome" href="/docs/start" />
Learn more in the Fumadocs MDX Guide β
| Feature | How to Customize |
|---|---|
| Branding | Update logo, favicon, meta in app/layout.tsx |
| Navigation | Edit sidebar/nav in source.config.ts |
| Theme | Light/dark support is built-in |
| Search | Tweak app/api/search/route.ts for search behavior |
Built with β€οΈ by rit3zh β clean, fast, and fully extensible.