Introduction
Onedocs is a zero-config documentation wrapper for Next.js and Fumadocs. Install one dependency, write markdown, ship docs.
bun add onedocsNo 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
.mdor.mdx, get docs - Escape hatches - Need more control? Use Fumadocs directly
Quick start
Create your config:
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.mdxRun the dev server:
bun run devThat's it. Your docs are live.