Introduction
Zero-config documentation for TanStack Start + Fumadocs
Introduction
Onedocs is a zero-config documentation wrapper for TanStack Start and Fumadocs. Install one dependency, write markdown, ship docs.
Why Onedocs?
Setting up documentation shouldn't require configuring multiple packages, build pipelines, and content sources. Onedocs bundles everything you need:
- TanStack Start - Full-stack React framework with file-based routing
- Fumadocs UI - Beautiful documentation layouts and components
- Fumadocs MDX - Content loading with syntax highlighting and search
Philosophy
Onedocs is built for teams who want documentation without the overhead:
- One dependency - Onedocs brings TanStack Start, Fumadocs UI, Fumadocs Core, and MDX handling
- Zero config by default - Works out of the box with sensible defaults
- Markdown-first - Write
.mdor.mdxfiles, get docs - Escape hatches exist - Power users can use Fumadocs components directly
Quick Start
bun add onedocsCreate your config file:
import { defineConfig } from "onedocs/config";
export default defineConfig({
title: "My Project",
description: "Documentation for My Project",
});Add your markdown files:
content/
└── docs/
├── index.mdx
└── getting-started.mdxRun the dev server:
bun run devThat's it. Your docs are live.