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.

npx @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 Context

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

OKF Bundles

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

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.

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.

Custom Templates

Personalise your documentation with templates or try built-in themes with custom CSS. Supports dark mode and system prefs.

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