Onedocs

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 .md or .mdx files, get docs
  • Escape hatches exist - Power users can use Fumadocs components directly

Quick Start

bun add onedocs

Create your config file:

onedocs.config.ts
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.mdx

Run the dev server:

bun run dev

That's it. Your docs are live.

On this page