Skip to content

πŸ—‚οΈ 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.

Notifications You must be signed in to change notification settings

rit3zh/modern-docs-template

Repository files navigation

Docs Template Banner

Version License Build Status PRs Welcome

Built with love

πŸ“˜ Modern Doc Template

A minimalist documentation system built with Next.js and powered by Fumadocs.

✨ Check out the live demo by clicking here!

βš™οΈ Getting Started

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.

πŸ“ Project Structure

.
β”œβ”€β”€ 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.)

✍️ How to Write Docs

  1. Create .mdx pages inside the app/docs/ folder. Example:

    app/docs/guide/getting-started.mdx
  2. Customize sidebar, groups, and ordering in source.config.ts using defineConfig().

  3. 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 β†’


πŸ›  Customization

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

πŸ“š Learn More


πŸ’¬ Community & Support

Built with ❀️ by rit3zh β€” clean, fast, and fully extensible.

About

πŸ—‚οΈ 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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages