docmd

Markdown to production docs in one command. Static HTML for SEO. SPA for speed. Works with AI tools out of the box.

Get Started GitHub

Overview

docmd is a zero-configuration documentation generator. It builds fast static websites directly from your Markdown files.

npm
pnpm
yarn
Bun
npx @docmd/core dev
pnpm dlx @docmd/core dev
yarn dlx @docmd/core dev
bunx @docmd/core dev

Run this single command. The engine builds your site, generates navigation, and enables search automatically.

Core Capabilities

Everything needed for solid documentation ships built in. No extra plugins required for the essentials.

Instant Setup

Start immediately without boilerplate. The engine auto-detects files and structures navigation in seconds.

AI Assistant

Built-in RAG-powered chat assistant. Delivers instant, context-aware answers directly on your documentation site.

AI Context

Generates llms.txt and llms-full.txt automatically. Your docs stay readable to AI assistants.

Native MCP Server

Built-in Model Context Protocol server with native tools. AI agents query and validate your docs over a local stdio connection — no network, no remote service.

OKF Bundles

Generates an Open Knowledge Format bundle and typed concept graph for AI agents. Read more.

Local-First Search

Fast, client-side full-text search powered by MiniSearch. Works out of the box across versions and locales.

Live Previews

Render Markdown instantly in the browser with the docmd.compile API. Power live editors, CMS previews, and in-app docs.

Native Translation

First-class i18n support. Features locale-first routing, individual search indexes, and translated UI strings.

Rich Content Containers

Go beyond standard Markdown. Use structured visual patterns like steps, tabs, cards, grids, and callouts directly in your text.

Explore Containers