Onedocs

Introduction

Onedocs is a zero-config documentation wrapper for Next.js and Fumadocs. Install one dependency, write markdown, ship docs.

bun add onedocs

No configuring multiple packages. No wrestling with build pipelines. Just write your docs.

What's included

Onedocs bundles everything you need:

  • Next.js - The React framework
  • Fumadocs UI - Beautiful documentation layouts
  • Fumadocs MDX - Content loading with syntax highlighting
  • Built-in search - Full-text search out of the box

Philosophy

Onedocs is for teams who want docs without the overhead:

  • One dependency - Everything comes from onedocs
  • Zero config - Sensible defaults that just work
  • Markdown-first - Write .md or .mdx, get docs
  • Escape hatches - Need more control? Use Fumadocs directly

Quick start

Create your config:

onedocs.config.ts
import { defineConfig } from "onedocs/config";

export default defineConfig({
  title: "My Project",
  description: "Documentation for My Project",
});

Add your markdown:

content/
└── docs/
    ├── index.mdx
    └── getting-started.mdx

Run the dev server:

bun run dev

That's it. Your docs are live.

On this page