[go: up one dir, main page]

Everything works out of the box.

Search, SEO, themes, and AI tooling built in. Add only what you need.

Write Markdown, Get a Website

Point docmd at any folder of Markdown files. It builds a complete documentation site instantly — with navigation, hot-reloading, and zero configuration needed.

$ docmd build --offline
✓ Generated 12 pages in 340ms (Lighthouse 100)

Native AI Agent Support

Expose your docs to AI coding assistants like Claude, Cursor, and Windsurf through a built-in MCP server and auto-generated context files.

docmd mcp — Ready for Claude & Cursor

Built-in Search, Zero Cloud Costs

Semantic and keyword search compiled at build time into local index files. Runs entirely in the browser — no cloud APIs, no hosting costs.

Press ⌘K to search docs

Rich Content from Plain Markdown

Write callouts, tabbed code blocks, warning boxes, cards, and diagrams using simple Markdown syntax. No HTML or JSX needed.

::: callout info
Native Markdown callouts & tabs!
:::

First-class AI tooling. No lock-in.

Expose your docs to AI agents, embed an AI assistant, and auto-generate context files — all using your own keys.

BYOK Security

Embedded AI Assistant

Add a documentation-aware AI assistant to your site. It reads your content, answers user questions in context, and supports 100+ language models with secure server-side key management.

plugin-ai: { provider: "byok" }
Model Context Protocol

MCP Server for AI Agents

Let AI coding tools like Claude, Cursor, and Windsurf search and read your documentation directly through the Model Context Protocol.

$ npx @docmd/plugin-mcp
Machine-Readable Context

Auto-Generated AI Context

Automatically generate llms.txt, llms-full.txt, and SKILL.md files so any large language model can read and understand your documentation.

✓ Exported /site/llms.txt

Modular plugin ecosystem

Each plugin works out of the box with zero configuration. Enable only what you need.

@docmd/plugin-search

Offline Vector Search

Semantic and keyword search that runs entirely in the browser.

@docmd/plugin-mcp

MCP Server

Let AI coding assistants search and read your docs directly.

@docmd/plugin-ai

AI Assistant

AI assistant that answers questions using your documentation as context.

@docmd/plugin-llms

AI Context Generator

Auto-generate llms.txt, llms-full.txt, and SKILL.md for AI tools.

@docmd/plugin-openapi

OpenAPI & Swagger Docs

Generate interactive API reference pages from OpenAPI spec files.

@docmd/plugin-seo

SEO & Schema JSON-LD

Sitemaps, meta tags, and structured data for search engine visibility.

@docmd/plugin-math

KaTeX Maths

Render LaTeX mathematical expressions with lightweight KaTeX.

@docmd/plugin-mermaid

Mermaid Diagrams

Flowcharts, sequence diagrams, and architecture maps from Markdown.

Lightweight by design

No framework overhead. Pure static HTML output.

340 ms
Build Time
Full site compilation from Markdown to static HTML.
< 25 KB
Client Footprint
Total JavaScript shipped to the browser. No framework runtime.
0 MB
Framework Overhead
No React, Vue, or any framework dependency in your output.

Deploy anywhere in seconds

Static HTML files that run on any hosting platform. No server runtime needed.

GitHub Pages Template

Create a pre-configured documentation repository with automated GitHub Actions in one click.

Use template →

Docker & Nginx Config

Generate a Dockerfile and Nginx configuration for your documentation site in one command.

$ docmd deploy --docker

Write docs with your favourite AI

Pick the best context source for your tool.

Frequently asked questions

Everything you need to know about docmd.

What is docmd?
docmd is an open-source documentation engine. You give it a folder of Markdown files, run one command, and it produces a complete documentation website with search, SEO, and navigation — no framework or configuration needed.
How is docmd different from Docusaurus, MkDocs, or VitePress?
docmd requires no configuration, no React, no Vue, and no framework knowledge. It produces standalone HTML pages with under 25 KB of client JavaScript, achieves a Lighthouse score of 100, and includes search, SEO, and AI context generation out of the box.
Do I need React or any front-end framework?
No. docmd is entirely framework-free. You write Markdown, run one command, and get a production-ready website. The output is plain HTML with minimal vanilla JavaScript.
How does AI agent integration work?
docmd includes a built-in MCP server that lets AI coding tools like Claude, Cursor, and Windsurf search and read your documentation directly. It also auto-generates llms.txt and SKILL.md files so any language model can understand your docs.
What are Agent Skills (SKILL.md) and how do I install them?
Agent Skills are instruction files that AI coding assistants (Claude, Cursor, Windsurf) can read to understand how to work with your project. Install official docmd skills into your workspace with:

npx docmd-skills [target-directory]

Start building in minutes

Open source, MIT licensed. One command to your first documentation site.

Community Sponsors