_                 _ 
 _| |___ ___ _____ _| |
| . | . |  _|     | . |
|___|___|___|_|_|_|___|

Generate beautiful, lightweight documentation sites directly from your Markdown files. Zero clutter, just content.

docmd bridges the gap between simple static site generators and heavy, framework-driven applications. It processes standard Markdown into highly optimized static HTML, while delivering a buttery-smooth Single Page Application (SPA) experience for your users.

Quick StartGitHubExplore Features

Quick Start

Requires Node.js installed on your machine.

Deploy a beautiful, searchable documentation site in seconds. No framework knowledge required.

1. Install docmd as dependency in your project to lock your versions.

npm install @docmd/core     # Install locally (Recommended)

npx docmd init              # Initialize your configuration
npx docmd dev               # Start developing

2. Install Globally

npm install -g @docmd/core  # Enables docmd to run anywhere on your local machine

3. You can run docmd on-the-fly without installing it or setting up any config.

npx @docmd/core dev -z      # Start local dev server instantly

Open http://localhost:3000 in your browser. Any changes you make to the files in the docs/ folder will instantly update on your screen.

Why choose docmd?

We believe writing documentation should be as frictionless as possible. You shouldn’t need to configure complex JavaScript frameworks just to publish text. We also believe that modern tools should be built for both humans and machines. That’s why docmd is arguably the most AI-friendly static documentation generator on the market, ready to be immediately digested by the newest wave of LLMs directly out of the box.

Rich Content Out of the Box

docmd supports standard Markdown and extends it with intuitive components for professional structure.

Interactive Components
Native Diagrams
Code Precision

Highlight critical information with Callouts and native Buttons.

Performance Tip

Nest containers inside each other to create complex, usable layouts without touching HTML or CSS.

Read about Containers

Create professional diagrams using Mermaid.js syntax directly in your markdown.

graph LR MD[Markdown] --> Build[docmd Build] Build --> Static[Static HTML] Build --> LLM[llms-full.txt]

Automatic syntax highlighting with highlight.js, including one-click copy buttons and multi-language support.

// docmd.config.js
export default defineConfig({
  title: 'My Project',
  layout: { spa: true }
});

Ready to build? Install docmd or see Zero-Config Mode in action.