ax-check.com
by Gauge
D
docmd
docmd.io
ax-check.com
Checked 24 November 2026
B
78/100
Agents haven’t verified setup
Docs and setup are clear; docmd itself is free, open-source software.
16 of 23 checks passed: quickstart, CLI, MCP server and agent skills are all documented. No pricing page exists since the core tool is MIT-licensed and free.
3 fixes to start with
Concrete changes, backed by what we found.
Recorded coding sessions
Same task, 3 models, no docmd.io account. Recorded 24 November 2026 on Pi.
3 recorded · 4m 12s
4m 12s · recorded
Session findings
Select a finding to see it in context.
›Thinking…
Let me look at the repo to see what's there.
"docmd" — I need to figure out what this product is. Let me explore.
pwd; ls -la /sandbox/repo; cat /sandbox/repo/README* 2>/dev/null | head -50
/sandbox/repo
/sandbox/repo total 16 drwxr-xr-x 3 root root 4096 Sep 18 08:00 . drwxr-xr-x 7 root root 4096 Nov 24 02:58 .. drwxr-xr-x 8 root root 4096 Sep 24 20:05 .git -rw-r--r-- 1 root root 408 Sep 18 08:00 .gitignore
Recorded tool call
{
"type": "tool_call",
"seq": 3,
"ts": "2026-11-24T02:58:28.336Z",
"name": "bash",
"turn": 1,
"input": {
"command": "pwd; ls -la /sandbox/repo; cat /sandbox/repo/README* 2>/dev/null | head -50"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b2eade74fc7bbf92",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 5,
"ts": "2026-11-24T02:58:28.336Z",
"turn": 1,
"output": {
"content": [
{
"text": "/sandbox/repo\ntotal 16\ndrwxr-xr-x 3 root root 4096 Sep 18 08:00 .\ndrwxr-xr-x 7 root root 4096 Nov 24 02:58 ..\ndrwxr-xr-x 8 root root 4096 Sep 24 20:05 .git\n-rw-r--r-- 1 root root 408 Sep 18 08:00 .gitignore\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b2eade74fc7bbf92",
"is_error": false,
"tool_kind": "shell"
}env | grep -i -E 'PI_|MODEL' | head -30
PI_CODING_AGENT=true
PI_CODING_AGENT=true PI_REASONING_LEVEL=medium PI_SESSION_FILE=/sandbox/.gauge/pi/sessions/2026-11-24T02-58-24-733Z_01a20b7d-835d-7693-852f-dceb07d14040.jsonl ALG_INFERENCE_MODEL=accounts/fireworks/models/qwen3p8-max PI_PROVIDER=gauge-fireworks PI_MODEL=accounts/fireworks/models/qwen3p8-max PI_SESSION_ID=01a20b7d-835d-7693-852f-dceb07d14040 PI_GATEWAY_API_KEY=unused
Recorded tool call
{
"type": "tool_call",
"seq": 4,
"ts": "2026-11-24T02:58:28.336Z",
"name": "bash",
"turn": 1,
"input": {
"command": "env | grep -i -E 'PI_|MODEL' | head -30"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8c2045306143f0f6",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 6,
"ts": "2026-11-24T02:58:28.336Z",
"turn": 1,
"output": {
"content": [
{
"text": "PI_CODING_AGENT=true\nPI_REASONING_LEVEL=medium\nPI_SESSION_FILE=/sandbox/.gauge/pi/sessions/2026-11-24T02-58-24-733Z_01a20b7d-835d-7693-852f-dceb07d14040.jsonl\nALG_INFERENCE_MODEL=accounts/fireworks/models/qwen3p8-max\nPI_PROVIDER=gauge-fireworks\nPI_MODEL=accounts/fireworks/models/qwen3p8-max\nPI_SESSION_ID=01a20b7d-835d-7693-852f-dceb07d14040\nPI_GATEWAY_API_KEY=unused\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8c2045306143f0f6",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The repo is basically empty. The user asks about "docmd" — I need to determine what this product is. Possibly "Docmd" is a documentation tool? Let me check if there's any network access, and whether there's any credential/config for docmd.
Let me check git history and environment for API keys.
cd /sandbox/repo && git log --oneline -20; cat .gitignore; ls -la /sandbox; ls -la /sandbox/.gauge 2>/dev/null
9ebf5fb Initial workspace
9ebf5fb Initial workspace # Keep generated and vendored files out of source diffs. # Logs / OS cruft *.log .DS_Store # JavaScript / TypeScript node_modules/ .next/ dist/ build/ coverage/ # Python .venv/ venv/ __pycache__/ *.py[cod] .pytest_cache/ *.egg-info/ # Rust target/ # Go / PHP / Ruby vendored deps vendor/ .bundle/ # Java / Kotlin / Scala .gradle/ # .NET bin/ obj/ # Elixir _build/ deps/ # Dart / Flutter .dart_tool/ total 28 drwxr-xr-x 7 root root 4096 Nov 24 02:58 . drwxr-xr-x 22 root root 4096 Sep 18 07:59 .. drwxr-xr-x 3 root root 4096 Nov 24 02:58 .cache drwxr-xr-x 3 root root 4096 Nov 24 02:58 .gauge drwxr-xr-x 3 root root 4096 Nov 24 02:58 .pi drwxrwxrwt 2 root root 4096 Sep 18 08:00 .tmp drwxr-xr-x 3 root root 4096 Sep 18 08:00 repo total 12 drwxr-xr-x 3 root root 4096 Nov 24 02:58 . drwxr-xr-x 7 root root 4096 Nov 24 02:58 .. drwxr-xr-x 3 root root 4096 Nov 24 02:58 pi
Recorded tool call
{
"type": "tool_call",
"seq": 9,
"ts": "2026-11-24T02:58:31.912Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && git log --oneline -20; cat .gitignore; ls -la /sandbox; ls -la /sandbox/.gauge 2>/dev/null"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-af2ce9446556231e",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 11,
"ts": "2026-11-24T02:58:31.912Z",
"turn": 1,
"output": {
"content": [
{
"text": "9ebf5fb Initial workspace\n# Keep generated and vendored files out of source diffs.\n\n# Logs / OS cruft\n*.log\n.DS_Store\n\n# JavaScript / TypeScript\nnode_modules/\n.next/\ndist/\nbuild/\ncoverage/\n\n# Python\n.venv/\nvenv/\n__pycache__/\n*.py[cod]\n.pytest_cache/\n*.egg-info/\n\n# Rust\ntarget/\n\n# Go / PHP / Ruby vendored deps\nvendor/\n.bundle/\n\n# Java / Kotlin / Scala\n.gradle/\n\n# .NET\nbin/\nobj/\n\n# Elixir\n_build/\ndeps/\n\n# Dart / Flutter\n.dart_tool/\ntotal 28\ndrwxr-xr-x 7 root root 4096 Nov 24 02:58 .\ndrwxr-xr-x 22 root root 4096 Sep 18 07:59 ..\ndrwxr-xr-x 3 root root 4096 Nov 24 02:58 .cache\ndrwxr-xr-x 3 root root 4096 Nov 24 02:58 .gauge\ndrwxr-xr-x 3 root root 4096 Nov 24 02:58 .pi\ndrwxrwxrwt 2 root root 4096 Sep 18 08:00 .tmp\ndrwxr-xr-x 3 root root 4096 Sep 18 08:00 repo\ntotal 12\ndrwxr-xr-x 3 root root 4096 Nov 24 02:58 .\ndrwxr-xr-x 7 root root 4096 Nov 24 02:58 ..\ndrwxr-xr-x 3 root root 4096 Nov 24 02:58 pi\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-af2ce9446556231e",
"is_error": false,
"tool_kind": "shell"
}env | sed 's/=.*KEY.*/=<redacted>/' | sort | head -60; which docmd docmd-cli; pip list 2>/dev/null | grep -i docmd; npm ls -g --depth=0 2>/dev/null
AI_AGENT=pi
AI_AGENT=pi ALG_INFERENCE_MODEL=accounts/fireworks/models/qwen3p8-max ALG_INFERENCE_PROVIDER=fireworks ALG_SANDBOX_PROVIDER=freestyle AWS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt CARGO_HOME=/usr/local/cargo CARGO_HTTP_CAINFO=/etc/ssl/certs/ca-certificates.crt CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt DENO_CERT=/etc/ssl/certs/ca-certificates.crt GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=safe.directory GIT_CONFIG_VALUE_0=/sandbox/repo GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/etc/ssl/certs/ca-certificates.crt HOME=/sandbox INVOCATION_ID=ea7751890b49441889607d3e5e8afbde JOURNAL_STREAM=8:5699 LANG=C.UTF-8 LOGNAME=root NODE_COMPILE_CACHE=/sandbox/.cache/node-compile NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/alg-gateway.crt OLDPWD=/root PATH=/sandbox/.pi/agent/bin:/usr/local/cargo/bin:/usr/local/go/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin PIP_CERT=/etc/ssl/certs/ca-certificates.crt PI_CODING_AGENT=true PI_GATEWAY_API_KEY=unused PI_MODEL=accounts/fireworks/models/qwen3p8-max PI_PROVIDER=gauge-fireworks PI_REASONING_LEVEL=medium PI_SESSION_FILE=/sandbox/.gauge/pi/sessions/2026-11-24T02-58-24-733Z_01a20b7d-835d-7693-852f-dceb07d14040.jsonl PI_SESSION_ID=01a20b7d-835d-7693-852f-dceb07d14040 PWD=/sandbox/repo REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt RUSTUP_HOME=/usr/local/rustup SHELL=/bin/bash SHLVL=1 SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt SYSTEMD_EXEC_PID=1287 USER=root _=/usr/bin/env /usr/local/lib ├── @anthropic-ai/claude-code@2.1.280 ├── @earendil-works/pi-coding-agent@0.84.2 ├── @openai/codex@0.142.5 ├── corepack@0.34.6 └── npm@10.9.8
Recorded tool call
{
"type": "tool_call",
"seq": 10,
"ts": "2026-11-24T02:58:31.912Z",
"name": "bash",
"turn": 1,
"input": {
"command": "env | sed 's/=.*KEY.*/=<redacted>/' | sort | head -60; which docmd docmd-cli; pip list 2>/dev/null | grep -i docmd; npm ls -g --depth=0 2>/dev/null"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b380c4fbb2450753",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 12,
"ts": "2026-11-24T02:58:35.054Z",
"turn": 1,
"output": {
"content": [
{
"text": "AI_AGENT=pi\nALG_INFERENCE_MODEL=accounts/fireworks/models/qwen3p8-max\nALG_INFERENCE_PROVIDER=fireworks\nALG_SANDBOX_PROVIDER=freestyle\nAWS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt\nCARGO_HOME=/usr/local/cargo\nCARGO_HTTP_CAINFO=/etc/ssl/certs/ca-certificates.crt\nCURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt\nDENO_CERT=/etc/ssl/certs/ca-certificates.crt\nGIT_CONFIG_COUNT=1\nGIT_CONFIG_KEY_0=safe.directory\nGIT_CONFIG_VALUE_0=/sandbox/repo\nGIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt\nGRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/etc/ssl/certs/ca-certificates.crt\nHOME=/sandbox\nINVOCATION_ID=ea7751890b49441889607d3e5e8afbde\nJOURNAL_STREAM=8:5699\nLANG=C.UTF-8\nLOGNAME=root\nNODE_COMPILE_CACHE=/sandbox/.cache/node-compile\nNODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/alg-gateway.crt\nOLDPWD=/root\nPATH=/sandbox/.pi/agent/bin:/usr/local/cargo/bin:/usr/local/go/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin\nPIP_CERT=/etc/ssl/certs/ca-certificates.crt\nPI_CODING_AGENT=true\nPI_GATEWAY_API_KEY=unused\nPI_MODEL=accounts/fireworks/models/qwen3p8-max\nPI_PROVIDER=gauge-fireworks\nPI_REASONING_LEVEL=medium\nPI_SESSION_FILE=/sandbox/.gauge/pi/sessions/2026-11-24T02-58-24-733Z_01a20b7d-835d-7693-852f-dceb07d14040.jsonl\nPI_SESSION_ID=01a20b7d-835d-7693-852f-dceb07d14040\nPWD=/sandbox/repo\nREQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt\nRUSTUP_HOME=/usr/local/rustup\nSHELL=/bin/bash\nSHLVL=1\nSSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt\nSYSTEMD_EXEC_PID=1287\nUSER=root\n_=/usr/bin/env\n/usr/local/lib\n├── @anthropic-ai/claude-code@2.1.280\n├── @earendil-works/pi-coding-agent@0.84.2\n├── @openai/codex@0.142.5\n├── corepack@0.34.6\n└── npm@10.9.8\n\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b380c4fbb2450753",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
No docmd CLI, no API keys for docmd. The repo is empty. "docmd" — what is it? Possibly a hosted product "Docmd" that doesn't exist, or is a niche documentation-as-code tool. There's no credentials in env. Let me check network access quickly to see if I can reach the internet, and whether docmd exists on npm/PyPI.
The user asks: "Tell me how pricing works" — I have no knowledge of docmd pricing. I shouldn't fabricate. Let me quickly check network.
cd /tmp && timeout 15 curl -s -o /dev/null -w "%{http_code}\n" https://registry.npmjs.org/docmd ; timeout 15 curl -s "https://registry.npmjs.org/-/v1/search?text=docmd&size=5" | head -c 1500; echo; timeout 15 curl -s https://pypi.org/pypi/docmd/json | head -c 400404
404
{"objects":[{"downloads":{"monthly":100930,"weekly":27415},"dependents":"1","updated":"2026-11-23T21:57:45.147Z","searchScore":557.7911,"package":{"name":"@docmd/plugin-installer","keywords":["docmd","plugin","plugin-manager","installer","dependency-resolver","cli","dynamic-install","ecosystem","registry","developer-tools","documentation"],"version":"0.10.1","description":"Package installer and dependency resolver for docmd add and docmd remove commands.","sanitized_name":"@docmd/plugin-installer","publisher":{"email":"npm-oidc-no-reply@github.com","trustedPublisher":{"oidcConfigId":"7ee8faa2-ed77-4f6c-a990-6cc0ec59135f","id":"github"},"username":"GitHub Actions"},"maintainers":[{"email":"hello@mgks.dev","username":"mgks"}],"license":"MIT","date":"2026-11-16T17:55:26.925Z","links":{"homepage":"https://docmd.io","repository":"git+https://github.com/docmd-io/docmd.git","bugs":"https://github.com/docmd-io/docmd/issues","npm":"https://www.npmjs.com/package/@docmd/plugin-installer"}},"score":{"final":557.7911,"detail":{"popularity":1,"quality":1,"maintenance":1}},"flags":{"insecure":0}},{"downloads":{"monthly":100563,"weekly":27320},"dependents":"1","updated":"2026-11-23T22:01:51.599Z","searchScore":538.5613,"package":{"name":"@docmd/plugin-math","keywords":["docmd","plugin","math","katex","latex","mathematics","equations","formula","client-side","scientific","documentation","ssg"],"version":"0.10.1","description":"LaTeX mathematics plugin for docmd via KaTeX rendering.","sanitize
{"info":{"author":"","author_email":"","bugtrack_url":null,"classifiers":[],"description":"# docmd\n\nGenerate api-style github markdown-files from python docstrings.\n\n```\npip install docmd\n```\n\nGenerate one file:\n\n```\ndocmd my_module > README.md\n```\n\nGenerate a whole folder full of documentation:\n\n```\ndocmd my_module -out docs -url https://github.com/atakamallc/docmd/blob/master\n`Recorded tool call
{
"type": "tool_call",
"seq": 15,
"ts": "2026-11-24T02:58:38.868Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && timeout 15 curl -s -o /dev/null -w \"%{http_code}\\n\" https://registry.npmjs.org/docmd ; timeout 15 curl -s \"https://registry.npmjs.org/-/v1/search?text=docmd&size=5\" | head -c 1500; echo; timeout 15 curl -s https://pypi.org/pypi/docmd/json | head -c 400"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b3f5e7bc46fe733a",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 18,
"ts": "2026-11-24T02:58:40.690Z",
"turn": 1,
"output": {
"content": [
{
"text": "404\n{\"objects\":[{\"downloads\":{\"monthly\":100930,\"weekly\":27415},\"dependents\":\"1\",\"updated\":\"2026-11-23T21:57:45.147Z\",\"searchScore\":557.7911,\"package\":{\"name\":\"@docmd/plugin-installer\",\"keywords\":[\"docmd\",\"plugin\",\"plugin-manager\",\"installer\",\"dependency-resolver\",\"cli\",\"dynamic-install\",\"ecosystem\",\"registry\",\"developer-tools\",\"documentation\"],\"version\":\"0.10.1\",\"description\":\"Package installer and dependency resolver for docmd add and docmd remove commands.\",\"sanitized_name\":\"@docmd/plugin-installer\",\"publisher\":{\"email\":\"npm-oidc-no-reply@github.com\",\"trustedPublisher\":{\"oidcConfigId\":\"7ee8faa2-ed77-4f6c-a990-6cc0ec59135f\",\"id\":\"github\"},\"username\":\"GitHub Actions\"},\"maintainers\":[{\"email\":\"hello@mgks.dev\",\"username\":\"mgks\"}],\"license\":\"MIT\",\"date\":\"2026-11-16T17:55:26.925Z\",\"links\":{\"homepage\":\"https://docmd.io\",\"repository\":\"git+https://github.com/docmd-io/docmd.git\",\"bugs\":\"https://github.com/docmd-io/docmd/issues\",\"npm\":\"https://www.npmjs.com/package/@docmd/plugin-installer\"}},\"score\":{\"final\":557.7911,\"detail\":{\"popularity\":1,\"quality\":1,\"maintenance\":1}},\"flags\":{\"insecure\":0}},{\"downloads\":{\"monthly\":100563,\"weekly\":27320},\"dependents\":\"1\",\"updated\":\"2026-11-23T22:01:51.599Z\",\"searchScore\":538.5613,\"package\":{\"name\":\"@docmd/plugin-math\",\"keywords\":[\"docmd\",\"plugin\",\"math\",\"katex\",\"latex\",\"mathematics\",\"equations\",\"formula\",\"client-side\",\"scientific\",\"documentation\",\"ssg\"],\"version\":\"0.10.1\",\"description\":\"LaTeX mathematics plugin for docmd via KaTeX rendering.\",\"sanitize\n{\"info\":{\"author\":\"\",\"author_email\":\"\",\"bugtrack_url\":null,\"classifiers\":[],\"description\":\"# docmd\\n\\nGenerate api-style github markdown-files from python docstrings.\\n\\n```\\npip install docmd\\n```\\n\\nGenerate one file:\\n\\n```\\ndocmd my_module > README.md\\n```\\n\\nGenerate a whole folder full of documentation:\\n\\n```\\ndocmd my_module -out docs -url https://github.com/atakamallc/docmd/blob/master\\n`",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b3f5e7bc46fe733a",
"is_error": false,
"tool_kind": "shell"
}timeout 15 curl -s -o /dev/null -w "%{http_code}\n" https://docmd.io; timeout 15 curl -s -o /dev/null -w "%{http_code}\n" https://www.docmd.com; timeout 15 curl -s -o /dev/null -w "%{http_code}\n" https://api.docmd.comFailed200
200 502 000 Command exited with code 6
Recorded tool call
{
"type": "tool_call",
"seq": 16,
"ts": "2026-11-24T02:58:38.868Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 15 curl -s -o /dev/null -w \"%{http_code}\\n\" https://docmd.io; timeout 15 curl -s -o /dev/null -w \"%{http_code}\\n\" https://www.docmd.com; timeout 15 curl -s -o /dev/null -w \"%{http_code}\\n\" https://api.docmd.com"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-ba06f8eb3f716f6f",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 17,
"ts": "2026-11-24T02:58:39.690Z",
"turn": 1,
"output": {
"content": [
{
"text": "200\n502\n000\n\n\nCommand exited with code 6",
"type": "text"
}
],
"details": {}
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-ba06f8eb3f716f6f",
"is_error": true,
"tool_kind": "shell"
}›Thinking…
There's docmd.io — a static site generator for documentation (CLI-based, docmd). It's an open-source-ish CLI (npm @docmd/*). The user said "Stay light: use the hosted product through its SDK or API. Do not start local service stacks."
Question: does docmd have a hosted product with an SDK/API? Let me check docmd.io docs. It appears docmd is a CLI static site generator (like mkdocs) — a local developer workflow, not a hosted API product. But maybe docmd.io offers hosting. Let me fetch the site.
timeout 20 curl -s https://docmd.io | sed -e 's/<[^>]*>/ /g' | tr -s ' \n' ' \n' | head -c 4000
<!--
<!--
---------------------------------------------------------------
docmd : the zero-config documentation engine.
@website https://docmd.io
[docmd-source] - Please do not remove this header.
---------------------------------------------------------------
-->
var root = "./";
if (root && !root.endsWith('/')) root += '/';
if (root === '') root = './';
window.DOCMD_ROOT = root;
window.DOCMD_APPEARANCE = "system";
window.DOCMD_LOCALE = "en";
docmd – Documentation for Humans and Machines
{"@context":"https://schema.org","@type":"Organization","name":"docmd","url":"https://docmd.io","logo":"https://docmd.io/assets/images/docmd-logo-dark.png","sameAs":["https://github.com/docmd-io/docmd","https://x.com/docmd_io"]}
{"@context":"https://schema.org","@type":"WebSite","name":"docmd","url":"https://docmd.io/","potentialAction":{"@type":"SearchAction","target":"https://docmd.io/?q={search_term_string}","query-input":"required name=search_term_string"}}
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"docmd","operatingSystem":"Any","applicationCategory":"DeveloperApplication","url":"https://docmd.io","description":"docmd is an open-source documentation compiler. One Markdown source, one command – generates website, search index, AI context, MCP agent endpoints, and knowledge formats together.","creator":{"@type":"Person","name":"Ghazi","sameAs":["https://github.com/mgks","https://mgks.dev"]},"codeRepository":"https://github.com/docmd-io/docmd","releaseNotes":"https://github.com/docmd-io/docmd/releases","programmingLanguage":"Node.js","installUrl":"https://www.npmjs.com/package/@docmd/core"}
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', "G-W8BCN0W4RF");
/**
* --------------------------------------------------------------------
* docmd : the zero-config documentation engine.
*
* @package @docmd/core (and ecosystem)
* @website https://docmd.io
* @repository https://github.com/docmd-io/docmd
* @license MIT
* @copyright Copyright (c) 2025-present docmd.io
*
* [docmd-source] - Please do not remove this header.
* --------------------------------------------------------------------
*/
(function () {
try {
// 1. Determine Theme
//
// Resolve from three sources, in priority order:
// 1. localStorage explicit user choice (light / dark)
// 2. window.DOCMD_APPEARANCE (current canonical name, set by EJS templates)
// 3. window.DOCMD_DEFAULT_MODE (legacy alias kept for pre-0.8.7 outputs)
// 4. 'light' as the final fallback
//
// Note: localStorage is only honoured when it holds an explicit
// 'light' or 'dark' value. A stored 'system' value (from a prior
// session where the user picked "follow system") must NOT win over
// a freshly resolved config value — the resolved value will itself
// be 'system' in that case and the OS preference check below takes
// over, so this is a no-op for the in-session behaviour but keeps
// any future storage migration simple.
var localValue = localStorage.getItem('docmd-theme');
var configValue = window.DOCMD_APPEARANCE
|| window.DOCMD_DEFAULT_MODE
|| 'light';
var theme = (localValue === 'light' || localValue === 'dark')
? localValue
: configValue;
if (theme === 'system') {
theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
// 2. Apply to Root
document.documentElement.setAttribute('data-theme', theme);
// 3. Highlight.js Toggle Strategy
var lightLink = document.getElementById('hljs-light');
var darkLink = document.getElementById('hljs-dark');
if (lightLink && darkLink) {
if (theme === 'dark') {
lightLink.disabled = true;
darkLink.disabled = false;
} else {
lightLink.disabled = false;
darkLink.disabled = true;
}
}
document.documentElement.style.visibility = "visible";
}Recorded tool call
{
"type": "tool_call",
"seq": 21,
"ts": "2026-11-24T02:58:44.288Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 20 curl -s https://docmd.io | sed -e 's/<[^>]*>/ /g' | tr -s ' \\n' ' \\n' | head -c 4000"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b9719a3d3243865a",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 23,
"ts": "2026-11-24T02:58:44.779Z",
"turn": 1,
"output": {
"content": [
{
"text": "<!--\n ---------------------------------------------------------------\n docmd : the zero-config documentation engine.\n @website https://docmd.io\n [docmd-source] - Please do not remove this header.\n ---------------------------------------------------------------\n-->\n \n \n \n \n \n \n \n var root = \"./\";\n if (root && !root.endsWith('/')) root += '/';\n if (root === '') root = './';\n window.DOCMD_ROOT = root;\n window.DOCMD_APPEARANCE = \"system\";\n window.DOCMD_LOCALE = \"en\";\n \n \n \n \n \n docmd – Documentation for Humans and Machines \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"docmd\",\"url\":\"https://docmd.io\",\"logo\":\"https://docmd.io/assets/images/docmd-logo-dark.png\",\"sameAs\":[\"https://github.com/docmd-io/docmd\",\"https://x.com/docmd_io\"]}\n \n \n{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"docmd\",\"url\":\"https://docmd.io/\",\"potentialAction\":{\"@type\":\"SearchAction\",\"target\":\"https://docmd.io/?q={search_term_string}\",\"query-input\":\"required name=search_term_string\"}}\n \n \n{\"@context\":\"https://schema.org\",\"@type\":\"SoftwareApplication\",\"name\":\"docmd\",\"operatingSystem\":\"Any\",\"applicationCategory\":\"DeveloperApplication\",\"url\":\"https://docmd.io\",\"description\":\"docmd is an open-source documentation compiler. One Markdown source, one command – generates website, search index, AI context, MCP agent endpoints, and knowledge formats together.\",\"creator\":{\"@type\":\"Person\",\"name\":\"Ghazi\",\"sameAs\":[\"https://github.com/mgks\",\"https://mgks.dev\"]},\"codeRepository\":\"https://github.com/docmd-io/docmd\",\"releaseNotes\":\"https://github.com/docmd-io/docmd/releases\",\"programmingLanguage\":\"Node.js\",\"installUrl\":\"https://www.npmjs.com/package/@docmd/core\"}\n \n \n \n \n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', \"G-W8BCN0W4RF\");\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n /**\n * --------------------------------------------------------------------\n * docmd : the zero-config documentation engine.\n *\n * @package @docmd/core (and ecosystem)\n * @website https://docmd.io\n * @repository https://github.com/docmd-io/docmd\n * @license MIT\n * @copyright Copyright (c) 2025-present docmd.io\n *\n * [docmd-source] - Please do not remove this header.\n * --------------------------------------------------------------------\n */\n(function () {\n try {\n // 1. Determine Theme\n //\n // Resolve from three sources, in priority order:\n // 1. localStorage explicit user choice (light / dark)\n // 2. window.DOCMD_APPEARANCE (current canonical name, set by EJS templates)\n // 3. window.DOCMD_DEFAULT_MODE (legacy alias kept for pre-0.8.7 outputs)\n // 4. 'light' as the final fallback\n //\n // Note: localStorage is only honoured when it holds an explicit\n // 'light' or 'dark' value. A stored 'system' value (from a prior\n // session where the user picked \"follow system\") must NOT win over\n // a freshly resolved config value — the resolved value will itself\n // be 'system' in that case and the OS preference check below takes\n // over, so this is a no-op for the in-session behaviour but keeps\n // any future storage migration simple.\n var localValue = localStorage.getItem('docmd-theme');\n var configValue = window.DOCMD_APPEARANCE\n || window.DOCMD_DEFAULT_MODE\n || 'light';\n var theme = (localValue === 'light' || localValue === 'dark')\n ? localValue\n : configValue;\n if (theme === 'system') {\n theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';\n }\n // 2. Apply to Root\n document.documentElement.setAttribute('data-theme', theme);\n // 3. Highlight.js Toggle Strategy\n var lightLink = document.getElementById('hljs-light');\n var darkLink = document.getElementById('hljs-dark');\n if (lightLink && darkLink) {\n if (theme === 'dark') {\n lightLink.disabled = true;\n darkLink.disabled = false;\n } else {\n lightLink.disabled = false;\n darkLink.disabled = true;\n }\n }\n document.documentElement.style.visibility = \"visible\";\n }",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b9719a3d3243865a",
"is_error": false,
"tool_kind": "shell"
}timeout 20 curl -s https://docmd.io/robots.txt; echo ---; timeout 20 curl -s https://docmd.io/sitemap.xml | head -c 3000; echo ---; timeout 20 curl -s -o /dev/null -w "%{http_code}\n" https://docmd.io/docsUser-agent: *
User-agent: *
Allow: /
# Sitemap
Sitemap: https://docmd.io/sitemap.xml---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://docmd.io/assistant/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/</loc>
<changefreq>weekly</changefreq>
<priority>1</priority>
</url>
<url>
<loc>https://docmd.io/plugins/ai/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/analytics/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/git/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/iconify/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/llms/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/math/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/mdx/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/mermaid/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/okf/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/openapi/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/playground/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/pwa/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/search/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/seo/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/sitemap/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/threads/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/plugins/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/privacy/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/search/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/terms/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://docmd.io/de/assistant/</loc>
<changefreq>weekly</changefreq>
<priority>---
404
Recorded tool call
{
"type": "tool_call",
"seq": 22,
"ts": "2026-11-24T02:58:44.288Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 20 curl -s https://docmd.io/robots.txt; echo ---; timeout 20 curl -s https://docmd.io/sitemap.xml | head -c 3000; echo ---; timeout 20 curl -s -o /dev/null -w \"%{http_code}\\n\" https://docmd.io/docs"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b4f8a9d82952ab73",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 24,
"ts": "2026-11-24T02:58:45.233Z",
"turn": 1,
"output": {
"content": [
{
"text": "User-agent: *\nAllow: /\n\n# Sitemap\nSitemap: https://docmd.io/sitemap.xml---\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n <url>\n <loc>https://docmd.io/assistant/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/</loc>\n <changefreq>weekly</changefreq>\n <priority>1</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/ai/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/analytics/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/git/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/iconify/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/llms/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/math/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/mdx/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/mermaid/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/okf/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/openapi/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/playground/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/pwa/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/search/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/seo/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/sitemap/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/threads/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/plugins/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/privacy/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/search/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/terms/</loc>\n <changefreq>weekly</changefreq>\n <priority>0.8</priority>\n </url>\n <url>\n <loc>https://docmd.io/de/assistant/</loc>\n <changefreq>weekly</changefreq>\n <priority>---\n404\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b4f8a9d82952ab73",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
So docmd is an open-source documentation compiler CLI (npm @docmd/core), MIT licensed, self-hosted/local build. Is there a hosted product with SDK/API? There is "assistant" page and "MCP agent endpoints" — those are generated by the CLI locally (MCP server runs locally?). Let me check the sitemap for a docs/getting-started/pricing page.
timeout 20 curl -s https://docmd.io/sitemap.xml | grep -o '<loc>[^<]*</loc>' | sed 's/<[^>]*>//g' | grep -v '/de/\|/fr/\|/es/' | sort -u
https://docmd.io/
https://docmd.io/ https://docmd.io/assistant/ https://docmd.io/ja/ https://docmd.io/ja/assistant/ https://docmd.io/ja/plugins/ https://docmd.io/ja/plugins/ai/ https://docmd.io/ja/plugins/analytics/ https://docmd.io/ja/plugins/git/ https://docmd.io/ja/plugins/iconify/ https://docmd.io/ja/plugins/llms/ https://docmd.io/ja/plugins/math/ https://docmd.io/ja/plugins/mdx/ https://docmd.io/ja/plugins/mermaid/ https://docmd.io/ja/plugins/okf/ https://docmd.io/ja/plugins/openapi/ https://docmd.io/ja/plugins/playground/ https://docmd.io/ja/plugins/pwa/ https://docmd.io/ja/plugins/search/ https://docmd.io/ja/plugins/seo/ https://docmd.io/ja/plugins/sitemap/ https://docmd.io/ja/plugins/threads/ https://docmd.io/ja/privacy/ https://docmd.io/ja/search/ https://docmd.io/ja/terms/ https://docmd.io/plugins/ https://docmd.io/plugins/ai/ https://docmd.io/plugins/analytics/ https://docmd.io/plugins/git/ https://docmd.io/plugins/iconify/ https://docmd.io/plugins/llms/ https://docmd.io/plugins/math/ https://docmd.io/plugins/mdx/ https://docmd.io/plugins/mermaid/ https://docmd.io/plugins/okf/ https://docmd.io/plugins/openapi/ https://docmd.io/plugins/playground/ https://docmd.io/plugins/pwa/ https://docmd.io/plugins/search/ https://docmd.io/plugins/seo/ https://docmd.io/plugins/sitemap/ https://docmd.io/plugins/threads/ https://docmd.io/privacy/ https://docmd.io/ru/ https://docmd.io/ru/assistant/ https://docmd.io/ru/plugins/ https://docmd.io/ru/plugins/ai/ https://docmd.io/ru/plugins/analytics/ https://docmd.io/ru/plugins/git/ https://docmd.io/ru/plugins/iconify/ https://docmd.io/ru/plugins/llms/ https://docmd.io/ru/plugins/math/ https://docmd.io/ru/plugins/mdx/ https://docmd.io/ru/plugins/mermaid/ https://docmd.io/ru/plugins/okf/ https://docmd.io/ru/plugins/openapi/ https://docmd.io/ru/plugins/playground/ https://docmd.io/ru/plugins/pwa/ https://docmd.io/ru/plugins/search/ https://docmd.io/ru/plugins/seo/ https://docmd.io/ru/plugins/sitemap/ https://docmd.io/ru/plugins/threads/ https://docmd.io/ru/privacy/ https://docmd.io/ru/search/ https://docmd.io/ru/terms/ https://docmd.io/search/ https://docmd.io/terms/ https://docmd.io/zh/ https://docmd.io/zh/assistant/ https://docmd.io/zh/plugins/ https://docmd.io/zh/plugins/ai/ https://docmd.io/zh/plugins/analytics/ https://docmd.io/zh/plugins/git/ https://docmd.io/zh/plugins/iconify/ https://docmd.io/zh/plugins/llms/ https://docmd.io/zh/plugins/math/ https://docmd.io/zh/plugins/mdx/ https://docmd.io/zh/plugins/mermaid/ https://docmd.io/zh/plugins/okf/ https://docmd.io/zh/plugins/openapi/ https://docmd.io/zh/plugins/playground/ https://docmd.io/zh/plugins/pwa/ https://docmd.io/zh/plugins/search/ https://docmd.io/zh/plugins/seo/ https://docmd.io/zh/plugins/sitemap/ https://docmd.io/zh/plugins/threads/ https://docmd.io/zh/privacy/ https://docmd.io/zh/search/ https://docmd.io/zh/terms/
Recorded tool call
{
"type": "tool_call",
"seq": 27,
"ts": "2026-11-24T02:58:47.695Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 20 curl -s https://docmd.io/sitemap.xml | grep -o '<loc>[^<]*</loc>' | sed 's/<[^>]*>//g' | grep -v '/de/\\|/fr/\\|/es/' | sort -u"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b867888e569e1669",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 28,
"ts": "2026-11-24T02:58:48.481Z",
"turn": 1,
"output": {
"content": [
{
"text": "https://docmd.io/\nhttps://docmd.io/assistant/\nhttps://docmd.io/ja/\nhttps://docmd.io/ja/assistant/\nhttps://docmd.io/ja/plugins/\nhttps://docmd.io/ja/plugins/ai/\nhttps://docmd.io/ja/plugins/analytics/\nhttps://docmd.io/ja/plugins/git/\nhttps://docmd.io/ja/plugins/iconify/\nhttps://docmd.io/ja/plugins/llms/\nhttps://docmd.io/ja/plugins/math/\nhttps://docmd.io/ja/plugins/mdx/\nhttps://docmd.io/ja/plugins/mermaid/\nhttps://docmd.io/ja/plugins/okf/\nhttps://docmd.io/ja/plugins/openapi/\nhttps://docmd.io/ja/plugins/playground/\nhttps://docmd.io/ja/plugins/pwa/\nhttps://docmd.io/ja/plugins/search/\nhttps://docmd.io/ja/plugins/seo/\nhttps://docmd.io/ja/plugins/sitemap/\nhttps://docmd.io/ja/plugins/threads/\nhttps://docmd.io/ja/privacy/\nhttps://docmd.io/ja/search/\nhttps://docmd.io/ja/terms/\nhttps://docmd.io/plugins/\nhttps://docmd.io/plugins/ai/\nhttps://docmd.io/plugins/analytics/\nhttps://docmd.io/plugins/git/\nhttps://docmd.io/plugins/iconify/\nhttps://docmd.io/plugins/llms/\nhttps://docmd.io/plugins/math/\nhttps://docmd.io/plugins/mdx/\nhttps://docmd.io/plugins/mermaid/\nhttps://docmd.io/plugins/okf/\nhttps://docmd.io/plugins/openapi/\nhttps://docmd.io/plugins/playground/\nhttps://docmd.io/plugins/pwa/\nhttps://docmd.io/plugins/search/\nhttps://docmd.io/plugins/seo/\nhttps://docmd.io/plugins/sitemap/\nhttps://docmd.io/plugins/threads/\nhttps://docmd.io/privacy/\nhttps://docmd.io/ru/\nhttps://docmd.io/ru/assistant/\nhttps://docmd.io/ru/plugins/\nhttps://docmd.io/ru/plugins/ai/\nhttps://docmd.io/ru/plugins/analytics/\nhttps://docmd.io/ru/plugins/git/\nhttps://docmd.io/ru/plugins/iconify/\nhttps://docmd.io/ru/plugins/llms/\nhttps://docmd.io/ru/plugins/math/\nhttps://docmd.io/ru/plugins/mdx/\nhttps://docmd.io/ru/plugins/mermaid/\nhttps://docmd.io/ru/plugins/okf/\nhttps://docmd.io/ru/plugins/openapi/\nhttps://docmd.io/ru/plugins/playground/\nhttps://docmd.io/ru/plugins/pwa/\nhttps://docmd.io/ru/plugins/search/\nhttps://docmd.io/ru/plugins/seo/\nhttps://docmd.io/ru/plugins/sitemap/\nhttps://docmd.io/ru/plugins/threads/\nhttps://docmd.io/ru/privacy/\nhttps://docmd.io/ru/search/\nhttps://docmd.io/ru/terms/\nhttps://docmd.io/search/\nhttps://docmd.io/terms/\nhttps://docmd.io/zh/\nhttps://docmd.io/zh/assistant/\nhttps://docmd.io/zh/plugins/\nhttps://docmd.io/zh/plugins/ai/\nhttps://docmd.io/zh/plugins/analytics/\nhttps://docmd.io/zh/plugins/git/\nhttps://docmd.io/zh/plugins/iconify/\nhttps://docmd.io/zh/plugins/llms/\nhttps://docmd.io/zh/plugins/math/\nhttps://docmd.io/zh/plugins/mdx/\nhttps://docmd.io/zh/plugins/mermaid/\nhttps://docmd.io/zh/plugins/okf/\nhttps://docmd.io/zh/plugins/openapi/\nhttps://docmd.io/zh/plugins/playground/\nhttps://docmd.io/zh/plugins/pwa/\nhttps://docmd.io/zh/plugins/search/\nhttps://docmd.io/zh/plugins/seo/\nhttps://docmd.io/zh/plugins/sitemap/\nhttps://docmd.io/zh/plugins/threads/\nhttps://docmd.io/zh/privacy/\nhttps://docmd.io/zh/search/\nhttps://docmd.io/zh/terms/\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b867888e569e1669",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
No pricing page, no docs site (docs live on GitHub presumably). No hosted API/SDK — docmd is a local CLI compiler (npm install + docmd build), plus generated MCP endpoints served from your own static site. The user's constraints: "use the hosted product through its SDK or API", "If this product has no developer workflow you can act on, say so plainly and stop."
Let me verify: is there a hosted service (docmd cloud)? Check GitHub repo README quickly and whether npm @docmd/core exists. Also check assistant page (maybe a hosted chat). Let me be quick.
timeout 25 curl -s https://raw.githubusercontent.com/docmd-io/docmd/main/README.md | head -c 5000
<div align="right">
<div align="right">
<sup>
<b>EN</b> | <a href="./README.de.md">DE</a> | <a href="./README.zh.md">中文</a> | <a href="./README.es.md">ES</a> | <a href="./README.ja.md">日本語</a> | <a href="./README.fr.md">FR</a> | <a href="./README.ru.md">RU</a> | <a href="./README.tr.md">TR</a>
</sup>
</div>
<div align="center">
<a href="https://docmd.io">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true" />
<source media="(prefers-color-scheme: light)" srcset="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true" />
<img src="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true" alt="docmd" width="210" />
</picture>
</a>
<br/>
<p>
<b>Documentation for humans and machines.</b><br/>
One Markdown source → website, search, AI context, agents, and knowledge formats.
</p>
<p>
<a href="https://www.npmjs.com/package/@docmd/core"><img src="https://img.shields.io/npm/v/@docmd/core.svg?style=flat-square&color=CB3837" alt="npm version"></a>
<a href="https://www.npmjs.com/package/@docmd/core?activeTab=versions"><img src="https://img.shields.io/npm/dm/@docmd/core.svg?style=flat-square&color=38bd24" alt="monthly downloads"></a>
<a href="https://github.com/docmd-io/docmd"><img src="https://img.shields.io/github/stars/docmd-io/docmd?style=flat-square&logo=github" alt="GitHub stars"></a>
<a href="https://github.com/docmd-io/docmd/blob/main/LICENSE"><img src="https://img.shields.io/github/license/docmd-io/docmd.svg?style=flat-square&color=A31F34" alt="license"></a>
</p>
<h4>
<a href="https://docmd.io">Website</a> ·
<a href="https://docs.docmd.io">Documentation</a> ·
<a href="https://cloud.docmd.io">Cloud Relay</a> ·
<a href="https://live.docmd.io">Live Editor</a> ·
<a href="https://github.com/docmd-io/docmd-skills">Agent Skills</a> ·
<a href="https://github.com/docmd-io/docmd/issues">Issues</a>
</h4>
<br/>
<a href="https://docmd.io">
<img width="820" alt="docmd documentation — light and dark mode preview" src="https://raw.githubusercontent.com/docmd-io/docmd/refs/heads/main/assets/docmd-cover.webp" />
</a>
</div>
## Quick Start
Point docmd at a folder of Markdown files:
```bash
npx @docmd/core dev
```
Open `http://127.0.0.1:3000`.
That's it. Navigation is generated from your file structure. No config file, frontmatter, or framework required.
When you're ready to deploy:
```bash
npx @docmd/core build
```
docmd generates a static site that can be deployed to Vercel, Cloudflare Pages, Netlify, GitHub Pages, S3, NGINX, Caddy, or any other static host.
**Requires Node.js 20+.**
<details>
<summary><b>Global installation and Docker</b></summary>
<br/>
Install globally:
```bash
npm install -g @docmd/core
# or
pnpm add -g @docmd/core
```
Then:
```bash
docmd dev
docmd build
```
Or run with Docker:
```bash
docker run -p 3000:3000 ghcr.io/docmd-io/docmd:latest
```
> Pin the Docker image to a specific release for reproducible production builds.
</details>
## One Source. Every Output.
docmd is an open source documentation compiler.
Instead of treating your Markdown as input for a website alone, docmd compiles the same source into outputs for readers, search engines, LLMs, coding agents, and knowledge systems.
```text
Markdown
│
▼
docmd
│
├── → Static documentation site
├── → Offline search index
├── → llms.txt / llms-full.txt
├── → Open Knowledge Format (OKF)
├── → Sitemap + SEO metadata
├── → robots.txt + Open Graph
├── → MCP interface for AI agents
└── → AI Assistant context
```
One source tree. One build pipeline. No separate documentation and AI knowledge stacks to maintain.
## Why docmd?
Documentation increasingly has more than one reader.
People need a fast, navigable website. Search engines need structured metadata. LLMs need clean context. Coding agents need tools and protocols. RAG systems need structured knowledge.
docmd builds these together while keeping Markdown at the centre.
<a href="https://docs.docmd.io/comparison/">
<img width="800" alt="docmd comparison with other documentation tools" src="https://raw.githubusercontent.com/docmd-io/docmd/refs/heads/main/assets/docmd-comparison.webp" />
</a>
<br/>
<b>See the complete comparison with <a href="https://docs.docmd.io/comparison/">Docusaurus, Mintlify and other documentation tools →</a></b>
## Features
### Zero config, instant start
Point docmd at any Markdown folder and it runs. Navigation is generated automatically from your file structure — no boilerplate, frontmatter, or bRecorded tool call
{
"type": "tool_call",
"seq": 31,
"ts": "2026-11-24T02:58:52.392Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 25 curl -s https://raw.githubusercontent.com/docmd-io/docmd/main/README.md | head -c 5000"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-ad0540fa0dca7939",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 33,
"ts": "2026-11-24T02:58:53.369Z",
"turn": 1,
"output": {
"content": [
{
"text": "<div align=\"right\">\n <sup>\n <b>EN</b> | <a href=\"./README.de.md\">DE</a> | <a href=\"./README.zh.md\">中文</a> | <a href=\"./README.es.md\">ES</a> | <a href=\"./README.ja.md\">日本語</a> | <a href=\"./README.fr.md\">FR</a> | <a href=\"./README.ru.md\">RU</a> | <a href=\"./README.tr.md\">TR</a>\n </sup>\n</div>\n\n<div align=\"center\">\n\n <a href=\"https://docmd.io\">\n <picture>\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true\" />\n <source media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true\" />\n <img src=\"https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true\" alt=\"docmd\" width=\"210\" />\n </picture>\n </a>\n\n <br/>\n\n <p>\n <b>Documentation for humans and machines.</b><br/>\n One Markdown source → website, search, AI context, agents, and knowledge formats.\n </p>\n\n <p>\n <a href=\"https://www.npmjs.com/package/@docmd/core\"><img src=\"https://img.shields.io/npm/v/@docmd/core.svg?style=flat-square&color=CB3837\" alt=\"npm version\"></a>\n <a href=\"https://www.npmjs.com/package/@docmd/core?activeTab=versions\"><img src=\"https://img.shields.io/npm/dm/@docmd/core.svg?style=flat-square&color=38bd24\" alt=\"monthly downloads\"></a>\n <a href=\"https://github.com/docmd-io/docmd\"><img src=\"https://img.shields.io/github/stars/docmd-io/docmd?style=flat-square&logo=github\" alt=\"GitHub stars\"></a>\n <a href=\"https://github.com/docmd-io/docmd/blob/main/LICENSE\"><img src=\"https://img.shields.io/github/license/docmd-io/docmd.svg?style=flat-square&color=A31F34\" alt=\"license\"></a>\n </p>\n\n <h4>\n <a href=\"https://docmd.io\">Website</a> · \n <a href=\"https://docs.docmd.io\">Documentation</a> · \n <a href=\"https://cloud.docmd.io\">Cloud Relay</a> · \n <a href=\"https://live.docmd.io\">Live Editor</a> · \n <a href=\"https://github.com/docmd-io/docmd-skills\">Agent Skills</a> · \n <a href=\"https://github.com/docmd-io/docmd/issues\">Issues</a>\n </h4>\n\n <br/>\n\n <a href=\"https://docmd.io\">\n <img width=\"820\" alt=\"docmd documentation — light and dark mode preview\" src=\"https://raw.githubusercontent.com/docmd-io/docmd/refs/heads/main/assets/docmd-cover.webp\" />\n </a>\n\n</div>\n\n## Quick Start\n\nPoint docmd at a folder of Markdown files:\n\n```bash\nnpx @docmd/core dev\n```\n\nOpen `http://127.0.0.1:3000`.\n\nThat's it. Navigation is generated from your file structure. No config file, frontmatter, or framework required.\n\nWhen you're ready to deploy:\n\n```bash\nnpx @docmd/core build\n```\n\ndocmd generates a static site that can be deployed to Vercel, Cloudflare Pages, Netlify, GitHub Pages, S3, NGINX, Caddy, or any other static host.\n\n**Requires Node.js 20+.**\n\n<details>\n <summary><b>Global installation and Docker</b></summary>\n\n<br/>\n\nInstall globally:\n\n```bash\nnpm install -g @docmd/core\n\n# or\npnpm add -g @docmd/core\n```\n\nThen:\n\n```bash\ndocmd dev\ndocmd build\n```\n\nOr run with Docker:\n\n```bash\ndocker run -p 3000:3000 ghcr.io/docmd-io/docmd:latest\n```\n\n> Pin the Docker image to a specific release for reproducible production builds.\n\n</details>\n\n## One Source. Every Output.\n\ndocmd is an open source documentation compiler.\n\nInstead of treating your Markdown as input for a website alone, docmd compiles the same source into outputs for readers, search engines, LLMs, coding agents, and knowledge systems.\n\n```text\nMarkdown\n │\n ▼\n docmd\n │\n ├── → Static documentation site\n ├── → Offline search index\n ├── → llms.txt / llms-full.txt\n ├── → Open Knowledge Format (OKF)\n ├── → Sitemap + SEO metadata\n ├── → robots.txt + Open Graph\n ├── → MCP interface for AI agents\n └── → AI Assistant context\n```\n\nOne source tree. One build pipeline. No separate documentation and AI knowledge stacks to maintain.\n\n## Why docmd?\n\nDocumentation increasingly has more than one reader.\n\nPeople need a fast, navigable website. Search engines need structured metadata. LLMs need clean context. Coding agents need tools and protocols. RAG systems need structured knowledge.\n\ndocmd builds these together while keeping Markdown at the centre.\n\n<a href=\"https://docs.docmd.io/comparison/\">\n <img width=\"800\" alt=\"docmd comparison with other documentation tools\" src=\"https://raw.githubusercontent.com/docmd-io/docmd/refs/heads/main/assets/docmd-comparison.webp\" />\n</a>\n<br/>\n<b>See the complete comparison with <a href=\"https://docs.docmd.io/comparison/\">Docusaurus, Mintlify and other documentation tools →</a></b>\n\n## Features\n\n### Zero config, instant start\n\nPoint docmd at any Markdown folder and it runs. Navigation is generated automatically from your file structure — no boilerplate, frontmatter, or b",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-ad0540fa0dca7939",
"is_error": false,
"tool_kind": "shell"
}timeout 20 curl -s https://docmd.io/assistant/ | sed -e 's/<script[^>]*>.*<\/script>//g' -e 's/<[^>]*>/ /g' | tr -s ' \n' ' \n' | head -c 2000
<!--
<!--
---------------------------------------------------------------
docmd : the zero-config documentation engine.
@website https://docmd.io
[docmd-source] - Please do not remove this header.
---------------------------------------------------------------
-->
var root = "../";
if (root && !root.endsWith('/')) root += '/';
if (root === '') root = './';
window.DOCMD_ROOT = root;
window.DOCMD_APPEARANCE = "system";
window.DOCMD_LOCALE = "en";
docmd Assistant – Offline and Cloud Documentation Assistant
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"docmd","item":"https://docmd.io/"},{"@type":"ListItem","position":2,"name":"docmd Assistant – Offline and Cloud Documentation Assistant","item":"https://docmd.io/assistant/"}]}
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', "G-W8BCN0W4RF");
/**
* --------------------------------------------------------------------
* docmd : the zero-config documentation engine.
*
* @package @docmd/core (and ecosystem)
* @website https://docmd.io
* @repository https://github.com/docmd-io/docmd
* @license MIT
* @copyright Copyright (c) 2025-present docmd.io
*
* [docmd-source] - Please do not remove this header.
* --------------------------------------------------------------------
*/
(function () {
try {
// 1. Determine Theme
//
// Resolve from three sources, in priority order:
// 1. localStorage explicit user choice (light / dark)
// 2. window.DOCMD_APPEARANCE (current canonical name, set by EJS templates)
// 3. window.DOCMD_DEFAULT_MODE (legacy alias kept for pre-0.8.7 outputs)
// 4. 'light' as the final fallback
//
// Note: localStorage is only honoured when it holds an explicit
// 'light' or 'dark' value. A stored 'syRecorded tool call
{
"type": "tool_call",
"seq": 32,
"ts": "2026-11-24T02:58:52.392Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 20 curl -s https://docmd.io/assistant/ | sed -e 's/<script[^>]*>.*<\\/script>//g' -e 's/<[^>]*>/ /g' | tr -s ' \\n' ' \\n' | head -c 2000"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-83c15c98140f3e4f",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 34,
"ts": "2026-11-24T02:58:53.369Z",
"turn": 1,
"output": {
"content": [
{
"text": "<!--\n ---------------------------------------------------------------\n docmd : the zero-config documentation engine.\n @website https://docmd.io\n [docmd-source] - Please do not remove this header.\n ---------------------------------------------------------------\n-->\n \n \n \n \n \n \n \n var root = \"../\";\n if (root && !root.endsWith('/')) root += '/';\n if (root === '') root = './';\n window.DOCMD_ROOT = root;\n window.DOCMD_APPEARANCE = \"system\";\n window.DOCMD_LOCALE = \"en\";\n \n \n \n \n \n docmd Assistant – Offline and Cloud Documentation Assistant \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"docmd\",\"item\":\"https://docmd.io/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"docmd Assistant – Offline and Cloud Documentation Assistant\",\"item\":\"https://docmd.io/assistant/\"}]}\n \n \n \n \n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', \"G-W8BCN0W4RF\");\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n /**\n * --------------------------------------------------------------------\n * docmd : the zero-config documentation engine.\n *\n * @package @docmd/core (and ecosystem)\n * @website https://docmd.io\n * @repository https://github.com/docmd-io/docmd\n * @license MIT\n * @copyright Copyright (c) 2025-present docmd.io\n *\n * [docmd-source] - Please do not remove this header.\n * --------------------------------------------------------------------\n */\n(function () {\n try {\n // 1. Determine Theme\n //\n // Resolve from three sources, in priority order:\n // 1. localStorage explicit user choice (light / dark)\n // 2. window.DOCMD_APPEARANCE (current canonical name, set by EJS templates)\n // 3. window.DOCMD_DEFAULT_MODE (legacy alias kept for pre-0.8.7 outputs)\n // 4. 'light' as the final fallback\n //\n // Note: localStorage is only honoured when it holds an explicit\n // 'light' or 'dark' value. A stored 'sy",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-83c15c98140f3e4f",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
There is a "Cloud Relay" at cloud.docmd.io and docs.docmd.io. Let me check cloud.docmd.io for pricing/API/SDK. But note: the core workflow is a local CLI (npx @docmd/core dev — a long-running dev server). The user said don't start local service stacks / long-running commands; if quickstart requires either, say so and stop.
Still, let me check cloud.docmd.io — is there a hosted API/SDK with pricing? Quick check.
timeout 25 curl -sL -w "\n[HTTP %{http_code} -> %{url_effective}]\n" https://cloud.docmd.io | sed -e 's/<[^>]*>/ /g' | tr -s ' \n' ' \n' | head -c 2500docmd Cloud — Early Access Waitlist & Developer Platform
docmd Cloud — Early Access Waitlist & Developer Platform
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-1EJDZ63YNG');
docmd cloud
English
中文
Deutsch
Español
docmd.io
English
中文
Deutsch
Español
AI Relay & Assistant Server Active
Document at the speed of thought.
AI-powered search, bring-your-own-key assistant setup, and effortless multilingual publishing for your documentation.
Docmd Cloud Today: AI Relay
Zero-latency AI assistant proxy, envelope-encrypted BYOK keys, and search gap telemetry for self-hosted sites.
Coming Soon: Full Cloud Platform
Automated Git deployments, instant PR preview links, team collaboration, and hosted doc analytics.
Early Access Waitlist
Get Early Access to docmd cloud
Sign in with GitHub or Google to join the waitlist and configure your documentation assistant.
Continue with GitHub — Join Waitlist
Continue with Google — Join Waitlist
By signing in, you agree to our
Terms of Service
and
Privacy Policy .
OR JOIN VIA EMAIL
Or Join Waitlist with Email
Get early access invitations and roadmap updates sent directly to your inbox before general rollout.
Select your use case
Individual Developer
Engineering Team / Startup
Open Source Maintainer
Enterprise
Request Invite
Dashboard
Projects
Settings
Report Issue
Overview Dashboard
Zero-latency AI infrastructure, vector relay status, and active project overview.
+ Create Project
AI Relay Server Active
Docmd Cloud is currently in AI Relay Mode
Your account manages BYOK encryption keys, custom domains, and zero-data-retention AI search telemetry for self-hosted docmd sites. Full cloud documentation hosting, Git push deployments, and preview branches are under active development.
Enlist for Full Cloud Access
Active Projects
0 / 5
Max 5 projects per account
AI Queries Routed
0
Across all active projects · 0mRecorded tool call
{
"type": "tool_call",
"seq": 37,
"ts": "2026-11-24T02:58:56.687Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 25 curl -sL -w \"\\n[HTTP %{http_code} -> %{url_effective}]\\n\" https://cloud.docmd.io | sed -e 's/<[^>]*>/ /g' | tr -s ' \\n' ' \\n' | head -c 2500"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-882f60898e1d3007",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 40,
"ts": "2026-11-24T02:58:57.489Z",
"turn": 1,
"output": {
"content": [
{
"text": " \n \n \n \n \n docmd Cloud — Early Access Waitlist & Developer Platform \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', 'G-1EJDZ63YNG');\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n docmd cloud \n \n \n \n \n \n \n \n \n \n \n \n \n English \n 中文 \n Deutsch \n Español \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n docmd.io \n \n \n \n \n \n \n \n English \n 中文 \n Deutsch \n Español \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n AI Relay & Assistant Server Active \n \n Document at the speed of thought. \n AI-powered search, bring-your-own-key assistant setup, and effortless multilingual publishing for your documentation. \n \n \n \n \n \n \n Docmd Cloud Today: AI Relay \n Zero-latency AI assistant proxy, envelope-encrypted BYOK keys, and search gap telemetry for self-hosted sites. \n \n \n \n \n \n \n \n Coming Soon: Full Cloud Platform \n Automated Git deployments, instant PR preview links, team collaboration, and hosted doc analytics. \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Early Access Waitlist \n \n Get Early Access to docmd cloud \n Sign in with GitHub or Google to join the waitlist and configure your documentation assistant. \n \n \n \n \n \n \n Continue with GitHub — Join Waitlist \n \n \n \n \n \n \n \n \n Continue with Google — Join Waitlist \n \n \n \n By signing in, you agree to our \n Terms of Service \n and \n Privacy Policy .\n \n \n \n \n OR JOIN VIA EMAIL \n \n \n \n \n \n Or Join Waitlist with Email \n \n Get early access invitations and roadmap updates sent directly to your inbox before general rollout.\n \n \n \n \n \n \n \n \n \n \n \n \n \n Select your use case \n Individual Developer \n Engineering Team / Startup \n Open Source Maintainer \n Enterprise \n \n \n \n Request Invite \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Dashboard \n \n \n \n \n Projects \n \n \n \n \n \n \n \n \n Settings \n \n \n \n \n \n \n Report Issue \n \n \n \n \n \n \n \n \n \n Overview Dashboard \n Zero-latency AI infrastructure, vector relay status, and active project overview. \n \n + Create Project \n \n \n \n \n \n \n AI Relay Server Active \n \n Docmd Cloud is currently in AI Relay Mode \n \n Your account manages BYOK encryption keys, custom domains, and zero-data-retention AI search telemetry for self-hosted docmd sites. Full cloud documentation hosting, Git push deployments, and preview branches are under active development.\n \n \n \n \n \n Enlist for Full Cloud Access \n \n \n \n \n \n \n \n Active Projects \n \n \n 0 / 5 \n Max 5 projects per account \n \n \n \n AI Queries Routed \n \n \n 0 \n Across all active projects · 0m",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-882f60898e1d3007",
"is_error": false,
"tool_kind": "shell"
}timeout 25 curl -s https://docs.docmd.io/sitemap.xml | grep -o '<loc>[^<]*</loc>' | sed 's/<[^>]*>//g' | grep -iv '/de/\|/fr/\|/es/\|/ja/\|/zh/\|/ru/' | head -60
https://docs.docmd.io/comparison/
https://docs.docmd.io/comparison/ https://docs.docmd.io/configuration/cookie-consent/ https://docs.docmd.io/configuration/layout-ui/ https://docs.docmd.io/configuration/localisation/ https://docs.docmd.io/configuration/localisation/translated-content/ https://docs.docmd.io/configuration/localisation/ui-strings/ https://docs.docmd.io/configuration/menubar/ https://docs.docmd.io/configuration/navigation/ https://docs.docmd.io/configuration/overview/ https://docs.docmd.io/configuration/redirects/ https://docs.docmd.io/configuration/security/ https://docs.docmd.io/configuration/site-banner/ https://docs.docmd.io/configuration/versioning/ https://docs.docmd.io/configuration/workspaces/ https://docs.docmd.io/configuration/zero-config/ https://docs.docmd.io/content/containers/buttons/ https://docs.docmd.io/content/containers/callouts/ https://docs.docmd.io/content/containers/cards/ https://docs.docmd.io/content/containers/changelogs/ https://docs.docmd.io/content/containers/collapsible/ https://docs.docmd.io/content/containers/embed/ https://docs.docmd.io/content/containers/grids/ https://docs.docmd.io/content/containers/hero/ https://docs.docmd.io/content/containers/ https://docs.docmd.io/content/containers/mermaid/ https://docs.docmd.io/content/containers/nested-containers/ https://docs.docmd.io/content/containers/playground/ https://docs.docmd.io/content/containers/steps/ https://docs.docmd.io/content/containers/tabs/ https://docs.docmd.io/content/containers/tags/ https://docs.docmd.io/content/containers/tooltip/ https://docs.docmd.io/content/frontmatter/ https://docs.docmd.io/content/live-preview/ https://docs.docmd.io/content/mdx/ https://docs.docmd.io/content/no-style-example/ https://docs.docmd.io/content/no-style-pages/ https://docs.docmd.io/content/syntax/advanced/ https://docs.docmd.io/content/syntax/code/ https://docs.docmd.io/content/syntax/images/ https://docs.docmd.io/content/syntax/ https://docs.docmd.io/content/syntax/linking/ https://docs.docmd.io/content/syntax/mdx/ https://docs.docmd.io/deployment/caddy/ https://docs.docmd.io/deployment/cloudflare-pages/ https://docs.docmd.io/deployment/deployer/ https://docs.docmd.io/deployment/docker/ https://docs.docmd.io/deployment/docmd-serve/ https://docs.docmd.io/deployment/firebase/ https://docs.docmd.io/deployment/github-action/ https://docs.docmd.io/deployment/ https://docs.docmd.io/deployment/netlify/ https://docs.docmd.io/deployment/nginx/ https://docs.docmd.io/deployment/starter-template/ https://docs.docmd.io/deployment/vercel/ https://docs.docmd.io/development/building-plugins/ https://docs.docmd.io/development/building-templates/ https://docs.docmd.io/development/engines/js/ https://docs.docmd.io/development/engines/overview/ https://docs.docmd.io/development/engines/python/ https://docs.docmd.io/development/engines/rust/
Recorded tool call
{
"type": "tool_call",
"seq": 38,
"ts": "2026-11-24T02:58:56.687Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 25 curl -s https://docs.docmd.io/sitemap.xml | grep -o '<loc>[^<]*</loc>' | sed 's/<[^>]*>//g' | grep -iv '/de/\\|/fr/\\|/es/\\|/ja/\\|/zh/\\|/ru/' | head -60"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8e2b0f3c089fa37f",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 39,
"ts": "2026-11-24T02:58:57.489Z",
"turn": 1,
"output": {
"content": [
{
"text": "https://docs.docmd.io/comparison/\nhttps://docs.docmd.io/configuration/cookie-consent/\nhttps://docs.docmd.io/configuration/layout-ui/\nhttps://docs.docmd.io/configuration/localisation/\nhttps://docs.docmd.io/configuration/localisation/translated-content/\nhttps://docs.docmd.io/configuration/localisation/ui-strings/\nhttps://docs.docmd.io/configuration/menubar/\nhttps://docs.docmd.io/configuration/navigation/\nhttps://docs.docmd.io/configuration/overview/\nhttps://docs.docmd.io/configuration/redirects/\nhttps://docs.docmd.io/configuration/security/\nhttps://docs.docmd.io/configuration/site-banner/\nhttps://docs.docmd.io/configuration/versioning/\nhttps://docs.docmd.io/configuration/workspaces/\nhttps://docs.docmd.io/configuration/zero-config/\nhttps://docs.docmd.io/content/containers/buttons/\nhttps://docs.docmd.io/content/containers/callouts/\nhttps://docs.docmd.io/content/containers/cards/\nhttps://docs.docmd.io/content/containers/changelogs/\nhttps://docs.docmd.io/content/containers/collapsible/\nhttps://docs.docmd.io/content/containers/embed/\nhttps://docs.docmd.io/content/containers/grids/\nhttps://docs.docmd.io/content/containers/hero/\nhttps://docs.docmd.io/content/containers/\nhttps://docs.docmd.io/content/containers/mermaid/\nhttps://docs.docmd.io/content/containers/nested-containers/\nhttps://docs.docmd.io/content/containers/playground/\nhttps://docs.docmd.io/content/containers/steps/\nhttps://docs.docmd.io/content/containers/tabs/\nhttps://docs.docmd.io/content/containers/tags/\nhttps://docs.docmd.io/content/containers/tooltip/\nhttps://docs.docmd.io/content/frontmatter/\nhttps://docs.docmd.io/content/live-preview/\nhttps://docs.docmd.io/content/mdx/\nhttps://docs.docmd.io/content/no-style-example/\nhttps://docs.docmd.io/content/no-style-pages/\nhttps://docs.docmd.io/content/syntax/advanced/\nhttps://docs.docmd.io/content/syntax/code/\nhttps://docs.docmd.io/content/syntax/images/\nhttps://docs.docmd.io/content/syntax/\nhttps://docs.docmd.io/content/syntax/linking/\nhttps://docs.docmd.io/content/syntax/mdx/\nhttps://docs.docmd.io/deployment/caddy/\nhttps://docs.docmd.io/deployment/cloudflare-pages/\nhttps://docs.docmd.io/deployment/deployer/\nhttps://docs.docmd.io/deployment/docker/\nhttps://docs.docmd.io/deployment/docmd-serve/\nhttps://docs.docmd.io/deployment/firebase/\nhttps://docs.docmd.io/deployment/github-action/\nhttps://docs.docmd.io/deployment/\nhttps://docs.docmd.io/deployment/netlify/\nhttps://docs.docmd.io/deployment/nginx/\nhttps://docs.docmd.io/deployment/starter-template/\nhttps://docs.docmd.io/deployment/vercel/\nhttps://docs.docmd.io/development/building-plugins/\nhttps://docs.docmd.io/development/building-templates/\nhttps://docs.docmd.io/development/engines/js/\nhttps://docs.docmd.io/development/engines/overview/\nhttps://docs.docmd.io/development/engines/python/\nhttps://docs.docmd.io/development/engines/rust/\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8e2b0f3c089fa37f",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Key findings:
- docmd is an open-source (MIT) local documentation compiler CLI. Its quickstart is
npx @docmd/core dev— a long-running local dev server — orbuild+ self-host static output. There is no hosted API/SDK to build against. - docmd Cloud (cloud.docmd.io) is an early-access waitlist: AI Relay (BYOK proxy) with OAuth sign-in; "Coming Soon: Full Cloud Platform". Max 5 projects per account shown in mockup dashboard. No public pricing page, no documented REST API/SDK for programmatic use, requires GitHub/Google OAuth sign-in and waitlist invite.
Let me quickly check if there's a pricing page in the docs sitemap (remaining entries) and whether cloud has an API.
timeout 25 curl -s https://docs.docmd.io/sitemap.xml | grep -o '<loc>[^<]*</loc>' | sed 's/<[^>]*>//g' | grep -iv '/de/\|/fr/\|/es/\|/ja/\|/zh/\|/ru/' | tail -60
https://docs.docmd.io/05/release-notes/0-5-0/
https://docs.docmd.io/05/release-notes/0-5-0/ https://docs.docmd.io/05/release-notes/0-5-1/ https://docs.docmd.io/05/release-notes/0-5-2/ https://docs.docmd.io/05/release-notes/0-5-3/ https://docs.docmd.io/05/release-notes/0-5-4/ https://docs.docmd.io/05/theming/assets-management/ https://docs.docmd.io/05/theming/available-themes/ https://docs.docmd.io/05/theming/custom-css-js/ https://docs.docmd.io/05/theming/customisation/ https://docs.docmd.io/05/theming/icons/ https://docs.docmd.io/05/theming/light-dark-mode/ https://docs.docmd.io/04/advanced/browser-api/ https://docs.docmd.io/04/advanced/client-side-events/ https://docs.docmd.io/04/advanced/node-api/ https://docs.docmd.io/04/cli-commands/ https://docs.docmd.io/04/comparison/ https://docs.docmd.io/04/configuration/general/ https://docs.docmd.io/04/configuration/layout-slots/ https://docs.docmd.io/04/configuration/navigation/ https://docs.docmd.io/04/content/containers/buttons/ https://docs.docmd.io/04/content/containers/callouts/ https://docs.docmd.io/04/content/containers/cards/ https://docs.docmd.io/04/content/containers/changelogs/ https://docs.docmd.io/04/content/containers/collapsible/ https://docs.docmd.io/04/content/containers/ https://docs.docmd.io/04/content/containers/nested-containers/ https://docs.docmd.io/04/content/containers/steps/ https://docs.docmd.io/04/content/containers/tabs/ https://docs.docmd.io/04/content/frontmatter/ https://docs.docmd.io/04/content/live-preview/ https://docs.docmd.io/04/content/no-style-example/ https://docs.docmd.io/04/content/no-style-pages/ https://docs.docmd.io/04/content/syntax/advanced/ https://docs.docmd.io/04/content/syntax/code/ https://docs.docmd.io/04/content/syntax/images/ https://docs.docmd.io/04/content/syntax/ https://docs.docmd.io/04/content/syntax/linking/ https://docs.docmd.io/04/contributing/ https://docs.docmd.io/04/deployment/ https://docs.docmd.io/04/getting-started/basic-usage/ https://docs.docmd.io/04/getting-started/installation/ https://docs.docmd.io/04/ https://docs.docmd.io/04/plugins/analytics/ https://docs.docmd.io/04/plugins/building-plugins/ https://docs.docmd.io/04/plugins/llms/ https://docs.docmd.io/04/plugins/mermaid/ https://docs.docmd.io/04/plugins/search/ https://docs.docmd.io/04/plugins/seo/ https://docs.docmd.io/04/plugins/sitemap/ https://docs.docmd.io/04/plugins/usage/ https://docs.docmd.io/04/recipes/custom-fonts/ https://docs.docmd.io/04/recipes/favicon/ https://docs.docmd.io/04/recipes/landing-page/ https://docs.docmd.io/04/recipes/writing-guide/ https://docs.docmd.io/04/theming/assets-management/ https://docs.docmd.io/04/theming/available-themes/ https://docs.docmd.io/04/theming/custom-css-js/ https://docs.docmd.io/04/theming/customisation/ https://docs.docmd.io/04/theming/icons/ https://docs.docmd.io/04/theming/light-dark-mode/
Recorded tool call
{
"type": "tool_call",
"seq": 43,
"ts": "2026-11-24T02:59:02.808Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 25 curl -s https://docs.docmd.io/sitemap.xml | grep -o '<loc>[^<]*</loc>' | sed 's/<[^>]*>//g' | grep -iv '/de/\\|/fr/\\|/es/\\|/ja/\\|/zh/\\|/ru/' | tail -60"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-97a9643dbe852c12",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 46,
"ts": "2026-11-24T02:59:03.175Z",
"turn": 1,
"output": {
"content": [
{
"text": "https://docs.docmd.io/05/release-notes/0-5-0/\nhttps://docs.docmd.io/05/release-notes/0-5-1/\nhttps://docs.docmd.io/05/release-notes/0-5-2/\nhttps://docs.docmd.io/05/release-notes/0-5-3/\nhttps://docs.docmd.io/05/release-notes/0-5-4/\nhttps://docs.docmd.io/05/theming/assets-management/\nhttps://docs.docmd.io/05/theming/available-themes/\nhttps://docs.docmd.io/05/theming/custom-css-js/\nhttps://docs.docmd.io/05/theming/customisation/\nhttps://docs.docmd.io/05/theming/icons/\nhttps://docs.docmd.io/05/theming/light-dark-mode/\nhttps://docs.docmd.io/04/advanced/browser-api/\nhttps://docs.docmd.io/04/advanced/client-side-events/\nhttps://docs.docmd.io/04/advanced/node-api/\nhttps://docs.docmd.io/04/cli-commands/\nhttps://docs.docmd.io/04/comparison/\nhttps://docs.docmd.io/04/configuration/general/\nhttps://docs.docmd.io/04/configuration/layout-slots/\nhttps://docs.docmd.io/04/configuration/navigation/\nhttps://docs.docmd.io/04/content/containers/buttons/\nhttps://docs.docmd.io/04/content/containers/callouts/\nhttps://docs.docmd.io/04/content/containers/cards/\nhttps://docs.docmd.io/04/content/containers/changelogs/\nhttps://docs.docmd.io/04/content/containers/collapsible/\nhttps://docs.docmd.io/04/content/containers/\nhttps://docs.docmd.io/04/content/containers/nested-containers/\nhttps://docs.docmd.io/04/content/containers/steps/\nhttps://docs.docmd.io/04/content/containers/tabs/\nhttps://docs.docmd.io/04/content/frontmatter/\nhttps://docs.docmd.io/04/content/live-preview/\nhttps://docs.docmd.io/04/content/no-style-example/\nhttps://docs.docmd.io/04/content/no-style-pages/\nhttps://docs.docmd.io/04/content/syntax/advanced/\nhttps://docs.docmd.io/04/content/syntax/code/\nhttps://docs.docmd.io/04/content/syntax/images/\nhttps://docs.docmd.io/04/content/syntax/\nhttps://docs.docmd.io/04/content/syntax/linking/\nhttps://docs.docmd.io/04/contributing/\nhttps://docs.docmd.io/04/deployment/\nhttps://docs.docmd.io/04/getting-started/basic-usage/\nhttps://docs.docmd.io/04/getting-started/installation/\nhttps://docs.docmd.io/04/\nhttps://docs.docmd.io/04/plugins/analytics/\nhttps://docs.docmd.io/04/plugins/building-plugins/\nhttps://docs.docmd.io/04/plugins/llms/\nhttps://docs.docmd.io/04/plugins/mermaid/\nhttps://docs.docmd.io/04/plugins/search/\nhttps://docs.docmd.io/04/plugins/seo/\nhttps://docs.docmd.io/04/plugins/sitemap/\nhttps://docs.docmd.io/04/plugins/usage/\nhttps://docs.docmd.io/04/recipes/custom-fonts/\nhttps://docs.docmd.io/04/recipes/favicon/\nhttps://docs.docmd.io/04/recipes/landing-page/\nhttps://docs.docmd.io/04/recipes/writing-guide/\nhttps://docs.docmd.io/04/theming/assets-management/\nhttps://docs.docmd.io/04/theming/available-themes/\nhttps://docs.docmd.io/04/theming/custom-css-js/\nhttps://docs.docmd.io/04/theming/customisation/\nhttps://docs.docmd.io/04/theming/icons/\nhttps://docs.docmd.io/04/theming/light-dark-mode/\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-97a9643dbe852c12",
"is_error": false,
"tool_kind": "shell"
}timeout 25 curl -s https://docs.docmd.io/llms.txt | head -c 3000
# docmd docs
# docmd docs > Generated by docmd ## Overview - [docmd Docs — Official Documentation, Guides & API Reference](https://docs.docmd.io/) Open-source documentation compiler. One Markdown source, one command, generates website, search, AI context, agent protocols, and knowledge formats together. ## 04 - [Browser API (Client-Side)](https://docs.docmd.io/04/advanced/browser-api/) How to use the docmd engine directly in the browser to render documentation dynamically without a server. - [Client-Side Events](https://docs.docmd.io/04/advanced/client-side-events/) Hook into the docmd SPA router for custom interactive features. - [Programmatic API](https://docs.docmd.io/04/advanced/node-api/) Programmatic API for building docmd sites from your own scripts. - [CLI Commands](https://docs.docmd.io/04/cli-commands/) A complete reference guide to the docmd command-line interface and its available options. - [Comparing Documentation Tools](https://docs.docmd.io/04/comparison/) See how docmd stacks up against Docusaurus, MkDocs, Mintlify, and other documentation generators. - [General Configuration](https://docs.docmd.io/04/configuration/general/) Configure the core settings, layout, and appearance of your docmd site. - [Layout & UI Slots](https://docs.docmd.io/04/configuration/layout-slots/) Master the structure of docmd by controlling headers, sidebars, and functional slots. - [Navigation Configuration](https://docs.docmd.io/04/configuration/navigation/) Configure your sidebar links, nested groups, icons, and category labels. - [Buttons](https://docs.docmd.io/04/content/containers/buttons/) Create call-to-action buttons for links, downloads, and external resources. - [Callouts](https://docs.docmd.io/04/content/containers/callouts/) Highlight important information using semantic callout blocks. - [Cards](https://docs.docmd.io/04/content/containers/cards/) Group content into visually distinct, framed boxes. - [Changelogs](https://docs.docmd.io/04/content/containers/changelogs/) Create beautiful, timeline-based version history pages. - [Collapsible](https://docs.docmd.io/04/content/containers/collapsible/) Create toggleable accordion sections for FAQs and advanced details. - [Custom Containers](https://docs.docmd.io/04/content/containers/) A gallery of the rich UI components available in docmd. - [Nested Containers](https://docs.docmd.io/04/content/containers/nested-containers/) Learn how to use the advanced nested container system to create complex, interactive documentation layouts with seamless container nesting. - [Steps](https://docs.docmd.io/04/content/containers/steps/) Create beautiful numbered instruction lists for tutorials. - [Tabs](https://docs.docmd.io/04/content/containers/tabs/) Organise content into switchable tabbed panes. - [Frontmatter Reference](https://docs.docmd.io/04/content/frontmatter/) The complete guide to page-level metadata and configuration in docmd. - [Live Preview & Browser Support](https:/
Recorded tool call
{
"type": "tool_call",
"seq": 44,
"ts": "2026-11-24T02:59:02.808Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 25 curl -s https://docs.docmd.io/llms.txt | head -c 3000"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9f5d08b3cf749e07",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 45,
"ts": "2026-11-24T02:59:03.175Z",
"turn": 1,
"output": {
"content": [
{
"text": "# docmd docs\n\n> Generated by docmd\n\n## Overview\n\n- [docmd Docs — Official Documentation, Guides & API Reference](https://docs.docmd.io/)\n Open-source documentation compiler. One Markdown source, one command, generates website, search, AI context, agent protocols, and knowledge formats together.\n\n## 04\n\n- [Browser API (Client-Side)](https://docs.docmd.io/04/advanced/browser-api/)\n How to use the docmd engine directly in the browser to render documentation dynamically without a server.\n- [Client-Side Events](https://docs.docmd.io/04/advanced/client-side-events/)\n Hook into the docmd SPA router for custom interactive features.\n- [Programmatic API](https://docs.docmd.io/04/advanced/node-api/)\n Programmatic API for building docmd sites from your own scripts.\n- [CLI Commands](https://docs.docmd.io/04/cli-commands/)\n A complete reference guide to the docmd command-line interface and its available options.\n- [Comparing Documentation Tools](https://docs.docmd.io/04/comparison/)\n See how docmd stacks up against Docusaurus, MkDocs, Mintlify, and other documentation generators.\n- [General Configuration](https://docs.docmd.io/04/configuration/general/)\n Configure the core settings, layout, and appearance of your docmd site.\n- [Layout & UI Slots](https://docs.docmd.io/04/configuration/layout-slots/)\n Master the structure of docmd by controlling headers, sidebars, and functional slots.\n- [Navigation Configuration](https://docs.docmd.io/04/configuration/navigation/)\n Configure your sidebar links, nested groups, icons, and category labels.\n- [Buttons](https://docs.docmd.io/04/content/containers/buttons/)\n Create call-to-action buttons for links, downloads, and external resources.\n- [Callouts](https://docs.docmd.io/04/content/containers/callouts/)\n Highlight important information using semantic callout blocks.\n- [Cards](https://docs.docmd.io/04/content/containers/cards/)\n Group content into visually distinct, framed boxes.\n- [Changelogs](https://docs.docmd.io/04/content/containers/changelogs/)\n Create beautiful, timeline-based version history pages.\n- [Collapsible](https://docs.docmd.io/04/content/containers/collapsible/)\n Create toggleable accordion sections for FAQs and advanced details.\n- [Custom Containers](https://docs.docmd.io/04/content/containers/)\n A gallery of the rich UI components available in docmd.\n- [Nested Containers](https://docs.docmd.io/04/content/containers/nested-containers/)\n Learn how to use the advanced nested container system to create complex, interactive documentation layouts with seamless container nesting.\n- [Steps](https://docs.docmd.io/04/content/containers/steps/)\n Create beautiful numbered instruction lists for tutorials.\n- [Tabs](https://docs.docmd.io/04/content/containers/tabs/)\n Organise content into switchable tabbed panes.\n- [Frontmatter Reference](https://docs.docmd.io/04/content/frontmatter/)\n The complete guide to page-level metadata and configuration in docmd.\n- [Live Preview & Browser Support](https:/",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9f5d08b3cf749e07",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
There's a Node API (programmatic) and Browser API — but these are local/library, not hosted. The hosted part is cloud.docmd.io = waitlist + AI Relay (BYOK proxy), with OAuth login required. No pricing page found. Let me quickly check the cloud site for pricing terms (search page for "pricing" / plans) and whether the AI Relay has a documented API endpoint.
timeout 25 curl -sL https://cloud.docmd.io | sed -e 's/<[^>]*>/ /g' | tr -s ' \n' ' \n' | grep -i -n -E 'pric|free|\$|plan|tier|per month|quota|limit|api|token|relay' | head -40
109: AI Relay & Assistant Server Active
109: AI Relay & Assistant Server Active 119: Docmd Cloud Today: AI Relay 261: Zero-latency AI infrastructure, vector relay status, and active project overview. 270: AI Relay Server Active 272: Docmd Cloud is currently in AI Relay Mode 304: Cloud Platform Tier 312: Relay & Security Health 342: Each project permits exactly one associated domain name (e.g., docs.example.com) used for authentication and AI assistant relay. 377: Relay Requests 382: Tokens Used 387: Avg Relay Latency 401: Relay Request Usage 402: Daily request statistics through docmd cloud relay. 454: Tokens Used 509: API Key * 540: How your API keys are protected 563: Stored keys are strictly write-only. They are never sent back to the browser or returned in any API response. Neither third parties nor docmd engineers can view or retrieve your plaintext keys. 620: Only one exact domain name is allowed per project, used to authenticate and enable AI assistant relay features. 650: Deleting this project will revoke relay API key access and remove associated metadata. 662: Manage your account profile, plan quotas, and global authorization secrets. 680: Account Quota & Usage 683: Free Tier Allowance 684: Free Relay 696: Signing out will remove your active token from this device browser session. 720: Only one exact domain name is allowed per project, used to authenticate and enable AI assistant relay features.
Recorded tool call
{
"type": "tool_call",
"seq": 49,
"ts": "2026-11-24T02:59:08.590Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 25 curl -sL https://cloud.docmd.io | sed -e 's/<[^>]*>/ /g' | tr -s ' \\n' ' \\n' | grep -i -n -E 'pric|free|\\$|plan|tier|per month|quota|limit|api|token|relay' | head -40"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-99b2fca8e4773c86",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 51,
"ts": "2026-11-24T02:59:09.609Z",
"turn": 1,
"output": {
"content": [
{
"text": "109: AI Relay & Assistant Server Active \n119: Docmd Cloud Today: AI Relay \n261: Zero-latency AI infrastructure, vector relay status, and active project overview. \n270: AI Relay Server Active \n272: Docmd Cloud is currently in AI Relay Mode \n304: Cloud Platform Tier \n312: Relay & Security Health \n342: Each project permits exactly one associated domain name (e.g., docs.example.com) used for authentication and AI assistant relay. \n377: Relay Requests \n382: Tokens Used \n387: Avg Relay Latency \n401: Relay Request Usage \n402: Daily request statistics through docmd cloud relay. \n454: Tokens Used \n509: API Key * \n540: How your API keys are protected \n563: Stored keys are strictly write-only. They are never sent back to the browser or returned in any API response. Neither third parties nor docmd engineers can view or retrieve your plaintext keys. \n620: Only one exact domain name is allowed per project, used to authenticate and enable AI assistant relay features. \n650: Deleting this project will revoke relay API key access and remove associated metadata.\n662: Manage your account profile, plan quotas, and global authorization secrets. \n680: Account Quota & Usage \n683: Free Tier Allowance \n684: Free Relay \n696: Signing out will remove your active token from this device browser session.\n720: Only one exact domain name is allowed per project, used to authenticate and enable AI assistant relay features.\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-99b2fca8e4773c86",
"is_error": false,
"tool_kind": "shell"
}timeout 25 curl -s https://docs.docmd.io/llms-full.txt -o /tmp/dfull.txt -w "%{http_code} %{size_download}\n"; grep -i -n -E 'cloud\.docmd|pricing|api key|relay' /tmp/dfull.txt | head -30200 2548594
200 2548594
353:Most documentation generators push you toward third-party services like Algolia DocSearch. While Algolia is fantastic for enterprise scale, it requires API keys, crawler configurations, and sends user search data to external servers.
3323:| **Setup** | **Zero Config** (Automatic) | Complex (API Keys, CI/CD crawling) |
7754:| **Setup** | **Zero Config** (Automatic) | Complex (API Keys, CI/CD crawling) |
12870:| **Setup** | **Zero Config** (Automatic) | Complex (API Keys, CI/CD crawling) |
22636:| **Setup** | **Zero Config** (Automatic) | Complex (API Keys, CI/CD crawling) |
30993:4. `get_config()`: Returns the resolved `docmd.config` — title, source and output directories, locales, versions, and enabled plugins. Sensitive values (API keys, analytics IDs) are stripped from the response.
34348:| Setup | Zero config (automatic) | API keys, CI crawling |
34357:`docmd-search` is a fully offline semantic search engine for documentation. It runs entirely in the browser, requires no server, no API keys, and sends nothing to anyone. It is not tied to docmd: you can plug it into any documentation engine or static site.
35636:| **`get_config`** | Retrieve the resolved `docmd.config` — title, source/output directories, configured locales, versions, and enabled plugins. Sensitive values (API keys, analytics IDs) are stripped from the response. |
35968:- **`get_config()`** — Returns the resolved `docmd.config` as a JSON object: title, source and output directories, configured locales, versions, and the list of enabled plugins. Sensitive values (API keys, analytics IDs) are reconstructed into a safe summary — raw secrets are never returned.
36894:docmd-search is a semantic search engine built for documentation sites. It runs entirely in the browser or CLI, requires no servers or API keys, and keeps all processing local.
38776:| **Zero-Config Cloud Relay** | ✅ | ❌ | ❌ | ❌ | ✅ (SaaS only) |
45630:The docmd AI Assistant provides readers with real-time, context-aware answers derived directly from your Markdown documentation. Powered by `@docmd/plugin-ai` and `aiplug`, the assistant performs Retrieval-Augmented Generation (RAG) using your site's pre-compiled search index while keeping API keys securely on the server side.
45636:2. You have an API key for your preferred provider (OpenAI, Anthropic, Gemini, DeepSeek, Groq, or Ollama).
45642:| Architecture | Best For | Backend Infrastructure | API Key Security |
45644:| **Free docmd Cloud Relay** | Static sites (GitHub Pages, Cloudflare Pages, Netlify, Vercel, S3) | Zero servers, powered by docmd's managed serverless relay | Hardware KMS encrypted at rest |
45650:## Strategy 1: Free docmd Cloud Relay (Zero Infrastructure)
45652:For static Jamstack hosting, docmd provides a free Cloud Relay platform at [cloud.docmd.io](https://cloud.docmd.io) that proxies requests securely without exposing your API keys or requiring you to maintain a Node.js backend.
45655:1. Go to [cloud.docmd.io](https://cloud.docmd.io) and log in.
45663:4. Enter your provider API key, click **Test Connection**, and click **Save Key & Configuration**.
45689:Now build and deploy your static files anywhere (GitHub Pages, S3, Cloudflare Pages). The client assistant automatically establishes a secure session via the relay.
45731:To maintain zero credential leakage, provider API keys are read exclusively from environment variables on your server:
46997:* **External URL Fetching & Cloud Portal Governance**: Fetches remote HTTP/HTTPS reference resources when enabled in `docmd.config.json` and permitted by docmd Cloud Relay governance policies.
46998:* **Conversation History Summarisation**: Invisible background compaction bounds context payloads within relay thresholds across extended dialogues, preventing payload truncation.
46999:* **Free docmd Cloud Relay**: Deploy on static hosts (GitHub Pages, Cloudflare Pages, Netlify, Vercel) without any backend server infrastructure.
47000:* **BYOK Server & KMS Security**: API keys are encrypted at rest via KMS in docmd Cloud or resolved server-side (`AI_API_KEY`, `OPENAI_API_KEY`), guaranteeing zero credential exposure in client web bundles.
47008:### Option A: Free docmd Cloud Relay (Static Sites)
47010:For static sites (GitHub Pages, Cloudflare Pages, Netlify, Vercel, S3), connect to docmd's free Cloud Relay service using your `projectId`:
47067:| `projectId` | `string` | `undefined` | Project ID from [docmd Cloud](https://cloud.docmd.io) for free serverless relay on static sites. |
47068:| `cloud` | `object` | `undefined` | Cloud relay options object (e.g. `{ "projectId": "docmd_ai..." }`). |
Recorded tool call
{
"type": "tool_call",
"seq": 50,
"ts": "2026-11-24T02:59:08.590Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 25 curl -s https://docs.docmd.io/llms-full.txt -o /tmp/dfull.txt -w \"%{http_code} %{size_download}\\n\"; grep -i -n -E 'cloud\\.docmd|pricing|api key|relay' /tmp/dfull.txt | head -30"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-81c95fa6ea71b5dd",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 52,
"ts": "2026-11-24T02:59:09.609Z",
"turn": 1,
"output": {
"content": [
{
"text": "200 2548594\n353:Most documentation generators push you toward third-party services like Algolia DocSearch. While Algolia is fantastic for enterprise scale, it requires API keys, crawler configurations, and sends user search data to external servers.\n3323:| **Setup** | **Zero Config** (Automatic) | Complex (API Keys, CI/CD crawling) |\n7754:| **Setup** | **Zero Config** (Automatic) | Complex (API Keys, CI/CD crawling) |\n12870:| **Setup** | **Zero Config** (Automatic) | Complex (API Keys, CI/CD crawling) |\n22636:| **Setup** | **Zero Config** (Automatic) | Complex (API Keys, CI/CD crawling) |\n30993:4. `get_config()`: Returns the resolved `docmd.config` — title, source and output directories, locales, versions, and enabled plugins. Sensitive values (API keys, analytics IDs) are stripped from the response.\n34348:| Setup | Zero config (automatic) | API keys, CI crawling |\n34357:`docmd-search` is a fully offline semantic search engine for documentation. It runs entirely in the browser, requires no server, no API keys, and sends nothing to anyone. It is not tied to docmd: you can plug it into any documentation engine or static site.\n35636:| **`get_config`** | Retrieve the resolved `docmd.config` — title, source/output directories, configured locales, versions, and enabled plugins. Sensitive values (API keys, analytics IDs) are stripped from the response. |\n35968:- **`get_config()`** — Returns the resolved `docmd.config` as a JSON object: title, source and output directories, configured locales, versions, and the list of enabled plugins. Sensitive values (API keys, analytics IDs) are reconstructed into a safe summary — raw secrets are never returned.\n36894:docmd-search is a semantic search engine built for documentation sites. It runs entirely in the browser or CLI, requires no servers or API keys, and keeps all processing local.\n38776:| **Zero-Config Cloud Relay** | ✅ | ❌ | ❌ | ❌ | ✅ (SaaS only) |\n45630:The docmd AI Assistant provides readers with real-time, context-aware answers derived directly from your Markdown documentation. Powered by `@docmd/plugin-ai` and `aiplug`, the assistant performs Retrieval-Augmented Generation (RAG) using your site's pre-compiled search index while keeping API keys securely on the server side.\n45636:2. You have an API key for your preferred provider (OpenAI, Anthropic, Gemini, DeepSeek, Groq, or Ollama).\n45642:| Architecture | Best For | Backend Infrastructure | API Key Security |\n45644:| **Free docmd Cloud Relay** | Static sites (GitHub Pages, Cloudflare Pages, Netlify, Vercel, S3) | Zero servers, powered by docmd's managed serverless relay | Hardware KMS encrypted at rest |\n45650:## Strategy 1: Free docmd Cloud Relay (Zero Infrastructure)\n45652:For static Jamstack hosting, docmd provides a free Cloud Relay platform at [cloud.docmd.io](https://cloud.docmd.io) that proxies requests securely without exposing your API keys or requiring you to maintain a Node.js backend.\n45655:1. Go to [cloud.docmd.io](https://cloud.docmd.io) and log in.\n45663:4. Enter your provider API key, click **Test Connection**, and click **Save Key & Configuration**.\n45689:Now build and deploy your static files anywhere (GitHub Pages, S3, Cloudflare Pages). The client assistant automatically establishes a secure session via the relay.\n45731:To maintain zero credential leakage, provider API keys are read exclusively from environment variables on your server:\n46997:* **External URL Fetching & Cloud Portal Governance**: Fetches remote HTTP/HTTPS reference resources when enabled in `docmd.config.json` and permitted by docmd Cloud Relay governance policies.\n46998:* **Conversation History Summarisation**: Invisible background compaction bounds context payloads within relay thresholds across extended dialogues, preventing payload truncation.\n46999:* **Free docmd Cloud Relay**: Deploy on static hosts (GitHub Pages, Cloudflare Pages, Netlify, Vercel) without any backend server infrastructure.\n47000:* **BYOK Server & KMS Security**: API keys are encrypted at rest via KMS in docmd Cloud or resolved server-side (`AI_API_KEY`, `OPENAI_API_KEY`), guaranteeing zero credential exposure in client web bundles.\n47008:### Option A: Free docmd Cloud Relay (Static Sites)\n47010:For static sites (GitHub Pages, Cloudflare Pages, Netlify, Vercel, S3), connect to docmd's free Cloud Relay service using your `projectId`:\n47067:| `projectId` | `string` | `undefined` | Project ID from [docmd Cloud](https://cloud.docmd.io) for free serverless relay on static sites. |\n47068:| `cloud` | `object` | `undefined` | Cloud relay options object (e.g. `{ \"projectId\": \"docmd_ai...\" }`). |\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-81c95fa6ea71b5dd",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
So the hosted piece: docmd Cloud Relay — free tier, requires OAuth login (GitHub/Google) at cloud.docmd.io, currently early-access waitlist for full cloud; AI Relay is "active". There's a free relay allowance ("Free Tier Allowance / Free Relay" in the mock UI). Pricing: free; you bring your own LLM provider key (you pay your provider). No published pricing tiers beyond "Free Relay" and quota shown as 5 projects max per account.
Can I act on a developer workflow without starting local stacks / long-running commands? The relay needs a projectId obtained via interactive OAuth login at cloud.docmd.io — I can't do that (no browser, no credentials). Also, the docmd quickstart is npx @docmd/core dev (long-running local server) — explicitly disallowed. npx @docmd/core build is a one-shot build though — that's not a service stack or long-running. But is that "the hosted product through its SDK or API"? No — build is local CLI. The user's instruction: "Stay light: use the hosted product through its SDK or API. Do not start local service stacks or wait for long-running commands; if the quickstart requires either, say so plainly and stop."
The official quickstart literally is npx @docmd/core dev → long-running local dev server. And there's no hosted API/SDK I can call without an OAuth-gated projectId. So per instructions: say so plainly and stop.
Should I attempt anything? Maybe I could verify quickly whether the build command works headless — but that contradicts "if the quickstart requires either, say so plainly and stop". I'll stop, but give useful info: pricing, manageability assessment.
Let me get a bit more precise pricing/quota facts from the docs to be accurate rather than vague. Check around line 46640-46700 and cloud page text near "Free Tier Allowance".
timeout 25 curl -sL https://cloud.docmd.io | sed -e 's/<[^>]*>/|/g' | tr -s ' \n' ' \n' | grep -i -A3 -B3 -E 'Free Tier Allowance|Free Relay|Cloud Platform Tier|5 projects' | head -60
||
|| | |0 / 5| |Max 5 projects per account| | | | -- | | | |Cloud Platform Tier| |Priority Queue| | |Early Access Active| -- | | |Projects Management| |Manage your docmd projects, domain settings, and AI models (Max 5 projects).| | |+ Create Project| | -- |Account Quota & Usage| | | |Free Tier Allowance| |Free Relay| | | || | |1 of 5 Projects Used| | | |
Recorded tool call
{
"type": "tool_call",
"seq": 55,
"ts": "2026-11-24T02:59:15.871Z",
"name": "bash",
"turn": 1,
"input": {
"command": "timeout 25 curl -sL https://cloud.docmd.io | sed -e 's/<[^>]*>/|/g' | tr -s ' \\n' ' \\n' | grep -i -A3 -B3 -E 'Free Tier Allowance|Free Relay|Cloud Platform Tier|5 projects' | head -60"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-985a5416a1317b27",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 58,
"ts": "2026-11-24T02:59:16.800Z",
"turn": 1,
"output": {
"content": [
{
"text": " ||\n |\n |0 / 5|\n |Max 5 projects per account|\n |\n |\n |\n--\n |\n |\n |\n |Cloud Platform Tier|\n |Priority Queue|\n |\n |Early Access Active|\n--\n |\n |\n |Projects Management|\n |Manage your docmd projects, domain settings, and AI models (Max 5 projects).|\n |\n |+ Create Project|\n |\n--\n |Account Quota & Usage|\n |\n |\n |Free Tier Allowance|\n |Free Relay|\n |\n |\n ||\n |\n |1 of 5 Projects Used|\n |\n |\n |\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-985a5416a1317b27",
"is_error": false,
"tool_kind": "shell"
}sed -n '46640,46700p' /tmp/dfull.txt
:::
:::
You can run `npx @docmd/core dev` immediately after migration to view your site.
## Feature Migration Support Matrix
| Feature | Automated Support | Details |
| :--- | :---: | :--- |
| **Markdown Files** | ✅ Yes | Moves all `.md` and `.mdx` content to `docs/` |
| **Directory Structure** | ✅ Yes | Preserves existing folder hierarchy |
| **Site Metadata** | ✅ Yes | Extracts site `title` and output directories |
| **Container Syntax** | ✅ Yes | Native support for VitePress and Docusaurus admonition containers |
| **Navigation / Sidebar** | ⚠️ Partial | Auto-translates MkDocs `nav:` blocks; other frameworks require `navigation.json` |
| **Localisation (i18n)** | ⚠️ Manual | Requires mapping directory locales in `docmd.config.json` |
| **Versioning** | ⚠️ Manual | Requires placing versioned content in `vXX/` subdirectories |
| **React / Vue Components** | ❌ Manual | Framework components must be replaced with native `docmd` containers |
::: callout success "Container Syntax Compatibility" icon:check-circle
Container syntax from **VitePress** (`:::tip`, `:::warning`, `:::danger`, `:::info`, `:::details`) and **Docusaurus** (`:::note`, `:::caution`) works out of the box. Existing admonitions render without manual editing.
**MkDocs** uses `!!!` syntax, which requires converting to standard `:::` format.
:::
## Navigation and Localisation Setup
Because each framework structures navigation sidebars, translations, and multi-versioning differently, `docmd` moves your raw content safely so you can configure navigation and i18n using `docmd`'s JSON schema:
- **Navigation:** Learn how to define sidebar links in the [Navigation Guide](../configuration/navigation.md).
- **Localisation:** Configure multi-language documentation in the [Localisation Guide](../configuration/localisation/index.md).
- **Versioning:** Structure versioned documentation in the [Versioning Setup](../configuration/versioning.md).
## Supported Migration Targets
::: grids
::: grid
::: card "Docusaurus" icon:arrow-right-left
Migrate from Docusaurus v2/v3 React documentation sites.
[Read Guide](./docusaurus.md)
:::
:::
::: grid
::: card "MkDocs" icon:arrow-right-left
Migrate from MkDocs and Material for MkDocs Python projects.
[Read Guide](./mkdocs.md)
:::
:::
::: grid
::: card "VitePress" icon:arrow-right-left
Migrate from Vue-powered VitePress documentation setups.
[Read Guide](./vitepress.md)
:::
:::
::: grid
::: card "Astro Starlight" icon:arrow-right-left
Migrate from Astro Starlight framework projects.
[Read Guide](./starlight.md)
:::
:::
:::
Recorded tool call
{
"type": "tool_call",
"seq": 56,
"ts": "2026-11-24T02:59:15.871Z",
"name": "bash",
"turn": 1,
"input": {
"command": "sed -n '46640,46700p' /tmp/dfull.txt"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b03386d6d61be540",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 57,
"ts": "2026-11-24T02:59:15.871Z",
"turn": 1,
"output": {
"content": [
{
"text": ":::\n\nYou can run `npx @docmd/core dev` immediately after migration to view your site.\n\n## Feature Migration Support Matrix\n\n| Feature | Automated Support | Details |\n| :--- | :---: | :--- |\n| **Markdown Files** | ✅ Yes | Moves all `.md` and `.mdx` content to `docs/` |\n| **Directory Structure** | ✅ Yes | Preserves existing folder hierarchy |\n| **Site Metadata** | ✅ Yes | Extracts site `title` and output directories |\n| **Container Syntax** | ✅ Yes | Native support for VitePress and Docusaurus admonition containers |\n| **Navigation / Sidebar** | ⚠️ Partial | Auto-translates MkDocs `nav:` blocks; other frameworks require `navigation.json` |\n| **Localisation (i18n)** | ⚠️ Manual | Requires mapping directory locales in `docmd.config.json` |\n| **Versioning** | ⚠️ Manual | Requires placing versioned content in `vXX/` subdirectories |\n| **React / Vue Components** | ❌ Manual | Framework components must be replaced with native `docmd` containers |\n\n::: callout success \"Container Syntax Compatibility\" icon:check-circle\nContainer syntax from **VitePress** (`:::tip`, `:::warning`, `:::danger`, `:::info`, `:::details`) and **Docusaurus** (`:::note`, `:::caution`) works out of the box. Existing admonitions render without manual editing.\n\n**MkDocs** uses `!!!` syntax, which requires converting to standard `:::` format.\n:::\n\n## Navigation and Localisation Setup\n\nBecause each framework structures navigation sidebars, translations, and multi-versioning differently, `docmd` moves your raw content safely so you can configure navigation and i18n using `docmd`'s JSON schema:\n\n- **Navigation:** Learn how to define sidebar links in the [Navigation Guide](../configuration/navigation.md).\n- **Localisation:** Configure multi-language documentation in the [Localisation Guide](../configuration/localisation/index.md).\n- **Versioning:** Structure versioned documentation in the [Versioning Setup](../configuration/versioning.md).\n\n## Supported Migration Targets\n\n::: grids\n ::: grid\n ::: card \"Docusaurus\" icon:arrow-right-left\n Migrate from Docusaurus v2/v3 React documentation sites.\n [Read Guide](./docusaurus.md)\n :::\n :::\n ::: grid\n ::: card \"MkDocs\" icon:arrow-right-left\n Migrate from MkDocs and Material for MkDocs Python projects.\n [Read Guide](./mkdocs.md)\n :::\n :::\n ::: grid\n ::: card \"VitePress\" icon:arrow-right-left\n Migrate from Vue-powered VitePress documentation setups.\n [Read Guide](./vitepress.md)\n :::\n :::\n ::: grid\n ::: card \"Astro Starlight\" icon:arrow-right-left\n Migrate from Astro Starlight framework projects.\n [Read Guide](./starlight.md)\n :::\n :::\n:::\n\n\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b03386d6d61be540",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
I have enough. Stop and report per instructions.
Summary:
- Blocked / stopping: docmd has no actable hosted API/SDK workflow available to me.
- docmd core = open-source local CLI (
npx @docmd/core devlong-running dev server;build→ static output you self-host). Quickstart requires a long-running local server → disallowed by your constraints. - The only hosted piece is docmd Cloud Relay (cloud.docmd.io): an AI-assistant proxy. It's gated behind interactive GitHub/Google OAuth sign-in + early-access waitlist, and needs a browser-created
projectIdper project bound to exactly one domain. No API key can be created programmatically, no public REST API/SDK docs, no credentials present in this sandbox.
- docmd core = open-source local CLI (
- Pricing: The Cloud Relay is presented as free ("Free Tier Allowance / Free Relay"), quota: max 5 projects per account, 1 domain per project; full cloud platform (Git deploys, PR previews, analytics) is "coming soon"/early-access waitlist, tier labeled "Cloud Platform Tier — Priority Queue / Early Access Active". Costs are BYOK: you supply your own OpenAI/Anthropic/Gemini/DeepSeek/Groq/Ollama key and pay that provider; docmd doesn't publish per-token or seat pricing. The CLI itself is MIT-licensed and free. Caveat: the cloud dashboard pages are largely a marketing/mock UI, so quota numbers aren't a contractual price sheet; no /pricing page exists.
- Easy for me to manage? Mixed: content-side very easy (plain Markdown folder, zero config, generated nav, Node programmatic API + CLI, deterministic static build — I can write/edit Markdown and run one-shot builds fine). Not easy: anything requiring the dev server (long-running), and anything requiring cloud.docmd.io (interactive OAuth, waitlist, domain binding) — I can't drive those.
- Nothing was written to the repo (still just .gitignore).
Offer option: if they lift the no-long-running constraint, I can do a one-shot npx @docmd/core build example (no dev server) — that would work. Actually that's worth offering: build is a one-shot command, not a service stack. But quickstart is dev. I'll offer it as an explicit next step requiring their OK.
Stopping here — plainly
I did not build an example, and I wrote nothing to /sandbox/repo (it's still just .gitignore + the initial commit). Reason: docmd has no hosted API/SDK workflow I can act on under your constraints.
What I verified (docs + registry + site, no installs, no servers):
- docmd core is a local CLI, not a hosted service.
@docmd/core(MIT, Node 20+, ~100k downloads/mo across the@docmd/*packages). The official quickstart isnpx @docmd/core dev→ a long-running local dev server on127.0.0.1:3000, thennpx @docmd/core build→ static files you host (Vercel/Cloudflare/Netlify/GitHub Pages/S3/NGINX), or the Docker imageghcr.io/docmd-io/docmd:latest. So the quickstart requires exactly the thing you told me not to start. - The only hosted piece is docmd Cloud Relay (
cloud.docmd.io), and it's not programmatically reachable:- Sign-in is interactive GitHub/Google OAuth, and the full platform is an early-access waitlist ("Cloud Platform Tier — Priority Queue / Early Access Active"; Git deployments, PR preview links, team collaboration, hosted analytics all listed as coming soon).
- Today it's "AI Relay Mode" only: a proxy for the docmd AI assistant. Using it requires a browser-created
projectId, and each project is bound to exactly one domain (e.g.docs.example.com) used to authenticate the relay. No credentials, noprojectId, no API key exist in this sandbox, and there's no public REST/SDK reference for creating one headlessly.
Pricing
There is no pricing page (I checked docmd.io, docs.docmd.io sitemap, and cloud.docmd.io). What the product states:
- CLI/compiler: free, open source, MIT.
- Cloud Relay: free tier — the dashboard labels it "Free Tier Allowance / Free Relay", with max 5 projects per account and 1 domain per project.
- Real cost is BYOK: you paste your own OpenAI / Anthropic / Gemini / DeepSeek / Groq / Ollama key (stored write-only, KMS/envelope-encrypted, never returned by the API) and pay your LLM provider directly. docmd publishes no per-token, per-seat, or paid-tier numbers.
- Caveat: those quota figures come from the cloud marketing/dashboard UI, not a contractual price sheet, so treat "free + 5 projects" as current early-access state, not a stable published plan.
Will it be easy for me to manage?
Split answer:
- Easy: the content and build side. Zero-config — point it at a folder of Markdown, nav is generated from the file tree, no frontmatter or framework required. There's a documented Node programmatic API and Browser API,
docmd.config.jsonfor config, a plugin system (@docmd/plugin-*: search, math, mermaid, openapi, llms, seo, sitemap…), and machine outputs I can consume directly without a browser (llms.txt,llms-full.txt, OKF, MCP endpoints, offline search index). I can write/edit Markdown and run one-shotbuildcommands reliably. - Not easy: anything needing
dev/watch mode (long-running), and anything needingcloud.docmd.io(interactive OAuth, waitlist invite, domain-bound projects). I can't drive those from here.
Unblock options
- Lift the "no one-shot local build" restriction and I'll scaffold a small Markdown docs tree plus a
docmd.config.jsonand runnpx @docmd/core build(single non-server command) to produce static output +llms.txt/MCP artifacts. No dev server involved. - Or give me a Cloud Relay
projectId(created by you via OAuth atcloud.docmd.io) and I'll wire the assistant config for a static deploy — though I still can't test the relay without your own provider key and a bound domain.
›Thinking…
Let me do it. Check node version, install @docmd/core locally (npm install, one-shot), create docs tree, config, run build once.
Let me first check the CLI docs for config file format and build command flags. I have /tmp/dfull.txt (llms-full.txt) — grep for docmd.config.json schema and CLI commands.
node -v; npm -v; grep -n -i -E '^#+ .*(CLI Commands|Programmatic API)' /tmp/dfull.txt | head
v22.23.4
v22.23.4 10.9.8 180:## [Programmatic API](https://docs.docmd.io/04/advanced/node-api/) (04) 229:## [CLI Commands](https://docs.docmd.io/04/cli-commands/) (04) 4646:## [CLI Commands](https://docs.docmd.io/05/cli-commands/) (05) 9356:## [CLI Commands](https://docs.docmd.io/06/cli-commands/) (06) 14453:## [CLI Commands](https://docs.docmd.io/07/api/cli-commands/) (07) 35285:## [CLI Commands](https://docs.docmd.io/08/reference/cli-commands/) (08) 48894:## [CLI Commands](https://docs.docmd.io/09/reference/cli-commands/) (09) 62399:## [CLI Commands](https://docs.docmd.io/reference/cli-commands/) (Reference)
Recorded tool call
{
"type": "tool_call",
"seq": 71,
"ts": "2026-11-24T02:59:40.578Z",
"name": "bash",
"turn": 2,
"input": {
"command": "node -v; npm -v; grep -n -i -E '^#+ .*(CLI Commands|Programmatic API)' /tmp/dfull.txt | head"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a24d9cc3b8b62918",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 74,
"ts": "2026-11-24T02:59:40.578Z",
"turn": 2,
"output": {
"content": [
{
"text": "v22.23.4\n10.9.8\n180:## [Programmatic API](https://docs.docmd.io/04/advanced/node-api/) (04)\n229:## [CLI Commands](https://docs.docmd.io/04/cli-commands/) (04)\n4646:## [CLI Commands](https://docs.docmd.io/05/cli-commands/) (05)\n9356:## [CLI Commands](https://docs.docmd.io/06/cli-commands/) (06)\n14453:## [CLI Commands](https://docs.docmd.io/07/api/cli-commands/) (07)\n35285:## [CLI Commands](https://docs.docmd.io/08/reference/cli-commands/) (08)\n48894:## [CLI Commands](https://docs.docmd.io/09/reference/cli-commands/) (09)\n62399:## [CLI Commands](https://docs.docmd.io/reference/cli-commands/) (Reference)\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a24d9cc3b8b62918",
"is_error": false,
"tool_kind": "shell"
}grep -n 'docmd.config.json' /tmp/dfull.txt | head -20
18630:├── docmd.config.json ← Central configuration script
18630:├── docmd.config.json ← Central configuration script 18636:`docmd.config.json` (or `docmd.config.ts`) is the recommended, primary configuration format. The legacy `docmd.config.js` format remains supported but acts strictly as a fallback when `.json` or `.ts` configuration files are missing. 18659:├── docmd.config.json ← Root configuration (defines global settings) 18665:│ ├── docmd.config.json ← Project-specific config overrides 18669: ├── docmd.config.json ← Project-specific config overrides 18676:* **Global Configuration Cascading:** Any configuration defined in the root `docmd.config.json` (such as `theme` or `menubar`) acts as a fallback default. Individual projects can selectively override these defaults in their own local config files. 24752:```json "docmd.config.json" 24762:Each project folder has its own `docmd.config.json` with independent configuration. One `npx @docmd/core build` produces a single deployable directory - no reverse proxy, no nginx, no separate CI pipelines. 24793:| **docmd** | **~15 lines** | 1 (`docmd.config.json`) | 24828:```json "docmd.config.json" 24936:The engine uses a modular layout system. Configure most UI zones in the `layout` section of your `docmd.config.json`. 24953:Configure these buttons under `theme.copyWidgets` in your `docmd.config.json`: 24955:```json "docmd.config.json" 24974:```json "docmd.config.json" 25002:```json "docmd.config.json" 25039:```json "docmd.config.json" 25098:```json "docmd.config.json" 25116:```json "docmd.config.json" 25265:```json "docmd.config.json" 25331:Configure the menubar in the `layout` section of your `docmd.config.json`.
Recorded tool call
{
"type": "tool_call",
"seq": 72,
"ts": "2026-11-24T02:59:40.578Z",
"name": "bash",
"turn": 2,
"input": {
"command": "grep -n 'docmd.config.json' /tmp/dfull.txt | head -20"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9f763eec2c3a94d1",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 73,
"ts": "2026-11-24T02:59:40.578Z",
"turn": 2,
"output": {
"content": [
{
"text": "18630:├── docmd.config.json ← Central configuration script\n18636:`docmd.config.json` (or `docmd.config.ts`) is the recommended, primary configuration format. The legacy `docmd.config.js` format remains supported but acts strictly as a fallback when `.json` or `.ts` configuration files are missing.\n18659:├── docmd.config.json ← Root configuration (defines global settings)\n18665:│ ├── docmd.config.json ← Project-specific config overrides\n18669: ├── docmd.config.json ← Project-specific config overrides\n18676:* **Global Configuration Cascading:** Any configuration defined in the root `docmd.config.json` (such as `theme` or `menubar`) acts as a fallback default. Individual projects can selectively override these defaults in their own local config files.\n24752:```json \"docmd.config.json\"\n24762:Each project folder has its own `docmd.config.json` with independent configuration. One `npx @docmd/core build` produces a single deployable directory - no reverse proxy, no nginx, no separate CI pipelines.\n24793:| **docmd** | **~15 lines** | 1 (`docmd.config.json`) |\n24828:```json \"docmd.config.json\"\n24936:The engine uses a modular layout system. Configure most UI zones in the `layout` section of your `docmd.config.json`.\n24953:Configure these buttons under `theme.copyWidgets` in your `docmd.config.json`:\n24955:```json \"docmd.config.json\"\n24974:```json \"docmd.config.json\"\n25002:```json \"docmd.config.json\"\n25039:```json \"docmd.config.json\"\n25098:```json \"docmd.config.json\"\n25116:```json \"docmd.config.json\"\n25265:```json \"docmd.config.json\"\n25331:Configure the menubar in the `layout` section of your `docmd.config.json`.\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9f763eec2c3a94d1",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Let me read the CLI commands reference section (latest: line 62399) and a config example (line 24752 / 24828).
sed -n '62399,62520p' /tmp/dfull.txt
## [CLI Commands](https://docs.docmd.io/reference/cli-commands/) (Reference)
## [CLI Commands](https://docs.docmd.io/reference/cli-commands/) (Reference)
---
title: "CLI Commands"
description: "Command-line interface reference for docmd, commands, flags, and options for building and managing documentation."
---
## Commands Overview
| Command | Technical Function |
| :--- | :--- |
| [`npx @docmd/core init`](#npx-docmdcore-init) | Initialise a new documentation workspace. |
| [`npx @docmd/core dev`](#npx-docmdcore-dev) | Launch local development server with hot-reloading. |
| [`npx @docmd/core build`](#npx-docmdcore-build) | Compile production-ready static site. |
| [`npx @docmd/core serve`](#npx-docmdcore-serve) | Build once and serve the site in production with compression and health probes. |
| [`npx @docmd/core live`](#npx-docmdcore-live) | Launch browser-based Live Editor environment. |
| [`npx @docmd/core stop`](#npx-docmdcore-stop) | Terminate active `dev` and `serve` servers. |
| [`npx @docmd/core deploy`](#npx-docmdcore-deploy) | Generate deployment manifests and container files. |
| [`npx @docmd/core migrate`](#npx-docmdcore-migrate) | Upgrade legacy configurations or migrate from third-party tools. |
| [`npx @docmd/core validate`](#npx-docmdcore-validate) | Run link validation and check Markdown document integrity. |
| [`npx @docmd/core doctor`](#npx-docmdcore-doctor) | Run pre-flight environment diagnostics and inspect dependencies. |
| [`npx @docmd/core mcp`](#npx-docmdcore-mcp) | Execute Model Context Protocol (MCP) server over `stdio`. |
| [`npx @docmd/core add <plugin>`](#npx-docmdcore-add-plugin) | Install and configure docmd plugins. |
| [`npx @docmd/core remove <plugin>`](#npx-docmdcore-remove-plugin) | Uninstall plugins and remove configuration entries. |
## Global Options
| Parameter Flag | Alias | Technical Description |
| :--- | :--- | :--- |
| `--config <path>` | `-c` | Specify custom path to configuration file (default: `docmd.config.json`). |
| `--no-open` | - | Disable auto-opening browser on server startup (`dev` command). |
| `--verbose` | `-V` | Output detailed execution logs. |
| `--version` | `-v` | Output installed package version. |
| `--help` | `-h` | Output command CLI help instructions. |
| `--cwd <path>` | - | Override target working directory path. |
## `npx @docmd/core init`
Initialise a documentation repository layout inside the working directory.
```bash
npx @docmd/core init
```
Generates:
* `docs/index.md`, Default landing page.
* `docmd.config.json`, Standard configuration options.
* Updated `package.json` build scripts.
## `npx @docmd/core dev`
Launch local development server with real-time hot-reloading.
```bash
npx @docmd/core dev [options]
```
| Parameter Flag | Alias | Technical Description |
| :--- | :--- | :--- |
| `--port <number>` | `-p` | Specify web server port (default: `3000`). |
| `--host <address>` | - | Specify network interface to bind (default: `127.0.0.1`; `0.0.0.0` for all/LAN). |
| `--no-open` | - | Prevent automatic launching of the default web browser upon server startup. |
| `--config <path>` | `-c` | Custom path to configuration file. |
## `npx @docmd/core build`
Compile a production static site into your configured output directory (`site/`).
```bash
npx @docmd/core build [options]
```
| Parameter Flag | Alias | Technical Description |
| :--- | :--- | :--- |
| `--offline` | - | Rewrite asset and link paths to `.html` relative files for local file system browsing. |
| `--config <path>` | `-c` | Custom path to configuration file. |
## `npx @docmd/core serve`
Build the site once and serve it in production mode: fixed port, Gzip compression, no file watcher, no live reload, and container health probes. See [Production Server](../deployment/docmd-serve) for the `serve` config block, plugin actions and MCP over HTTP.
```bash
npx @docmd/core serve [options]
```
| Parameter Flag | Alias | Technical Description |
| :--- | :--- | :--- |
| `--host <address>` | - | Interface to bind (default: `serve.host`, `DOCMD_HOST`, then `127.0.0.1`; `0.0.0.0` for container / LAN). |
| `--port <number>` | `-p` | Port to listen on (default: `serve.port`, `PORT`, then `3000`). Exits with code 1 if it is in use. |
| `--config <path>` | `-c` | Custom path to configuration file. |
::: callout info "Container Health Probes (/healthz)" icon:activity
`docmd serve` exposes an automatic `GET /healthz` endpoint returning `{"status":"ok","version":"..."}` with HTTP 200 and `Cache-Control: no-store`. Use this endpoint for Docker `HEALTHCHECK`, Kubernetes liveness and readiness probes, and cloud load balancers.
:::
## `npx @docmd/core live`
Launch browser-based Live Editor environment.
```bash
npx @docmd/core live [options]
```
| Parameter Flag | Technical Description |
| :--- | :--- |
| `--build-only` | Compile standalone Live Editor bundle without starting preview web server. |
## `npx @docmd/core stop`
Terminate running development or production servers.
```bash
npx @docmd/core stop [options]
```
| Parameter Flag | Alias | Technical Description |
| :--- | :--- | :--- |
| `--port <number>` | `-p` | Terminate process running on specified port. |
| `--force` | `-f` | Kill processes running on standard ports (3000, 3001, 8080, 8081). |
## `npx @docmd/core deploy`
Generate deployment manifests and configuration files.
Recorded tool call
{
"type": "tool_call",
"seq": 77,
"ts": "2026-11-24T02:59:43.073Z",
"name": "bash",
"turn": 2,
"input": {
"command": "sed -n '62399,62520p' /tmp/dfull.txt"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-804fb7c64c697a07",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 79,
"ts": "2026-11-24T02:59:43.073Z",
"turn": 2,
"output": {
"content": [
{
"text": "## [CLI Commands](https://docs.docmd.io/reference/cli-commands/) (Reference)\n\n---\ntitle: \"CLI Commands\"\ndescription: \"Command-line interface reference for docmd, commands, flags, and options for building and managing documentation.\"\n---\n\n## Commands Overview\n\n| Command | Technical Function |\n| :--- | :--- |\n| [`npx @docmd/core init`](#npx-docmdcore-init) | Initialise a new documentation workspace. |\n| [`npx @docmd/core dev`](#npx-docmdcore-dev) | Launch local development server with hot-reloading. |\n| [`npx @docmd/core build`](#npx-docmdcore-build) | Compile production-ready static site. |\n| [`npx @docmd/core serve`](#npx-docmdcore-serve) | Build once and serve the site in production with compression and health probes. |\n| [`npx @docmd/core live`](#npx-docmdcore-live) | Launch browser-based Live Editor environment. |\n| [`npx @docmd/core stop`](#npx-docmdcore-stop) | Terminate active `dev` and `serve` servers. |\n| [`npx @docmd/core deploy`](#npx-docmdcore-deploy) | Generate deployment manifests and container files. |\n| [`npx @docmd/core migrate`](#npx-docmdcore-migrate) | Upgrade legacy configurations or migrate from third-party tools. |\n| [`npx @docmd/core validate`](#npx-docmdcore-validate) | Run link validation and check Markdown document integrity. |\n| [`npx @docmd/core doctor`](#npx-docmdcore-doctor) | Run pre-flight environment diagnostics and inspect dependencies. |\n| [`npx @docmd/core mcp`](#npx-docmdcore-mcp) | Execute Model Context Protocol (MCP) server over `stdio`. |\n| [`npx @docmd/core add <plugin>`](#npx-docmdcore-add-plugin) | Install and configure docmd plugins. |\n| [`npx @docmd/core remove <plugin>`](#npx-docmdcore-remove-plugin) | Uninstall plugins and remove configuration entries. |\n\n## Global Options\n\n| Parameter Flag | Alias | Technical Description |\n| :--- | :--- | :--- |\n| `--config <path>` | `-c` | Specify custom path to configuration file (default: `docmd.config.json`). |\n| `--no-open` | - | Disable auto-opening browser on server startup (`dev` command). |\n| `--verbose` | `-V` | Output detailed execution logs. |\n| `--version` | `-v` | Output installed package version. |\n| `--help` | `-h` | Output command CLI help instructions. |\n| `--cwd <path>` | - | Override target working directory path. |\n\n## `npx @docmd/core init`\n\nInitialise a documentation repository layout inside the working directory.\n\n```bash\nnpx @docmd/core init\n```\n\nGenerates:\n* `docs/index.md`, Default landing page.\n* `docmd.config.json`, Standard configuration options.\n* Updated `package.json` build scripts.\n\n## `npx @docmd/core dev`\n\nLaunch local development server with real-time hot-reloading.\n\n```bash\nnpx @docmd/core dev [options]\n```\n\n| Parameter Flag | Alias | Technical Description |\n| :--- | :--- | :--- |\n| `--port <number>` | `-p` | Specify web server port (default: `3000`). |\n| `--host <address>` | - | Specify network interface to bind (default: `127.0.0.1`; `0.0.0.0` for all/LAN). |\n| `--no-open` | - | Prevent automatic launching of the default web browser upon server startup. |\n| `--config <path>` | `-c` | Custom path to configuration file. |\n\n## `npx @docmd/core build`\n\nCompile a production static site into your configured output directory (`site/`).\n\n```bash\nnpx @docmd/core build [options]\n```\n\n| Parameter Flag | Alias | Technical Description |\n| :--- | :--- | :--- |\n| `--offline` | - | Rewrite asset and link paths to `.html` relative files for local file system browsing. |\n| `--config <path>` | `-c` | Custom path to configuration file. |\n\n## `npx @docmd/core serve`\n\nBuild the site once and serve it in production mode: fixed port, Gzip compression, no file watcher, no live reload, and container health probes. See [Production Server](../deployment/docmd-serve) for the `serve` config block, plugin actions and MCP over HTTP.\n\n```bash\nnpx @docmd/core serve [options]\n```\n\n| Parameter Flag | Alias | Technical Description |\n| :--- | :--- | :--- |\n| `--host <address>` | - | Interface to bind (default: `serve.host`, `DOCMD_HOST`, then `127.0.0.1`; `0.0.0.0` for container / LAN). |\n| `--port <number>` | `-p` | Port to listen on (default: `serve.port`, `PORT`, then `3000`). Exits with code 1 if it is in use. |\n| `--config <path>` | `-c` | Custom path to configuration file. |\n\n::: callout info \"Container Health Probes (/healthz)\" icon:activity\n`docmd serve` exposes an automatic `GET /healthz` endpoint returning `{\"status\":\"ok\",\"version\":\"...\"}` with HTTP 200 and `Cache-Control: no-store`. Use this endpoint for Docker `HEALTHCHECK`, Kubernetes liveness and readiness probes, and cloud load balancers.\n:::\n## `npx @docmd/core live`\n\nLaunch browser-based Live Editor environment.\n\n```bash\nnpx @docmd/core live [options]\n```\n\n| Parameter Flag | Technical Description |\n| :--- | :--- |\n| `--build-only` | Compile standalone Live Editor bundle without starting preview web server. |\n\n## `npx @docmd/core stop`\n\nTerminate running development or production servers.\n\n```bash\nnpx @docmd/core stop [options]\n```\n\n| Parameter Flag | Alias | Technical Description |\n| :--- | :--- | :--- |\n| `--port <number>` | `-p` | Terminate process running on specified port. |\n| `--force` | `-f` | Kill processes running on standard ports (3000, 3001, 8080, 8081). |\n\n## `npx @docmd/core deploy`\n\nGenerate deployment manifests and configuration files.\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-804fb7c64c697a07",
"is_error": false,
"tool_kind": "shell"
}sed -n '24740,24850p' /tmp/dfull.txt
| Capability | docmd | Docusaurus | VitePress | MkDocs | Starlight |
| Capability | docmd | Docusaurus | VitePress | MkDocs | Starlight |
|:-----------|:-----:|:----------:|:---------:|:------:|:---------:|
| Native workspace support | ✅ | Plugin | ❌ | Plugin | ❌ |
| Single config line per project | ✅ | ❌ | ❌ | ❌ | ❌ |
| Independent versioning per project | ✅ | ✅ | ❌ | ❌ | ❌ |
| Independent i18n per project | ✅ | ❌ | ❌ | ❌ | ❌ |
| Shared assets across projects | ✅ | ❌ | ❌ | ❌ | ❌ |
| Single `site/` output (no proxy needed) | ✅ | ❌ | ❌ | ❌ | ❌ |
| Zero-config detection | ✅ | ❌ | ❌ | ❌ | ❌ |
::: callout info "How docmd does it" icon:info
```json "docmd.config.json"
{
"workspace": {
"projects": [
{ "prefix": "/", "src": "main-docs", "title": "Docs" },
{ "prefix": "/sdk", "src": "sdk-docs", "title": "SDK" }
]
}
}
```
Each project folder has its own `docmd.config.json` with independent configuration. One `npx @docmd/core build` produces a single deployable directory - no reverse proxy, no nginx, no separate CI pipelines.
:::
Docusaurus achieves similar results through multi-instance plugins, which require separate plugin entries, sidebar files, and manual route configuration per instance. MkDocs needs the third-party `mkdocs-monorepo-plugin`. VitePress, Starlight, and Mintlify have no native workspace support at all.
## Full feature matrix
| Feature | docmd | Docusaurus | VitePress | MkDocs Material | Starlight | Mintlify |
|:--------|:-----:|:----------:|:---------:|:---------------:|:---------:|:--------:|
| **Zero-config start** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| **Config required** | None | `docusaurus.config.js` | `config.mts` | `mkdocs.yml` | `astro.config.mjs` | `mint.json` |
| **Workspace** | ✅ | Plugin | ❌ | Plugin | ❌ | ❌ |
| **SPA navigation** | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
| **Native versioning** | ✅ | ✅ | ❌ | Plugin | ❌ | ✅ |
| **Native i18n** | ✅ | ✅ | Manual | Plugin | ✅ | ✅ |
| **Built-in search** | ✅ | ❌ (Algolia) | ✅ | ✅ | ✅ | Cloud |
| **llms.txt** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| **MCP Server** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| **Agent Skills** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| **Docker Image** | ✅ | ❌ | ✅ | ❌ | ❌ | N/A |
| **Inline discussions** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| **PWA support** | ✅ | Community | ❌ | ❌ | ❌ | ❌ |
| **Self-hosted** | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| **Deploy config generator** | ✅ | ❌ | ❌ | ❌ | ❌ | N/A |
## Configuration overhead
Lines of config required for a site with versioning, i18n, search, and sitemap:
| Generator | Config lines | Files required |
|:----------|:------------:|:--------------:|
| **docmd** | **~15 lines** | 1 (`docmd.config.json`) |
| MkDocs Material | ~50 lines | 1 + plugins |
| VitePress | ~80 lines | 1 + theme dir |
| Docusaurus | ~120 lines | 3+ config files |
## Quality assurance
docmd ships with a brute test suite that validates **25 distinct scenarios** across **85 assertions** - covering every feature in isolation and in combination. Every release must pass all 85 assertions and 13 internal failsafe checks before shipping.
::: callout tip "Run the tests yourself" icon:lightbulb
```bash
git clone https://github.com/docmd-io/docmd.git
cd docmd && node scripts/brute-test.js
```
:::
No other documentation generator in this class publishes a comparable end-to-end feature test suite as part of its source.
---
## [Cookie Consent](https://docs.docmd.io/08/configuration/cookie-consent/) (08)
---
title: "Cookie Consent"
description: "Opt-in cookie consent dialog shipped with the default UI. Stores the user's choice in localStorage, supports translations, and emits a docmd:cookie-consent CustomEvent so plugins and templates can react."
---
# Cookie Consent
> **New in 0.8.7.** The cookie consent dialog is a built-in feature of the default `@docmd/ui` package. No plugin install required. **Opt-in** — nothing is rendered unless you set `config.cookie`.
A minimal, accessible GDPR-style consent dialog. The user's choice is persisted in `localStorage` with a configurable TTL. A `docmd:cookie-consent` `CustomEvent` fires on `window` after a choice is made so plugins and templates can react (e.g. enable analytics, load third-party scripts).
## Enable in 30 seconds
```json "docmd.config.json"
{
"cookie": {
"enabled": true,
"message": "We use cookies to ensure you get the best experience.",
"policyUrl": "/privacy",
"position": "bottom-right"
}
}
```
Build, and the dialog appears on first visit. Subsequent visits respect the stored choice.
## Configuration reference
| Field | Default | Description |
|---|---|---|
| `enabled` | `true` (when `cookie` object is present) | Master switch. |
| `message` | Translation key `cookieMessage` | Dialog body text. Inline HTML allowed via the `t()` helper. |
| `acceptText` | Translation key `cookieAccept` | Accept button label. |
| `declineText` | Translation key `cookieDecline` | Decline button label. |
| `policyUrl` | `null` | Optional link to your privacy policy. |
| `position` | `"bottom"` | `"bottom"` \| `"bottom-left"` \| `"bottom-right"` \| `"center"` |
Recorded tool call
{
"type": "tool_call",
"seq": 78,
"ts": "2026-11-24T02:59:43.073Z",
"name": "bash",
"turn": 2,
"input": {
"command": "sed -n '24740,24850p' /tmp/dfull.txt"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b8770398e4de001b",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 80,
"ts": "2026-11-24T02:59:43.073Z",
"turn": 2,
"output": {
"content": [
{
"text": "\n| Capability | docmd | Docusaurus | VitePress | MkDocs | Starlight |\n|:-----------|:-----:|:----------:|:---------:|:------:|:---------:|\n| Native workspace support | ✅ | Plugin | ❌ | Plugin | ❌ |\n| Single config line per project | ✅ | ❌ | ❌ | ❌ | ❌ |\n| Independent versioning per project | ✅ | ✅ | ❌ | ❌ | ❌ |\n| Independent i18n per project | ✅ | ❌ | ❌ | ❌ | ❌ |\n| Shared assets across projects | ✅ | ❌ | ❌ | ❌ | ❌ |\n| Single `site/` output (no proxy needed) | ✅ | ❌ | ❌ | ❌ | ❌ |\n| Zero-config detection | ✅ | ❌ | ❌ | ❌ | ❌ |\n\n::: callout info \"How docmd does it\" icon:info\n```json \"docmd.config.json\"\n{\n \"workspace\": {\n \"projects\": [\n { \"prefix\": \"/\", \"src\": \"main-docs\", \"title\": \"Docs\" },\n { \"prefix\": \"/sdk\", \"src\": \"sdk-docs\", \"title\": \"SDK\" }\n ]\n }\n}\n```\nEach project folder has its own `docmd.config.json` with independent configuration. One `npx @docmd/core build` produces a single deployable directory - no reverse proxy, no nginx, no separate CI pipelines.\n:::\n\nDocusaurus achieves similar results through multi-instance plugins, which require separate plugin entries, sidebar files, and manual route configuration per instance. MkDocs needs the third-party `mkdocs-monorepo-plugin`. VitePress, Starlight, and Mintlify have no native workspace support at all.\n\n## Full feature matrix\n\n| Feature | docmd | Docusaurus | VitePress | MkDocs Material | Starlight | Mintlify |\n|:--------|:-----:|:----------:|:---------:|:---------------:|:---------:|:--------:|\n| **Zero-config start** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |\n| **Config required** | None | `docusaurus.config.js` | `config.mts` | `mkdocs.yml` | `astro.config.mjs` | `mint.json` |\n| **Workspace** | ✅ | Plugin | ❌ | Plugin | ❌ | ❌ |\n| **SPA navigation** | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |\n| **Native versioning** | ✅ | ✅ | ❌ | Plugin | ❌ | ✅ |\n| **Native i18n** | ✅ | ✅ | Manual | Plugin | ✅ | ✅ |\n| **Built-in search** | ✅ | ❌ (Algolia) | ✅ | ✅ | ✅ | Cloud |\n| **llms.txt** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |\n| **MCP Server** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |\n| **Agent Skills** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |\n| **Docker Image** | ✅ | ❌ | ✅ | ❌ | ❌ | N/A |\n| **Inline discussions** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |\n| **PWA support** | ✅ | Community | ❌ | ❌ | ❌ | ❌ |\n| **Self-hosted** | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |\n| **Deploy config generator** | ✅ | ❌ | ❌ | ❌ | ❌ | N/A |\n\n## Configuration overhead\n\nLines of config required for a site with versioning, i18n, search, and sitemap:\n\n| Generator | Config lines | Files required |\n|:----------|:------------:|:--------------:|\n| **docmd** | **~15 lines** | 1 (`docmd.config.json`) |\n| MkDocs Material | ~50 lines | 1 + plugins |\n| VitePress | ~80 lines | 1 + theme dir |\n| Docusaurus | ~120 lines | 3+ config files |\n\n## Quality assurance\n\ndocmd ships with a brute test suite that validates **25 distinct scenarios** across **85 assertions** - covering every feature in isolation and in combination. Every release must pass all 85 assertions and 13 internal failsafe checks before shipping.\n\n::: callout tip \"Run the tests yourself\" icon:lightbulb\n```bash\ngit clone https://github.com/docmd-io/docmd.git\ncd docmd && node scripts/brute-test.js\n```\n:::\n\nNo other documentation generator in this class publishes a comparable end-to-end feature test suite as part of its source.\n\n---\n\n## [Cookie Consent](https://docs.docmd.io/08/configuration/cookie-consent/) (08)\n\n---\ntitle: \"Cookie Consent\"\ndescription: \"Opt-in cookie consent dialog shipped with the default UI. Stores the user's choice in localStorage, supports translations, and emits a docmd:cookie-consent CustomEvent so plugins and templates can react.\"\n---\n\n# Cookie Consent\n\n> **New in 0.8.7.** The cookie consent dialog is a built-in feature of the default `@docmd/ui` package. No plugin install required. **Opt-in** — nothing is rendered unless you set `config.cookie`.\n\nA minimal, accessible GDPR-style consent dialog. The user's choice is persisted in `localStorage` with a configurable TTL. A `docmd:cookie-consent` `CustomEvent` fires on `window` after a choice is made so plugins and templates can react (e.g. enable analytics, load third-party scripts).\n\n## Enable in 30 seconds\n\n```json \"docmd.config.json\"\n{\n \"cookie\": {\n \"enabled\": true,\n \"message\": \"We use cookies to ensure you get the best experience.\",\n \"policyUrl\": \"/privacy\",\n \"position\": \"bottom-right\"\n }\n}\n```\n\nBuild, and the dialog appears on first visit. Subsequent visits respect the stored choice.\n\n## Configuration reference\n\n| Field | Default | Description |\n|---|---|---|\n| `enabled` | `true` (when `cookie` object is present) | Master switch. |\n| `message` | Translation key `cookieMessage` | Dialog body text. Inline HTML allowed via the `t()` helper. |\n| `acceptText` | Translation key `cookieAccept` | Accept button label. |\n| `declineText` | Translation key `cookieDecline` | Decline button label. |\n| `policyUrl` | `null` | Optional link to your privacy policy. |\n| `position` | `\"bottom\"` | `\"bottom\"` \\| `\"bottom-left\"` \\| `\"bottom-right\"` \\| `\"center\"` |\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b8770398e4de001b",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Now let me check the general configuration reference for the top-level keys (title, src, output, plugins, navigation). Grep for configuration/general section.
Then install @docmd/core (one-shot npm install), scaffold, build.
Let me install first (in background of my thinking, but it's a one-shot command; might take a while — acceptable, it's not a long-running server).
grep -n -E '^## \[(General Configuration|Configuration)\]' /tmp/dfull.txt | tail -5; awk 'NR>=63000 && NR<=63120' /tmp/dfull.txt | head -0; grep -n 'reference/configuration' /tmp/dfull.txt | head
9504:## [General Configuration](https://docs.docmd.io/06/configuration/general/) (06)
9504:## [General Configuration](https://docs.docmd.io/06/configuration/general/) (06) 15895:## [General Configuration](https://docs.docmd.io/07/configuration/overview/) (07) 25541:## [General Configuration](https://docs.docmd.io/08/configuration/overview/) (08) 39599:## [General Configuration](https://docs.docmd.io/09/configuration/overview/) (09) 52275:## [General Configuration](https://docs.docmd.io/configuration/overview/) (Configuration)
Recorded tool call
{
"type": "tool_call",
"seq": 83,
"ts": "2026-11-24T02:59:47.037Z",
"name": "bash",
"turn": 2,
"input": {
"command": "grep -n -E '^## \\[(General Configuration|Configuration)\\]' /tmp/dfull.txt | tail -5; awk 'NR>=63000 && NR<=63120' /tmp/dfull.txt | head -0; grep -n 'reference/configuration' /tmp/dfull.txt | head"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9cdb86aa6612aba6",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 85,
"ts": "2026-11-24T02:59:47.037Z",
"turn": 2,
"output": {
"content": [
{
"text": "9504:## [General Configuration](https://docs.docmd.io/06/configuration/general/) (06)\n15895:## [General Configuration](https://docs.docmd.io/07/configuration/overview/) (07)\n25541:## [General Configuration](https://docs.docmd.io/08/configuration/overview/) (08)\n39599:## [General Configuration](https://docs.docmd.io/09/configuration/overview/) (09)\n52275:## [General Configuration](https://docs.docmd.io/configuration/overview/) (Configuration)\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9cdb86aa6612aba6",
"is_error": false,
"tool_kind": "shell"
}cd /sandbox/repo && timeout 300 npm install --no-audit --no-fund @docmd/core 2>&1 | tail -15
added 60 packages in 14s
added 60 packages in 14s
Recorded tool call
{
"type": "tool_call",
"seq": 84,
"ts": "2026-11-24T02:59:47.037Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && timeout 300 npm install --no-audit --no-fund @docmd/core 2>&1 | tail -15"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a445a2f9945ce23d",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 86,
"ts": "2026-11-24T03:00:01.534Z",
"turn": 2,
"output": {
"content": [
{
"text": "\nadded 60 packages in 14s\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a445a2f9945ce23d",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Installed in 14s. Now read the general config overview (line 52275) for key names.
sed -n '52275,52420p' /tmp/dfull.txt
## [General Configuration](https://docs.docmd.io/configuration/overview/) (Configuration)
## [General Configuration](https://docs.docmd.io/configuration/overview/) (Configuration)
---
title: "General Configuration"
description: "Master docmd.config.json to manage branding, site metadata, routing, layout zones, and build compilers in docmd."
---
The `docmd.config.json` or `docmd.config.jsonc` file is the central configuration manifest for your documentation workspace. It manages site branding, navigation sidebars, localisation parameters, and static site compiler options.
## Configuration Schema Formats
`docmd` supports `docmd.config.jsonc` and `docmd.config.json`. Both formats support single-line (`//`) comments, multi-line (`/* */`) comments, and trailing commas:
```jsonc "docmd.config.jsonc"
{
// Site branding and canonical address
"title": "My Technical Docs",
"url": "https://docs.example.com",
/* Source and build output directories */
"src": "docs",
"out": "site",
"base": "/",
}
```
For dynamic setups requiring environment variables or programmatic logic, `docmd.config.ts` and `docmd.config.js` are fully supported:
::: tabs
== tab "TypeScript" icon:code-2
```typescript "docmd.config.ts"
import { UserConfig } from '@docmd/api';
const config: UserConfig = {
title: process.env.DOCS_TITLE || 'My Technical Docs',
src: 'docs',
out: 'site'
};
export default config;
```
== tab "JavaScript" icon:file-code
```javascript "docmd.config.js"
module.exports = {
title: process.env.DOCS_TITLE || 'My Technical Docs',
src: 'docs',
out: 'site'
};
```
:::
## Core Settings
These top-level properties configure base paths and global compiler options:
| Property | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `title` | `String` | `"Documentation"` | Formal site title displayed in navigation headers and browser tabs. |
| `url` | `String` | `""` | Canonical site URL. Essential for search engine optimisation, sitemap generation, and OpenGraph metadata. |
| `src` | `String` | `"docs"` | Relative directory containing source Markdown (`.md`) files. |
| `out` | `String` | `"site"` | Relative path where the compiler generates the production static bundle. |
| `base` | `String` | `"/"` | Root URL path prefix (e.g. `/docs/` when hosted in a subfolder). |
| `exclude` | `String[]` | `[]` | Gitignore-style glob patterns for files and directories to exclude from the build, MCP tools, and link validation. E.g. `["archive/**", "drafts/*.md"]`. |
| `tmp` | `String` | `null` | Temporary build cache directory. Defaults to an isolated system temp folder. |
| `engine` | `String` | `"js"` | Processing engine: `"js"` (default pure JavaScript engine), `"rust"` (native binary accelerator via `@docmd/engine-rust`), or `"python"` (Python 3 runtime accelerator via `@docmd/engine-python`). |
| `i18n` | `Object` | `null` | Multi-language parameters. See the [Localisation Guide](./localisation/translated-content.md). |
| `plugins` | `Object` | `{}` | Standard and third-party plugin configuration map. See [Plugins Guide](../plugins/usage.md). |
| `static` | `String \| String[] \| Boolean` | `undefined` | Static root assets to copy directly to the output root as-is. Auto-detects `public/` folder by default. Set to `false` to disable. |
| `serve` | `Object` | `{ "host": "127.0.0.1", "port": 3000 }` | Host and port configuration for the `docmd serve` production server command. |
::: callout info title:"Backwards Compatibility" icon:history
`docmd` preserves 100% backward compatibility for older configuration manifests:
- Legacy root keys (`siteTitle`, `siteUrl`, `srcDir`, `outputDir`) map smoothly to modern keys (`title`, `url`, `src`, `out`).
- `customJs` and `customCss` map into `theme.customJs` and `theme.customCss`.
- `htmlPolicy` maps into `security.html`.
- `focusMode` and `print` at root map into `layout.focusMode` and `layout.print`.
:::
## Branding & Identity
Configure brand logos, browser favicons, and custom stylesheets or client scripts:
```json "docmd.config.json"
{
"logo": {
"light": "assets/images/logo-dark.png",
"dark": "assets/images/logo-light.png",
"href": "/",
"alt": "Company Logo",
"height": "32px"
},
"favicon": "assets/favicon.ico",
"theme": {
"name": "default",
"appearance": "system",
"customCss": [
"/assets/css/branding.css"
],
"customJs": [
"/assets/js/feedback.js"
]
}
}
```
## UI Layout and Behaviour
Configure headers, sidebars, search placement, theme toggles, and reading tools:
```json "docmd.config.json"
{
"layout": {
"spa": true,
"header": {
"enabled": true
},
"sidebar": {
"collapsible": true,
"defaultCollapsed": false
},
"optionsMenu": {
"position": "header",
"components": {
"search": true,
"themeSwitch": true
}
},
"focusMode": false,
"print": false,
"copyCode": true,
"pageNavigation": true,
"copyWidgets": {
"enabled": true,
"raw": true,
"context": true
}
}
}
```
Refer to the [Layout & UI Zones](./layout-ui.md) guide for comprehensive visual customisation options.
## Content & Security Policies
Fine-tune how `docmd` parses Markdown and enforces HTML security:
Recorded tool call
{
"type": "tool_call",
"seq": 89,
"ts": "2026-11-24T03:00:04.654Z",
"name": "bash",
"turn": 2,
"input": {
"command": "sed -n '52275,52420p' /tmp/dfull.txt"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-96a7166ea5ca34ec",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 92,
"ts": "2026-11-24T03:00:04.654Z",
"turn": 2,
"output": {
"content": [
{
"text": "## [General Configuration](https://docs.docmd.io/configuration/overview/) (Configuration)\n\n---\ntitle: \"General Configuration\"\ndescription: \"Master docmd.config.json to manage branding, site metadata, routing, layout zones, and build compilers in docmd.\"\n---\n\nThe `docmd.config.json` or `docmd.config.jsonc` file is the central configuration manifest for your documentation workspace. It manages site branding, navigation sidebars, localisation parameters, and static site compiler options.\n\n## Configuration Schema Formats\n\n`docmd` supports `docmd.config.jsonc` and `docmd.config.json`. Both formats support single-line (`//`) comments, multi-line (`/* */`) comments, and trailing commas:\n\n```jsonc \"docmd.config.jsonc\"\n{\n // Site branding and canonical address\n \"title\": \"My Technical Docs\",\n \"url\": \"https://docs.example.com\",\n\n /* Source and build output directories */\n \"src\": \"docs\",\n \"out\": \"site\",\n \"base\": \"/\",\n}\n```\n\nFor dynamic setups requiring environment variables or programmatic logic, `docmd.config.ts` and `docmd.config.js` are fully supported:\n\n::: tabs\n== tab \"TypeScript\" icon:code-2\n```typescript \"docmd.config.ts\"\nimport { UserConfig } from '@docmd/api';\n\nconst config: UserConfig = {\n title: process.env.DOCS_TITLE || 'My Technical Docs',\n src: 'docs',\n out: 'site'\n};\n\nexport default config;\n```\n== tab \"JavaScript\" icon:file-code\n```javascript \"docmd.config.js\"\nmodule.exports = {\n title: process.env.DOCS_TITLE || 'My Technical Docs',\n src: 'docs',\n out: 'site'\n};\n```\n:::\n\n## Core Settings\n\nThese top-level properties configure base paths and global compiler options:\n\n| Property | Type | Default | Description |\n| :--- | :--- | :--- | :--- |\n| `title` | `String` | `\"Documentation\"` | Formal site title displayed in navigation headers and browser tabs. |\n| `url` | `String` | `\"\"` | Canonical site URL. Essential for search engine optimisation, sitemap generation, and OpenGraph metadata. |\n| `src` | `String` | `\"docs\"` | Relative directory containing source Markdown (`.md`) files. |\n| `out` | `String` | `\"site\"` | Relative path where the compiler generates the production static bundle. |\n| `base` | `String` | `\"/\"` | Root URL path prefix (e.g. `/docs/` when hosted in a subfolder). |\n| `exclude` | `String[]` | `[]` | Gitignore-style glob patterns for files and directories to exclude from the build, MCP tools, and link validation. E.g. `[\"archive/**\", \"drafts/*.md\"]`. |\n| `tmp` | `String` | `null` | Temporary build cache directory. Defaults to an isolated system temp folder. |\n| `engine` | `String` | `\"js\"` | Processing engine: `\"js\"` (default pure JavaScript engine), `\"rust\"` (native binary accelerator via `@docmd/engine-rust`), or `\"python\"` (Python 3 runtime accelerator via `@docmd/engine-python`). |\n| `i18n` | `Object` | `null` | Multi-language parameters. See the [Localisation Guide](./localisation/translated-content.md). |\n| `plugins` | `Object` | `{}` | Standard and third-party plugin configuration map. See [Plugins Guide](../plugins/usage.md). |\n| `static` | `String \\| String[] \\| Boolean` | `undefined` | Static root assets to copy directly to the output root as-is. Auto-detects `public/` folder by default. Set to `false` to disable. |\n| `serve` | `Object` | `{ \"host\": \"127.0.0.1\", \"port\": 3000 }` | Host and port configuration for the `docmd serve` production server command. |\n\n::: callout info title:\"Backwards Compatibility\" icon:history\n`docmd` preserves 100% backward compatibility for older configuration manifests:\n- Legacy root keys (`siteTitle`, `siteUrl`, `srcDir`, `outputDir`) map smoothly to modern keys (`title`, `url`, `src`, `out`).\n- `customJs` and `customCss` map into `theme.customJs` and `theme.customCss`.\n- `htmlPolicy` maps into `security.html`.\n- `focusMode` and `print` at root map into `layout.focusMode` and `layout.print`.\n:::\n\n## Branding & Identity\n\nConfigure brand logos, browser favicons, and custom stylesheets or client scripts:\n\n```json \"docmd.config.json\"\n{\n \"logo\": {\n \"light\": \"assets/images/logo-dark.png\",\n \"dark\": \"assets/images/logo-light.png\",\n \"href\": \"/\",\n \"alt\": \"Company Logo\",\n \"height\": \"32px\"\n },\n \"favicon\": \"assets/favicon.ico\",\n \"theme\": {\n \"name\": \"default\",\n \"appearance\": \"system\",\n \"customCss\": [\n \"/assets/css/branding.css\"\n ],\n \"customJs\": [\n \"/assets/js/feedback.js\"\n ]\n }\n}\n```\n\n## UI Layout and Behaviour\n\nConfigure headers, sidebars, search placement, theme toggles, and reading tools:\n\n```json \"docmd.config.json\"\n{\n \"layout\": {\n \"spa\": true,\n \"header\": {\n \"enabled\": true\n },\n \"sidebar\": {\n \"collapsible\": true,\n \"defaultCollapsed\": false\n },\n \"optionsMenu\": {\n \"position\": \"header\",\n \"components\": {\n \"search\": true,\n \"themeSwitch\": true\n }\n },\n \"focusMode\": false,\n \"print\": false,\n \"copyCode\": true,\n \"pageNavigation\": true,\n \"copyWidgets\": {\n \"enabled\": true,\n \"raw\": true,\n \"context\": true\n }\n }\n}\n```\n\nRefer to the [Layout & UI Zones](./layout-ui.md) guide for comprehensive visual customisation options.\n\n## Content & Security Policies\n\nFine-tune how `docmd` parses Markdown and enforces HTML security:\n\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-96a7166ea5ca34ec",
"is_error": false,
"tool_kind": "shell"
}cd /sandbox/repo && ls node_modules/@docmd/ && npx @docmd/core --version 2>&1 | tail -3
api
api core deployer engine-js engine-python engine-rust live parser plugin-ai plugin-analytics plugin-git plugin-installer plugin-llms plugin-math plugin-mdx plugin-mermaid plugin-okf plugin-openapi plugin-playground plugin-search plugin-seo plugin-sitemap themes tui ui utils 0.10.1
Recorded tool call
{
"type": "tool_call",
"seq": 90,
"ts": "2026-11-24T03:00:04.654Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && ls node_modules/@docmd/ && npx @docmd/core --version 2>&1 | tail -3"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a2494bb3ee792b7d",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 93,
"ts": "2026-11-24T03:00:05.615Z",
"turn": 2,
"output": {
"content": [
{
"text": "api\ncore\ndeployer\nengine-js\nengine-python\nengine-rust\nlive\nparser\nplugin-ai\nplugin-analytics\nplugin-git\nplugin-installer\nplugin-llms\nplugin-math\nplugin-mdx\nplugin-mermaid\nplugin-okf\nplugin-openapi\nplugin-playground\nplugin-search\nplugin-seo\nplugin-sitemap\nthemes\ntui\nui\nutils\n0.10.1\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a2494bb3ee792b7d",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Now scaffold. Let's check navigation config format quickly and plugin config (search/llms/sitemap are probably auto). Let me check navigation.json format briefly.
Actually zero-config generates nav from file structure. But let me add a small navigation config? Docs mention navigation.json or layout? Let me grep quickly for navigation config to keep it correct. Simpler: keep zero-config plus frontmatter, and configure plugins for llms/search/sitemap if needed. Let me check plugins usage config keys.
grep -n -E '^## \[Plugins' /tmp/dfull.txt | tail -3; sed -n '/^## \[Using Plugins\](https:\/\/docs.docmd.io\/plugins\/usage\/)/,+80p' /tmp/dfull.txt | head -90
## [Using Plugins](https://docs.docmd.io/plugins/usage/) (Plugins)
## [Using Plugins](https://docs.docmd.io/plugins/usage/) (Plugins)
---
title: "Using Plugins"
description: "Install, configure, and manage docmd plugins, from core built-ins to optional third-party extensions."
---
`docmd` features a modular plugin architecture. Built-in plugins ship directly with the core engine and require no separate installation. Optional and third-party plugins can be installed via the CLI or package managers.
## Installing Plugins
Use the `docmd` CLI to manage plugin packages:
```bash
# Install an official plugin
npx @docmd/core add <plugin-name>
# Remove an installed plugin
npx @docmd/core remove <plugin-name>
```
The installer detects your active package manager (npm, pnpm, yarn, or bun), resolves short names to full `@docmd/plugin-*` package names, and updates your `docmd.config.json` automatically.
Use `--verbose` (or `-V`) to view complete installer logs:
```bash
npx @docmd/core add <plugin-name> -V
```
## Core Built-in Plugins
These plugins ship bundled with `@docmd/core` and require no installation. Enable or configure them in `docmd.config.json`:
```json "docmd.config.json"
{
"plugins": {
"search": {},
"ai": {},
"seo": { "aiBots": false },
"sitemap": {},
"analytics": {},
"llms": {},
"okf": {},
"mermaid": {},
"openapi": {},
"git": {}
}
}
```
::: callout tip title:"Git Repository Detection" icon:git-branch
The Git plugin detects whether your project root is a valid Git repository. If Git history is unavailable, it disables footer timestamp generation automatically.
:::
::: callout info title:"OKF Bundle Support" icon:info
The `@docmd/plugin-okf` plugin generates an Open Knowledge Format bundle (`site/okf/`) containing typed manifests and concept files for AI agents. It is enabled by default; set `"plugins": { "okf": false }` to opt out. See [OKF Bundle Plugin](okf.md) for details.
:::
## Optional Plugins
Optional plugins require explicit installation before activation:
| Plugin | Install Command | Purpose |
| :--- | :--- | :--- |
| [Iconify (Icons)](iconify.md) | `npx @docmd/core add iconify` | On-demand vector icons from 100+ open-source icon sets with build-time SVG inlining |
| [Math (KaTeX)](math.md) | `npx @docmd/core add math` | Server-side LaTeX and KaTeX mathematical equation rendering |
| [PWA Support](pwa.md) | `npx @docmd/core add pwa` | Progressive Web App manifest and offline service worker caching |
| [Threads](threads.md) | `npx @docmd/core add threads` | Markdown-native inline comment discussions |
## Auto-Installation Mechanics
If an official plugin is declared in `docmd.config.json` without being installed in `node_modules`, `docmd` automatically downloads and installs it during the next build execution:
```json "docmd.config.json"
{
"plugins": {
"pwa": {}
}
}
```
Recorded tool call
{
"type": "tool_call",
"seq": 96,
"ts": "2026-11-24T03:00:10.021Z",
"name": "bash",
"turn": 2,
"input": {
"command": "grep -n -E '^## \\[Plugins' /tmp/dfull.txt | tail -3; sed -n '/^## \\[Using Plugins\\](https:\\/\\/docs.docmd.io\\/plugins\\/usage\\/)/,+80p' /tmp/dfull.txt | head -90"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8ab6d64ba1aeeb97",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 98,
"ts": "2026-11-24T03:00:10.021Z",
"turn": 2,
"output": {
"content": [
{
"text": "## [Using Plugins](https://docs.docmd.io/plugins/usage/) (Plugins)\n\n---\ntitle: \"Using Plugins\"\ndescription: \"Install, configure, and manage docmd plugins, from core built-ins to optional third-party extensions.\"\n---\n\n`docmd` features a modular plugin architecture. Built-in plugins ship directly with the core engine and require no separate installation. Optional and third-party plugins can be installed via the CLI or package managers.\n\n## Installing Plugins\n\nUse the `docmd` CLI to manage plugin packages:\n\n```bash\n# Install an official plugin\nnpx @docmd/core add <plugin-name>\n\n# Remove an installed plugin\nnpx @docmd/core remove <plugin-name>\n```\n\nThe installer detects your active package manager (npm, pnpm, yarn, or bun), resolves short names to full `@docmd/plugin-*` package names, and updates your `docmd.config.json` automatically.\n\nUse `--verbose` (or `-V`) to view complete installer logs:\n\n```bash\nnpx @docmd/core add <plugin-name> -V\n```\n\n## Core Built-in Plugins\n\nThese plugins ship bundled with `@docmd/core` and require no installation. Enable or configure them in `docmd.config.json`:\n\n```json \"docmd.config.json\"\n{\n \"plugins\": {\n \"search\": {},\n \"ai\": {},\n \"seo\": { \"aiBots\": false },\n \"sitemap\": {},\n \"analytics\": {},\n \"llms\": {},\n \"okf\": {},\n \"mermaid\": {},\n \"openapi\": {},\n \"git\": {}\n }\n}\n```\n\n::: callout tip title:\"Git Repository Detection\" icon:git-branch\nThe Git plugin detects whether your project root is a valid Git repository. If Git history is unavailable, it disables footer timestamp generation automatically.\n:::\n\n::: callout info title:\"OKF Bundle Support\" icon:info\nThe `@docmd/plugin-okf` plugin generates an Open Knowledge Format bundle (`site/okf/`) containing typed manifests and concept files for AI agents. It is enabled by default; set `\"plugins\": { \"okf\": false }` to opt out. See [OKF Bundle Plugin](okf.md) for details.\n:::\n\n## Optional Plugins\n\nOptional plugins require explicit installation before activation:\n\n| Plugin | Install Command | Purpose |\n| :--- | :--- | :--- |\n| [Iconify (Icons)](iconify.md) | `npx @docmd/core add iconify` | On-demand vector icons from 100+ open-source icon sets with build-time SVG inlining |\n| [Math (KaTeX)](math.md) | `npx @docmd/core add math` | Server-side LaTeX and KaTeX mathematical equation rendering |\n| [PWA Support](pwa.md) | `npx @docmd/core add pwa` | Progressive Web App manifest and offline service worker caching |\n| [Threads](threads.md) | `npx @docmd/core add threads` | Markdown-native inline comment discussions |\n\n## Auto-Installation Mechanics\n\nIf an official plugin is declared in `docmd.config.json` without being installed in `node_modules`, `docmd` automatically downloads and installs it during the next build execution:\n\n```json \"docmd.config.json\"\n{\n \"plugins\": {\n \"pwa\": {}\n }\n}\n```\n\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8ab6d64ba1aeeb97",
"is_error": false,
"tool_kind": "shell"
}grep -n 'navigation.json' /tmp/dfull.txt | head -5; sed -n '/^## \[Navigation Configuration\](https:\/\/docs.docmd.io\/configuration\/navigation\/)/,+70p' /tmp/dfull.txt | head -80
9919:`docmd` supports **Navigation V2**, allowing you to place a `navigation.json` file at the root of your versioned directory (e.g., `docs-v1/navigation.json`
9919:`docmd` supports **Navigation V2**, allowing you to place a `navigation.json` file at the root of your versioned directory (e.g., `docs-v1/navigation.json`).
9932:1. **`navigation.json`**: Checked first within the specific version source folder.
13635:description: "Smart Version Switcher, Navigation V2 (navigation.json), Breadcrumbs, Analytics V2, and core security fixes."
13645:### Navigation Architecture V2 (`navigation.json`)
13646:Manage large, versioned documentation sites with ease. You can now place a `navigation.json` file directly inside your versioned documentation folders (e.g., `docs-05/navigation.json`). This eliminates the need for massive, duplicated navigation arrays in your main `docmd.config.js`.
## [Navigation Configuration](https://docs.docmd.io/configuration/navigation/) (Configuration)
---
title: "Navigation Configuration"
description: "Structure sidebar navigation, organise categories, and configure icons for readers and search engines in docmd."
---
`docmd` provides explicit control over your site's navigation hierarchy. A structured sidebar creates a logical reading sequence, optimising both the Single Page Application (SPA) user experience and search engine indexability.
## The Navigation Schema
The `navigation` array in `docmd.config.json` controls the sidebar. Each object represents a direct page link or a nested category group:
<img width="260" class="with-border" src="/assets/previews/navigation-hierarchy.webp">
```json "docmd.config.json"
{
"navigation": [
{ "title": "Overview", "path": "/", "icon": "home" },
{ "title": "Quick Start", "path": "/getting-started/quick-start", "icon": "rocket" }
]
}
```
## Supported Link Properties
Every item in the navigation array supports the following properties:
| Property | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| `title` | `String` | Yes | Menu label displayed in the sidebar. |
| `path` | `String` | No | Target URL route. Relative local paths must start with a leading slash (`/`). |
| `icon` | `String` | No | Name of any [Lucide Icon](external:https://lucide.dev/icons) in kebab-case format (e.g. `git-branch`). |
| `children` | `Array` | No | Array of nested navigation items defining a submenu. |
| `collapsible`| `Boolean`| No | When `true`, enables expanding or collapsing category groups. |
| `external` | `Boolean`| No | When `true`, opens the destination link in a new browser tab. |
## Organising Navigation Groups
Structure your sidebar using two primary grouping patterns:
### Interactive Category Headers (Landing Page + Children)
Specify a `path` alongside `children` for a category section. Clicking the header navigates to the landing page and toggles child items:
```json "docmd.config.json"
{
"title": "Cloud Services",
"path": "/cloud/overview",
"children": [
{ "title": "AWS Setup", "path": "/cloud/aws" },
{ "title": "GCP Setup", "path": "/cloud/gcp" }
]
}
```
### Static Category Labels (Group Headers Only)
Omit the `path` property. The category header acts as a non-clickable title grouping related links:
```json "docmd.config.json"
{
"title": "Formatting & Elements",
"icon": "layout-grid",
"children": [
{ "title": "Syntax Guide", "path": "/content/syntax" },
{ "title": "Rich Containers", "path": "/content/containers" }
]
}
```
Recorded tool call
{
"type": "tool_call",
"seq": 97,
"ts": "2026-11-24T03:00:10.021Z",
"name": "bash",
"turn": 2,
"input": {
"command": "grep -n 'navigation.json' /tmp/dfull.txt | head -5; sed -n '/^## \\[Navigation Configuration\\](https:\\/\\/docs.docmd.io\\/configuration\\/navigation\\/)/,+70p' /tmp/dfull.txt | head -80"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b7b24f6bafa5fd01",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 99,
"ts": "2026-11-24T03:00:10.021Z",
"turn": 2,
"output": {
"content": [
{
"text": "9919:`docmd` supports **Navigation V2**, allowing you to place a `navigation.json` file at the root of your versioned directory (e.g., `docs-v1/navigation.json`).\n9932:1. **`navigation.json`**: Checked first within the specific version source folder.\n13635:description: \"Smart Version Switcher, Navigation V2 (navigation.json), Breadcrumbs, Analytics V2, and core security fixes.\"\n13645:### Navigation Architecture V2 (`navigation.json`)\n13646:Manage large, versioned documentation sites with ease. You can now place a `navigation.json` file directly inside your versioned documentation folders (e.g., `docs-05/navigation.json`). This eliminates the need for massive, duplicated navigation arrays in your main `docmd.config.js`.\n## [Navigation Configuration](https://docs.docmd.io/configuration/navigation/) (Configuration)\n\n---\ntitle: \"Navigation Configuration\"\ndescription: \"Structure sidebar navigation, organise categories, and configure icons for readers and search engines in docmd.\"\n---\n\n`docmd` provides explicit control over your site's navigation hierarchy. A structured sidebar creates a logical reading sequence, optimising both the Single Page Application (SPA) user experience and search engine indexability.\n\n## The Navigation Schema\n\nThe `navigation` array in `docmd.config.json` controls the sidebar. Each object represents a direct page link or a nested category group:\n\n<img width=\"260\" class=\"with-border\" src=\"/assets/previews/navigation-hierarchy.webp\">\n\n```json \"docmd.config.json\"\n{\n \"navigation\": [\n { \"title\": \"Overview\", \"path\": \"/\", \"icon\": \"home\" },\n { \"title\": \"Quick Start\", \"path\": \"/getting-started/quick-start\", \"icon\": \"rocket\" }\n ]\n}\n```\n\n## Supported Link Properties\n\nEvery item in the navigation array supports the following properties:\n\n| Property | Type | Required | Description |\n| :--- | :--- | :--- | :--- |\n| `title` | `String` | Yes | Menu label displayed in the sidebar. |\n| `path` | `String` | No | Target URL route. Relative local paths must start with a leading slash (`/`). |\n| `icon` | `String` | No | Name of any [Lucide Icon](external:https://lucide.dev/icons) in kebab-case format (e.g. `git-branch`). |\n| `children` | `Array` | No | Array of nested navigation items defining a submenu. |\n| `collapsible`| `Boolean`| No | When `true`, enables expanding or collapsing category groups. |\n| `external` | `Boolean`| No | When `true`, opens the destination link in a new browser tab. |\n\n## Organising Navigation Groups\n\nStructure your sidebar using two primary grouping patterns:\n\n### Interactive Category Headers (Landing Page + Children)\n\nSpecify a `path` alongside `children` for a category section. Clicking the header navigates to the landing page and toggles child items:\n\n```json \"docmd.config.json\"\n{\n \"title\": \"Cloud Services\",\n \"path\": \"/cloud/overview\", \n \"children\": [\n { \"title\": \"AWS Setup\", \"path\": \"/cloud/aws\" },\n { \"title\": \"GCP Setup\", \"path\": \"/cloud/gcp\" }\n ]\n}\n```\n\n### Static Category Labels (Group Headers Only)\n\nOmit the `path` property. The category header acts as a non-clickable title grouping related links:\n\n```json \"docmd.config.json\"\n{\n \"title\": \"Formatting & Elements\",\n \"icon\": \"layout-grid\",\n \"children\": [\n { \"title\": \"Syntax Guide\", \"path\": \"/content/syntax\" },\n { \"title\": \"Rich Containers\", \"path\": \"/content/containers\" }\n ]\n}\n```\n\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b7b24f6bafa5fd01",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Now scaffold the docs tree. Small example: a fictional "Acme Widget SDK" docs with:
docs/ index.md getting-started/quick-start.md getting-started/installation.md guides/configuration.md api-reference/client.md changelog.md
Config with title, url, src, out, navigation, plugins (search, llms, sitemap, seo, okf), theme.
Also add package.json scripts. Then run build once and time it.
Note: ai plugin requires API key — skip it. Include search, llms, sitemap, seo, okf (built-ins).
Let me write files.
File edits
1 file
Writtendocs/index.mdView changes
/sandbox/repo/docs/index.md
Written content · previous contents were not recorded
---title: "Widget SDK"description: "Documentation for the Acme Widget SDK — install, configure, and ship your first widget."---# Widget SDKWelcome to the **Acme Widget SDK** documentation. This site is a small, completeexample built with [docmd](https://docmd.io) — one Markdown source tree compiledinto a static documentation website plus machine-readable outputs.::: callout tip "What this example demonstrates" icon:lightbulbA zero-config docs tree, an explicit `navigation` sidebar, frontmatter metadata,docmd containers (callouts, tabs, steps, cards), and the built-in `search`,`llms`, `sitemap`, `seo` and `okf` plugins.:::## Start here::: grids::: grid::: card "Installation" icon:downloadAdd the SDK to your project with npm, pnpm, or a CDN tag.[Install the SDK](/getting-started/installation)::::::::: grid::: card "Quick Start" icon:rocketRender your first widget in under five minutes.[Run the quick start](/getting-started/quick-start):::::::::## Who this is for| Audience | Read || :--- | :--- || Application developers | [Quick Start](/getting-started/quick-start), [Client API](/api-reference/client) || Platform / DevOps engineers | [Configuration](/guides/configuration) || Release managers | [Changelog](/changelog) |## Machine-readable outputsdocmd compiles the same Markdown into formats for LLMs and agents. After a buildyou will find them in the `site/` output directory:- `site/llms.txt` and `site/llms-full.txt` — page index and full concatenated text- `site/okf/` — Open Knowledge Format bundle- `site/sitemap.xml`, `site/robots.txt` — SEO metadata- `site/search/` — offline search index (no external service, no API keys)
Source: write · chatcmpl-tool-8bb60493580e0c2d
Recorded tool call
{
"type": "tool_call",
"seq": 102,
"ts": "2026-11-24T03:00:22.867Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/docs/index.md",
"content": "---\ntitle: \"Widget SDK\"\ndescription: \"Documentation for the Acme Widget SDK — install, configure, and ship your first widget.\"\n---\n\n# Widget SDK\n\nWelcome to the **Acme Widget SDK** documentation. This site is a small, complete\nexample built with [docmd](https://docmd.io) — one Markdown source tree compiled\ninto a static documentation website plus machine-readable outputs.\n\n::: callout tip \"What this example demonstrates\" icon:lightbulb\nA zero-config docs tree, an explicit `navigation` sidebar, frontmatter metadata,\ndocmd containers (callouts, tabs, steps, cards), and the built-in `search`,\n`llms`, `sitemap`, `seo` and `okf` plugins.\n:::\n\n## Start here\n\n::: grids\n ::: grid\n ::: card \"Installation\" icon:download\n Add the SDK to your project with npm, pnpm, or a CDN tag.\n [Install the SDK](/getting-started/installation)\n :::\n :::\n ::: grid\n ::: card \"Quick Start\" icon:rocket\n Render your first widget in under five minutes.\n [Run the quick start](/getting-started/quick-start)\n :::\n :::\n:::\n\n## Who this is for\n\n| Audience | Read |\n| :--- | :--- |\n| Application developers | [Quick Start](/getting-started/quick-start), [Client API](/api-reference/client) |\n| Platform / DevOps engineers | [Configuration](/guides/configuration) |\n| Release managers | [Changelog](/changelog) |\n\n## Machine-readable outputs\n\ndocmd compiles the same Markdown into formats for LLMs and agents. After a build\nyou will find them in the `site/` output directory:\n\n- `site/llms.txt` and `site/llms-full.txt` — page index and full concatenated text\n- `site/okf/` — Open Knowledge Format bundle\n- `site/sitemap.xml`, `site/robots.txt` — SEO metadata\n- `site/search/` — offline search index (no external service, no API keys)\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8bb60493580e0c2d",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 104,
"ts": "2026-11-24T03:00:22.867Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 1746 bytes to /sandbox/repo/docs/index.md",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8bb60493580e0c2d",
"is_error": false,
"tool_kind": "file_edit"
}File edits
1 file
Writtendocs/getting-started/installation.mdView changes
/sandbox/repo/docs/getting-started/installation.md
Written content · previous contents were not recorded
---title: "Installation"description: "Install the Acme Widget SDK with npm, pnpm, yarn, or a CDN script tag."---# InstallationThe SDK ships as an ES module with bundled TypeScript declarations. It has noruntime dependencies and no native build step.## Requirements- Node.js **20 or newer** (for the CLI and build tooling)- Any modern browser, or a server-rendering framework with DOM shims## Package managers::: tabs== tab "npm" icon:package```bashnpm install @acme/widget-sdk```== tab "pnpm" icon:package```bashpnpm add @acme/widget-sdk```== tab "yarn" icon:package```bashyarn add @acme/widget-sdk```:::## CDNFor prototypes, load the UMD bundle directly:```html<script src="https://cdn.acme.dev/widget-sdk@2/widget.umd.js"></script><script>window.AcmeWidget.mount('#demo', { projectId: 'pk_demo' });</script>```::: callout warning "Pin your CDN version" icon:alert-triangleNever point production traffic at an unpinned `@latest` tag. Use an exactversion (`widget-sdk@2.4.1`) so a bad release cannot deploy itself.:::## Verify the install```bashnpx acme-widget --version```Expected output:```text@acme/widget-sdk 2.4.1```Next step: [render your first widget](/getting-started/quick-start).
Source: write · chatcmpl-tool-be6b37cda989152d
Recorded tool call
{
"type": "tool_call",
"seq": 103,
"ts": "2026-11-24T03:00:22.867Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/docs/getting-started/installation.md",
"content": "---\ntitle: \"Installation\"\ndescription: \"Install the Acme Widget SDK with npm, pnpm, yarn, or a CDN script tag.\"\n---\n\n# Installation\n\nThe SDK ships as an ES module with bundled TypeScript declarations. It has no\nruntime dependencies and no native build step.\n\n## Requirements\n\n- Node.js **20 or newer** (for the CLI and build tooling)\n- Any modern browser, or a server-rendering framework with DOM shims\n\n## Package managers\n\n::: tabs\n== tab \"npm\" icon:package\n```bash\nnpm install @acme/widget-sdk\n```\n== tab \"pnpm\" icon:package\n```bash\npnpm add @acme/widget-sdk\n```\n== tab \"yarn\" icon:package\n```bash\nyarn add @acme/widget-sdk\n```\n:::\n\n## CDN\n\nFor prototypes, load the UMD bundle directly:\n\n```html\n<script src=\"https://cdn.acme.dev/widget-sdk@2/widget.umd.js\"></script>\n<script>\n window.AcmeWidget.mount('#demo', { projectId: 'pk_demo' });\n</script>\n```\n\n::: callout warning \"Pin your CDN version\" icon:alert-triangle\nNever point production traffic at an unpinned `@latest` tag. Use an exact\nversion (`widget-sdk@2.4.1`) so a bad release cannot deploy itself.\n:::\n\n## Verify the install\n\n```bash\nnpx acme-widget --version\n```\n\nExpected output:\n\n```text\n@acme/widget-sdk 2.4.1\n```\n\nNext step: [render your first widget](/getting-started/quick-start).\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-be6b37cda989152d",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 105,
"ts": "2026-11-24T03:00:22.867Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 1252 bytes to /sandbox/repo/docs/getting-started/installation.md",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-be6b37cda989152d",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
Careful: nested containers "grid" inside "grids" — docs showed ::: grids then ::: grid then ::: card. Fine.
Now write remaining pages and config.
File edits
1 file
Writtendocs/getting-started/quick-start.mdView changes
/sandbox/repo/docs/getting-started/quick-start.md
Written content · previous contents were not recorded
---title: "Quick Start"description: "Render your first Acme widget in five minutes: install, mount, and customise."---# Quick Start::: steps1. **Install the SDK**```bashnpm install @acme/widget-sdk```See [Installation](/getting-started/installation) for pnpm, yarn, and CDN options.2. **Add a mount point**```html<div id="widget-root"></div>```3. **Mount the widget**```javascriptimport { mount } from '@acme/widget-sdk';const widget = mount('#widget-root', {projectId: 'pk_demo',theme: 'system',locale: 'en'});```4. **React to events**```javascriptwidget.on('ready', () => console.log('widget rendered'));widget.on('error', (err) => console.error(err.code, err.message));```:::## ResultYou should see a rendered widget inside `#widget-root`, a `ready` log in theconsole, and no network calls beyond the SDK bundle itself.::: callout info "Demo project keys are read-only" icon:info`pk_demo` points at a public sandbox dataset. Replace it with a real project keyfrom your dashboard before going to production — see[Configuration](/guides/configuration).:::## Cleanup`mount()` returns a handle. Call `destroy()` to remove listeners and DOM nodes:```javascriptwidget.destroy();```## Next steps- [Configuration](/guides/configuration) — project keys, themes, and locales- [Client API](/api-reference/client) — full method and event reference- [Changelog](/changelog) — what changed in each release
Source: write · chatcmpl-tool-86d4581968ca4897
Recorded tool call
{
"type": "tool_call",
"seq": 108,
"ts": "2026-11-24T03:00:39.129Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/docs/getting-started/quick-start.md",
"content": "---\ntitle: \"Quick Start\"\ndescription: \"Render your first Acme widget in five minutes: install, mount, and customise.\"\n---\n\n# Quick Start\n\n::: steps\n1. **Install the SDK**\n\n ```bash\n npm install @acme/widget-sdk\n ```\n\n See [Installation](/getting-started/installation) for pnpm, yarn, and CDN options.\n\n2. **Add a mount point**\n\n ```html\n <div id=\"widget-root\"></div>\n ```\n\n3. **Mount the widget**\n\n ```javascript\n import { mount } from '@acme/widget-sdk';\n\n const widget = mount('#widget-root', {\n projectId: 'pk_demo',\n theme: 'system',\n locale: 'en'\n });\n ```\n\n4. **React to events**\n\n ```javascript\n widget.on('ready', () => console.log('widget rendered'));\n widget.on('error', (err) => console.error(err.code, err.message));\n ```\n:::\n\n## Result\n\nYou should see a rendered widget inside `#widget-root`, a `ready` log in the\nconsole, and no network calls beyond the SDK bundle itself.\n\n::: callout info \"Demo project keys are read-only\" icon:info\n`pk_demo` points at a public sandbox dataset. Replace it with a real project key\nfrom your dashboard before going to production — see\n[Configuration](/guides/configuration).\n:::\n\n## Cleanup\n\n`mount()` returns a handle. Call `destroy()` to remove listeners and DOM nodes:\n\n```javascript\nwidget.destroy();\n```\n\n## Next steps\n\n- [Configuration](/guides/configuration) — project keys, themes, and locales\n- [Client API](/api-reference/client) — full method and event reference\n- [Changelog](/changelog) — what changed in each release\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-86d4581968ca4897",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 110,
"ts": "2026-11-24T03:00:39.129Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 1523 bytes to /sandbox/repo/docs/getting-started/quick-start.md",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-86d4581968ca4897",
"is_error": false,
"tool_kind": "file_edit"
}File edits
1 file
Writtendocs/guides/configuration.mdView changes
/sandbox/repo/docs/guides/configuration.md
Written content · previous contents were not recorded
---title: "Configuration"description: "Configure the Acme Widget SDK: project keys, environment variables, themes, locales, and error handling."---# ConfigurationAll configuration is passed to `mount()` as a single options object, or loadedfrom environment variables at build time.## Options reference| Option | Type | Default | Description || :--- | :--- | :--- | :--- || `projectId` | `string` | — | **Required.** Public project key (`pk_...`). || `secretKey` | `string` | `undefined` | Server-side only. Never ship to a browser bundle. || `theme` | `"light" \| "dark" \| "system"` | `"system"` | Appearance mode. || `locale` | `string` | `"en"` | UI language tag. || `endpoint` | `string` | `"https://api.acme.dev"` | API base URL. Override for self-hosting. || `retries` | `number` | `3` | Retry count for transient network failures. || `timeoutMs` | `number` | `8000` | Per-request timeout. |## Environment variables```bashACME_PROJECT_ID=pk_live_9f2cACME_ENDPOINT=https://api.acme.devACME_TIMEOUT_MS=8000``````javascriptimport { mount } from '@acme/widget-sdk';mount('#widget-root', {projectId: process.env.ACME_PROJECT_ID,endpoint: process.env.ACME_ENDPOINT,timeoutMs: Number(process.env.ACME_TIMEOUT_MS)});```::: callout danger "Never expose secret keys" icon:shield-alertAny variable inlined into a client bundle is public. Keep `secretKey` in servercode, an edge function, or a secrets manager, and let the browser hold only thepublic `pk_...` key.:::## Error handlingErrors are objects with a stable `code`, a human-readable `message`, and anoptional `retryable` flag:```javascriptwidget.on('error', (err) => {if (err.retryable) {return widget.refresh();}reportToSentry(err);});```| Code | Meaning | Retryable || :--- | :--- | :--- || `invalid_project` | Unknown or revoked project key | No || `rate_limited` | Too many requests | Yes || `network` | Request failed or timed out | Yes || `unauthorized` | Missing or invalid secret key | No |## LocalisationSet `locale` to any supported tag; the SDK falls back to `en` for unknown tags.Supported: `en`, `de`, `fr`, `es`, `ja`, `zh`, `ru`.
Source: write · chatcmpl-tool-9ff04e73e3b0ad94
Recorded tool call
{
"type": "tool_call",
"seq": 109,
"ts": "2026-11-24T03:00:39.129Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/docs/guides/configuration.md",
"content": "---\ntitle: \"Configuration\"\ndescription: \"Configure the Acme Widget SDK: project keys, environment variables, themes, locales, and error handling.\"\n---\n\n# Configuration\n\nAll configuration is passed to `mount()` as a single options object, or loaded\nfrom environment variables at build time.\n\n## Options reference\n\n| Option | Type | Default | Description |\n| :--- | :--- | :--- | :--- |\n| `projectId` | `string` | — | **Required.** Public project key (`pk_...`). |\n| `secretKey` | `string` | `undefined` | Server-side only. Never ship to a browser bundle. |\n| `theme` | `\"light\" \\| \"dark\" \\| \"system\"` | `\"system\"` | Appearance mode. |\n| `locale` | `string` | `\"en\"` | UI language tag. |\n| `endpoint` | `string` | `\"https://api.acme.dev\"` | API base URL. Override for self-hosting. |\n| `retries` | `number` | `3` | Retry count for transient network failures. |\n| `timeoutMs` | `number` | `8000` | Per-request timeout. |\n\n## Environment variables\n\n```bash\nACME_PROJECT_ID=pk_live_9f2c\nACME_ENDPOINT=https://api.acme.dev\nACME_TIMEOUT_MS=8000\n```\n\n```javascript\nimport { mount } from '@acme/widget-sdk';\n\nmount('#widget-root', {\n projectId: process.env.ACME_PROJECT_ID,\n endpoint: process.env.ACME_ENDPOINT,\n timeoutMs: Number(process.env.ACME_TIMEOUT_MS)\n});\n```\n\n::: callout danger \"Never expose secret keys\" icon:shield-alert\nAny variable inlined into a client bundle is public. Keep `secretKey` in server\ncode, an edge function, or a secrets manager, and let the browser hold only the\npublic `pk_...` key.\n:::\n\n## Error handling\n\nErrors are objects with a stable `code`, a human-readable `message`, and an\noptional `retryable` flag:\n\n```javascript\nwidget.on('error', (err) => {\n if (err.retryable) {\n return widget.refresh();\n }\n reportToSentry(err);\n});\n```\n\n| Code | Meaning | Retryable |\n| :--- | :--- | :--- |\n| `invalid_project` | Unknown or revoked project key | No |\n| `rate_limited` | Too many requests | Yes |\n| `network` | Request failed or timed out | Yes |\n| `unauthorized` | Missing or invalid secret key | No |\n\n## Localisation\n\nSet `locale` to any supported tag; the SDK falls back to `en` for unknown tags.\nSupported: `en`, `de`, `fr`, `es`, `ja`, `zh`, `ru`.\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9ff04e73e3b0ad94",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 111,
"ts": "2026-11-24T03:00:39.129Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 2184 bytes to /sandbox/repo/docs/guides/configuration.md",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9ff04e73e3b0ad94",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
Oops, I used a literal \r in the configuration.md file. Let me check what happened — the write content contained "\r" characters literally? In my JSON I wrote "\rConfiguration\r" which would insert carriage returns. That's bad. Let me inspect and rewrite cleanly.
cd /sandbox/repo && file docs/guides/configuration.md && head -c 200 docs/guides/configuration.md | od -c | head -5
docs/guides/configuration.md: JavaScript source, Unicode text, UTF-8 text
docs/guides/configuration.md: JavaScript source, Unicode text, UTF-8 text 0000000 - - - \n t i t l e : " C o n f 0000020 i g u r a t i o n " \n d e s c r 0000040 i p t i o n : " C o n f i g u 0000060 r e t h e A c m e W i d g 0000100 e t S D K : p r o j e c t
Recorded tool call
{
"type": "tool_call",
"seq": 114,
"ts": "2026-11-24T03:00:41.698Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && file docs/guides/configuration.md && head -c 200 docs/guides/configuration.md | od -c | head -5"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-bd9f8874e364f2aa",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 115,
"ts": "2026-11-24T03:00:41.698Z",
"turn": 2,
"output": {
"content": [
{
"text": "docs/guides/configuration.md: JavaScript source, Unicode text, UTF-8 text\n0000000 - - - \\n t i t l e : \" C o n f\n0000020 i g u r a t i o n \" \\n d e s c r\n0000040 i p t i o n : \" C o n f i g u\n0000060 r e t h e A c m e W i d g\n0000100 e t S D K : p r o j e c t \n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-bd9f8874e364f2aa",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
I'm checking that the output doesn't have any carriage return characters at the beginning.
cd /sandbox/repo && grep -c $'\r' docs/guides/configuration.md || echo "no CR found"
0
0 no CR found
Recorded tool call
{
"type": "tool_call",
"seq": 118,
"ts": "2026-11-24T03:00:43.813Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && grep -c $'\\r' docs/guides/configuration.md || echo \"no CR found\""
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-97a72dcd1ca600d1",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 119,
"ts": "2026-11-24T03:00:43.813Z",
"turn": 2,
"output": {
"content": [
{
"text": "0\nno CR found\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-97a72dcd1ca600d1",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
I need to continue investigating this issue. Let me check the details and proceed with the remaining files.
File edits
1 file
Writtendocs/api-reference/client.mdView changes
/sandbox/repo/docs/api-reference/client.md
Written content · previous contents were not recorded
---title: "Client API"description: "Method and event reference for the Acme Widget SDK client: mount, refresh, destroy, and the widget event bus."---# Client API## `mount(target, options)`Creates a widget instance attached to a DOM node.| Parameter | Type | Description || :--- | :--- | :--- || `target` | `string \| HTMLElement` | CSS selector or element to render into. || `options` | `WidgetOptions` | See [Configuration](/guides/configuration). |**Returns:** `Widget````javascriptimport { mount } from '@acme/widget-sdk';const widget = mount(document.querySelector('#widget-root'), {projectId: 'pk_demo'});```## `Widget` instance### `widget.refresh(): Promise<void>`Re-fetches data and re-renders. Resolves once the DOM is updated.```javascriptawait widget.refresh();```### `widget.update(options: Partial<WidgetOptions>): void`Applies a partial configuration change without a full remount. Accepts `theme`,`locale`, `endpoint`, `retries`, and `timeoutMs`. Changing `projectId` triggers afull teardown and remount.```javascriptwidget.update({ theme: 'dark', locale: 'de' });```### `widget.getState(): WidgetState`Returns a snapshot of the current state.```json{"status": "ready","locale": "en","lastSync": "2026-11-24T02:58:24.733Z","items": 12}```### `widget.destroy(): void`Removes DOM nodes, aborts in-flight requests, and unsubscribes all listeners.The instance cannot be reused after `destroy()`.## EventsSubscribe with `on(event, handler)`; unsubscribe with `off(event, handler)`.| Event | Payload | Fires when || :--- | :--- | :--- || `ready` | `{ items: number }` | First successful render. || `update` | `{ items: number }` | Data changed after a refresh. || `error` | `{ code, message, retryable }` | A request or render failed. || `destroy` | `{}` | The instance was torn down. |```javascriptwidget.on('update', ({ items }) => {document.querySelector('#count').textContent = String(items);});```::: callout note "Handlers are called synchronously" icon:infoEvent handlers run on the main thread during the render pass. Keep them cheap —offload heavy work with `queueMicrotask()` or a worker.:::## Server-side renderingFor SSR, import from the `server` entry point, which never touches `window`:```javascriptimport { renderToString } from '@acme/widget-sdk/server';const html = await renderToString({ projectId: 'pk_demo', locale: 'en' });```
Source: write · chatcmpl-tool-83927fac70a4080e
Recorded tool call
{
"type": "tool_call",
"seq": 122,
"ts": "2026-11-24T03:00:58.029Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/docs/api-reference/client.md",
"content": "---\ntitle: \"Client API\"\ndescription: \"Method and event reference for the Acme Widget SDK client: mount, refresh, destroy, and the widget event bus.\"\n---\n\n# Client API\n\n## `mount(target, options)`\n\nCreates a widget instance attached to a DOM node.\n\n| Parameter | Type | Description |\n| :--- | :--- | :--- |\n| `target` | `string \\| HTMLElement` | CSS selector or element to render into. |\n| `options` | `WidgetOptions` | See [Configuration](/guides/configuration). |\n\n**Returns:** `Widget`\n\n```javascript\nimport { mount } from '@acme/widget-sdk';\n\nconst widget = mount(document.querySelector('#widget-root'), {\n projectId: 'pk_demo'\n});\n```\n\n## `Widget` instance\n\n### `widget.refresh(): Promise<void>`\n\nRe-fetches data and re-renders. Resolves once the DOM is updated.\n\n```javascript\nawait widget.refresh();\n```\n\n### `widget.update(options: Partial<WidgetOptions>): void`\n\nApplies a partial configuration change without a full remount. Accepts `theme`,\n`locale`, `endpoint`, `retries`, and `timeoutMs`. Changing `projectId` triggers a\nfull teardown and remount.\n\n```javascript\nwidget.update({ theme: 'dark', locale: 'de' });\n```\n\n### `widget.getState(): WidgetState`\n\nReturns a snapshot of the current state.\n\n```json\n{\n \"status\": \"ready\",\n \"locale\": \"en\",\n \"lastSync\": \"2026-11-24T02:58:24.733Z\",\n \"items\": 12\n}\n```\n\n### `widget.destroy(): void`\n\nRemoves DOM nodes, aborts in-flight requests, and unsubscribes all listeners.\nThe instance cannot be reused after `destroy()`.\n\n## Events\n\nSubscribe with `on(event, handler)`; unsubscribe with `off(event, handler)`.\n\n| Event | Payload | Fires when |\n| :--- | :--- | :--- |\n| `ready` | `{ items: number }` | First successful render. |\n| `update` | `{ items: number }` | Data changed after a refresh. |\n| `error` | `{ code, message, retryable }` | A request or render failed. |\n| `destroy` | `{}` | The instance was torn down. |\n\n```javascript\nwidget.on('update', ({ items }) => {\n document.querySelector('#count').textContent = String(items);\n});\n```\n\n::: callout note \"Handlers are called synchronously\" icon:info\nEvent handlers run on the main thread during the render pass. Keep them cheap —\noffload heavy work with `queueMicrotask()` or a worker.\n:::\n\n## Server-side rendering\n\nFor SSR, import from the `server` entry point, which never touches `window`:\n\n```javascript\nimport { renderToString } from '@acme/widget-sdk/server';\n\nconst html = await renderToString({ projectId: 'pk_demo', locale: 'en' });\n```\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-83927fac70a4080e",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 124,
"ts": "2026-11-24T03:00:58.029Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 2463 bytes to /sandbox/repo/docs/api-reference/client.md",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-83927fac70a4080e",
"is_error": false,
"tool_kind": "file_edit"
}File edits
1 file
Writtendocs/changelog.mdView changes
/sandbox/repo/docs/changelog.md
Written content · previous contents were not recorded
---title: "Changelog"description: "Release history for the Acme Widget SDK."---# Changelog::: changelog== 2.4.1 "2026-11-10"- **Fixed:** `refresh()` no longer leaks an AbortController when called during an in-flight request.- **Fixed:** `locale: 'zh'` fell back to `en` on the server entry point.== 2.4.0 "2026-10-02"- **Added:** `renderToString()` in `@acme/widget-sdk/server` for SSR frameworks.- **Added:** `retryable` flag on all error payloads.- **Changed:** default `timeoutMs` raised from `5000` to `8000`.== 2.3.0 "2026-08-14"- **Added:** `widget.update()` for partial reconfiguration without remount.- **Deprecated:** `setTheme()` — use `update({ theme })` instead.== 2.2.0 "2026-06-21"- **Added:** `destroy` event.- **Fixed:** listeners registered twice after a failed mount.:::## Upgrade notes### 2.3 → 2.4`setTheme()` is deprecated but still functional. Replace it:```javascript// Beforewidget.setTheme('dark');// Afterwidget.update({ theme: 'dark' });```### 2.2 → 2.3Error payloads gained a `retryable` boolean. Handlers that branched on`err.message` strings should switch to `err.code`:```javascriptwidget.on('error', (err) => {if (err.code === 'rate_limited') backoff();});```
Source: write · chatcmpl-tool-aa54669e370e3f8d
Recorded tool call
{
"type": "tool_call",
"seq": 123,
"ts": "2026-11-24T03:00:58.029Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/docs/changelog.md",
"content": "---\ntitle: \"Changelog\"\ndescription: \"Release history for the Acme Widget SDK.\"\n---\n\n# Changelog\n\n::: changelog\n== 2.4.1 \"2026-11-10\"\n- **Fixed:** `refresh()` no longer leaks an AbortController when called during an in-flight request.\n- **Fixed:** `locale: 'zh'` fell back to `en` on the server entry point.\n== 2.4.0 \"2026-10-02\"\n- **Added:** `renderToString()` in `@acme/widget-sdk/server` for SSR frameworks.\n- **Added:** `retryable` flag on all error payloads.\n- **Changed:** default `timeoutMs` raised from `5000` to `8000`.\n== 2.3.0 \"2026-08-14\"\n- **Added:** `widget.update()` for partial reconfiguration without remount.\n- **Deprecated:** `setTheme()` — use `update({ theme })` instead.\n== 2.2.0 \"2026-06-21\"\n- **Added:** `destroy` event.\n- **Fixed:** listeners registered twice after a failed mount.\n:::\n\n## Upgrade notes\n\n### 2.3 → 2.4\n\n`setTheme()` is deprecated but still functional. Replace it:\n\n```javascript\n// Before\nwidget.setTheme('dark');\n\n// After\nwidget.update({ theme: 'dark' });\n```\n\n### 2.2 → 2.3\n\nError payloads gained a `retryable` boolean. Handlers that branched on\n`err.message` strings should switch to `err.code`:\n\n```javascript\nwidget.on('error', (err) => {\n if (err.code === 'rate_limited') backoff();\n});\n```\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-aa54669e370e3f8d",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 125,
"ts": "2026-11-24T03:00:58.029Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 1240 bytes to /sandbox/repo/docs/changelog.md",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-aa54669e370e3f8d",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
Now check changelog container syntax. Let me grep docs for changelog container syntax.
sed -n '/^## \[Changelogs\](https:\/\/docs.docmd.io\/content\/containers\/changelogs\/)/,+60p' /tmp/dfull.txt | head -70
## [Changelogs](https://docs.docmd.io/content/containers/changelogs/) (Content)
## [Changelogs](https://docs.docmd.io/content/containers/changelogs/) (Content) --- title: "Changelogs" description: "Generate structured, timeline-based version histories and release notes in docmd." --- The `changelog` container provides a specialised layout for documenting project evolution. It parses version or date headers into vertical timeline entries, ensuring release notes remain clear and scannable. ## Container Syntax ```markdown ::: changelog # Outer release history container opener ::: log [title:"v1.0.0 (YYYY-MM-DD)"] # Version entry item opener Release details (markdown headings, bullet points, callouts)... ::: /log # Explicit log item closer ::: log [title:"v0.9.0 (YYYY-MM-DD)"] # Secondary release entry opener Release notes... ::: /log ::: /changelog # Explicit changelog closer ``` ## Features & Supported Attributes | Parameter / Element | Type | Description | | :--- | :--- | :--- | | **Version Label** | `"String"` \| `title:"..."` | Version tag or date rendered as a timeline badge on the left margin. | | **Sub-Containers** | `::: log` ... `::: /log` | Explicit version entry wrappers. Legacy `== Version` header markers are also supported. | | **Closing Tags** | `::: /changelog`, `::: /log`, `:::` | Supports explicit named closing tags or generic `:::` closers. | ## Usage Examples ### Release History Timeline Changelogs support full Markdown formatting within each entry, including lists, callouts, and code snippets: ```markdown ::: changelog # Production release history ::: log "v2.0.0 (2026-03-15)" # Major release ### Major System Overhaul The core engine has been rearchitected for isomorphic execution. * Implemented **SPA Router** for zero-reload page navigation. * Introduced the **Isomorphic Plugin** architecture. ::: callout success This release delivers a 40% improvement in initial build compilation speed. ::: ::: /log ::: log "v1.5.1 (2025-12-10)" # Patch update ### Security Patch * Resolved vulnerability in internal parser. * Updated dependencies. ::: /log ::: log "v1.0.0 (2024-05-01)" Initial public release. ::: /log
Recorded tool call
{
"type": "tool_call",
"seq": 128,
"ts": "2026-11-24T03:01:01.215Z",
"name": "bash",
"turn": 2,
"input": {
"command": "sed -n '/^## \\[Changelogs\\](https:\\/\\/docs.docmd.io\\/content\\/containers\\/changelogs\\/)/,+60p' /tmp/dfull.txt | head -70"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-87069d7b30e09121",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 130,
"ts": "2026-11-24T03:01:01.215Z",
"turn": 2,
"output": {
"content": [
{
"text": "## [Changelogs](https://docs.docmd.io/content/containers/changelogs/) (Content)\n\n---\ntitle: \"Changelogs\"\ndescription: \"Generate structured, timeline-based version histories and release notes in docmd.\"\n---\n\nThe `changelog` container provides a specialised layout for documenting project evolution. It parses version or date headers into vertical timeline entries, ensuring release notes remain clear and scannable.\n\n## Container Syntax\n\n```markdown\n::: changelog # Outer release history container opener\n::: log [title:\"v1.0.0 (YYYY-MM-DD)\"] # Version entry item opener\nRelease details (markdown headings, bullet points, callouts)...\n::: /log # Explicit log item closer\n\n::: log [title:\"v0.9.0 (YYYY-MM-DD)\"] # Secondary release entry opener\nRelease notes...\n::: /log\n::: /changelog # Explicit changelog closer\n```\n\n## Features & Supported Attributes\n\n| Parameter / Element | Type | Description |\n| :--- | :--- | :--- |\n| **Version Label** | `\"String\"` \\| `title:\"...\"` | Version tag or date rendered as a timeline badge on the left margin. |\n| **Sub-Containers** | `::: log` ... `::: /log` | Explicit version entry wrappers. Legacy `== Version` header markers are also supported. |\n| **Closing Tags** | `::: /changelog`, `::: /log`, `:::` | Supports explicit named closing tags or generic `:::` closers. |\n\n\n## Usage Examples\n\n### Release History Timeline\n\nChangelogs support full Markdown formatting within each entry, including lists, callouts, and code snippets:\n\n```markdown\n::: changelog # Production release history\n::: log \"v2.0.0 (2026-03-15)\" # Major release\n### Major System Overhaul\nThe core engine has been rearchitected for isomorphic execution.\n\n* Implemented **SPA Router** for zero-reload page navigation.\n* Introduced the **Isomorphic Plugin** architecture.\n\n::: callout success\nThis release delivers a 40% improvement in initial build compilation speed.\n:::\n::: /log\n\n::: log \"v1.5.1 (2025-12-10)\" # Patch update\n### Security Patch\n* Resolved vulnerability in internal parser.\n* Updated dependencies.\n::: /log\n\n::: log \"v1.0.0 (2024-05-01)\"\nInitial public release.\n::: /log\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-87069d7b30e09121",
"is_error": false,
"tool_kind": "shell"
}sed -n '/^## \[Steps\](https:\/\/docs.docmd.io\/content\/containers\/steps\/)/,+45p' /tmp/dfull.txt | head -50; echo ===TABS===; sed -n '/^## \[Tabs\](https:\/\/docs.docmd.io\/content\/containers\/tabs\/)/,+40p' /tmp/dfull.txt | head -45
## [Steps](https://docs.docmd.io/content/containers/steps/) (Content)
## [Steps](https://docs.docmd.io/content/containers/steps/) (Content) --- title: "Steps" description: "Convert numbered steps and ordered lists into high-impact visual timelines and tutorials in docmd." --- The `steps` container transforms sequential instructions into numbered vertical timelines with hover permalinks. It is designed for technical tutorials and sequential how-to guides. ## Container Syntax ```markdown ::: steps # Outer sequential timeline wrapper opener ::: step [title:"Step Heading"] # Individual step item opener Step 1 content (markdown text, code blocks, callouts, images)... ::: /step # Explicit step item closer ::: step [title:"Step 2 Heading"] # Second step item opener Step 2 content... ::: /step ::: /steps # Explicit timeline closer ``` ## Features & Supported Attributes | Parameter / Element | Type | Description | | :--- | :--- | :--- | | **Step Title** | `"String"` \| `title:"..."` | Heading text displayed at the top of each timeline node (1st positional arg or `title:"..."`). | | **Timeline Nodes** | Automatic | Each `::: step` block auto-increments the step index (1, 2, 3...). | | **Sub-Containers** | `::: step` ... `::: /step` | Explicit step wrappers. Legacy ordered list (`1.`, `2.`) syntax is also fully supported. | | **Closing Tags** | `::: /steps`, `::: /step`, `:::` | Supports explicit named closing tags or generic `:::` closers. | ## Usage Examples ### Basic Workflow Sequence A straightforward sequence for developer onboarding tasks using explicit `::: step` containers: ```markdown ::: steps # Onboarding workflow ::: step "Initialise Project" # Step 1 Run `npx @docmd/core init` to scaffold your directory structure. ::: /step ::: step "Author Content" # Step 2 ===TABS=== ## [Tabs](https://docs.docmd.io/content/containers/tabs/) (Content) --- title: "Tabs" description: "Organise alternative code snippets, platform instructions, and multi-language content into switchable tabs in docmd." --- Tabs present mutually exclusive or alternative data sets (such as package manager choices or operating system commands). They condense technical instructions into clean, interactive tabbed containers. ## Container Syntax ```markdown ::: tabs # Outer tab group container opener ::: tab [title:"Tab Label"] [icon:icon_name] # Individual tab item opener Tab 1 content (code blocks, text, lists)... ::: /tab # Explicit tab item closer ::: tab [title:"Tab Label 2"] [icon:icon_name] # Second tab opener Tab 2 content... ::: /tab ::: /tabs # Explicit tab group closer ``` ## Features & Supported Attributes | Parameter / Property | Type | Description | | :--- | :--- | :--- | | **Tab Label** | `"String"` \| `title:"..."` | Text displayed on the tab selector button (1st positional arg or `title:"..."`). | | **Iconography** | `icon:NAME` | Optional. Adds a [Lucide](external:https://lucide.dev/icons) icon before the tab label. | | **Sub-Containers** | `::: tab` ... `::: /tab` | Explicit tab item wrappers. Legacy `== tab` syntax is also fully supported. | | **Closing Tags** | `::: /tabs`, `::: /tab`, `:::` | Supports explicit named closing tags or generic `:::` closers. | ## Usage Examples ### Package Manager Switcher Display installation commands across multiple package managers using explicit sub-containers and inline comments: ````markdown ::: tabs # Package manager options
Recorded tool call
{
"type": "tool_call",
"seq": 129,
"ts": "2026-11-24T03:01:01.215Z",
"name": "bash",
"turn": 2,
"input": {
"command": "sed -n '/^## \\[Steps\\](https:\\/\\/docs.docmd.io\\/content\\/containers\\/steps\\/)/,+45p' /tmp/dfull.txt | head -50; echo ===TABS===; sed -n '/^## \\[Tabs\\](https:\\/\\/docs.docmd.io\\/content\\/containers\\/tabs\\/)/,+40p' /tmp/dfull.txt | head -45"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-88b7774048c61017",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 131,
"ts": "2026-11-24T03:01:01.215Z",
"turn": 2,
"output": {
"content": [
{
"text": "## [Steps](https://docs.docmd.io/content/containers/steps/) (Content)\n\n---\ntitle: \"Steps\"\ndescription: \"Convert numbered steps and ordered lists into high-impact visual timelines and tutorials in docmd.\"\n---\n\nThe `steps` container transforms sequential instructions into numbered vertical timelines with hover permalinks. It is designed for technical tutorials and sequential how-to guides.\n\n## Container Syntax\n\n```markdown\n::: steps # Outer sequential timeline wrapper opener\n::: step [title:\"Step Heading\"] # Individual step item opener\nStep 1 content (markdown text, code blocks, callouts, images)...\n::: /step # Explicit step item closer\n\n::: step [title:\"Step 2 Heading\"] # Second step item opener\nStep 2 content...\n::: /step\n::: /steps # Explicit timeline closer\n```\n\n## Features & Supported Attributes\n\n| Parameter / Element | Type | Description |\n| :--- | :--- | :--- |\n| **Step Title** | `\"String\"` \\| `title:\"...\"` | Heading text displayed at the top of each timeline node (1st positional arg or `title:\"...\"`). |\n| **Timeline Nodes** | Automatic | Each `::: step` block auto-increments the step index (1, 2, 3...). |\n| **Sub-Containers** | `::: step` ... `::: /step` | Explicit step wrappers. Legacy ordered list (`1.`, `2.`) syntax is also fully supported. |\n| **Closing Tags** | `::: /steps`, `::: /step`, `:::` | Supports explicit named closing tags or generic `:::` closers. |\n\n\n## Usage Examples\n\n### Basic Workflow Sequence\n\nA straightforward sequence for developer onboarding tasks using explicit `::: step` containers:\n\n```markdown\n::: steps # Onboarding workflow\n::: step \"Initialise Project\" # Step 1\nRun `npx @docmd/core init` to scaffold your directory structure.\n::: /step\n\n::: step \"Author Content\" # Step 2\n===TABS===\n## [Tabs](https://docs.docmd.io/content/containers/tabs/) (Content)\n\n---\ntitle: \"Tabs\"\ndescription: \"Organise alternative code snippets, platform instructions, and multi-language content into switchable tabs in docmd.\"\n---\n\nTabs present mutually exclusive or alternative data sets (such as package manager choices or operating system commands). They condense technical instructions into clean, interactive tabbed containers.\n\n## Container Syntax\n\n```markdown\n::: tabs # Outer tab group container opener\n::: tab [title:\"Tab Label\"] [icon:icon_name] # Individual tab item opener\nTab 1 content (code blocks, text, lists)...\n::: /tab # Explicit tab item closer\n\n::: tab [title:\"Tab Label 2\"] [icon:icon_name] # Second tab opener\nTab 2 content...\n::: /tab\n::: /tabs # Explicit tab group closer\n```\n\n## Features & Supported Attributes\n\n| Parameter / Property | Type | Description |\n| :--- | :--- | :--- |\n| **Tab Label** | `\"String\"` \\| `title:\"...\"` | Text displayed on the tab selector button (1st positional arg or `title:\"...\"`). |\n| **Iconography** | `icon:NAME` | Optional. Adds a [Lucide](external:https://lucide.dev/icons) icon before the tab label. |\n| **Sub-Containers** | `::: tab` ... `::: /tab` | Explicit tab item wrappers. Legacy `== tab` syntax is also fully supported. |\n| **Closing Tags** | `::: /tabs`, `::: /tab`, `:::` | Supports explicit named closing tags or generic `:::` closers. |\n\n\n## Usage Examples\n\n### Package Manager Switcher\n\nDisplay installation commands across multiple package managers using explicit sub-containers and inline comments:\n\n````markdown\n::: tabs # Package manager options\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-88b7774048c61017",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Legacy == tab and ordered list for steps are supported; my quick-start uses ordered list inside steps (legacy supported) — fine. Changelog uses == 2.4.1 "..." legacy header markers — supported ("Legacy == Version header markers are also supported"). OK, but let me convert changelog to explicit ::: log for robustness. Also check grids/cards syntax.
Let me check the callout syntax: ::: callout tip "Title" icon:lightbulb — yes from docs.
Check grids/grid/card syntax.
sed -n '/^## \[Cards\](https:\/\/docs.docmd.io\/content\/containers\/cards\/)/,+40p' /tmp/dfull.txt | head -45; echo ===GRIDS===; grep -n '::: grids' /tmp/dfull.txt | head -3
## [Cards](https://docs.docmd.io/content/containers/cards/) (Content)
## [Cards](https://docs.docmd.io/content/containers/cards/) (Content) --- title: "Cards" description: "Organise information into framed, visually distinct containers for feature grids and landing pages in docmd." --- Cards encapsulate related content into a distinct, bordered frame with an optional header, providing clear visual hierarchy across your documentation pages. ## Container Syntax ```markdown ::: card [title:"Header Title"] [icon:icon_name] # Card container opener Content block supporting Markdown, code snippets, buttons, and callouts... ::: /card # Explicit closing tag ``` ## Features & Supported Attributes | Parameter / Property | Type | Description | | :--- | :--- | :--- | | **Title** | `"String"` \| `title:"..."` | Optional header title displayed at the top of the card frame (positional 1st parameter or `title:"..."`). | | **Iconography** | `icon:NAME` | Optional. Injects a [Lucide](external:https://lucide.dev/icons) icon next to the header title text. | | **Markdown Content** | Free Text | Supports arbitrary Markdown elements, code blocks, lists, buttons, and nested containers. | ## Usage Examples ### Feature Highlight Card Use a card to frame a single technical capability with an explicit title and icon: ```markdown ::: card title:"Asynchronous Generation" icon:zap The core engine uses a non-blocking I/O pipeline, compiling thousands of pages in milliseconds. ::: /card ``` ::: card "Asynchronous Generation" icon:zap The core engine uses a non-blocking I/O pipeline, compiling thousands of pages in milliseconds. ::: ===GRIDS=== 10269:::: grids 10503:::: grids 10521:::: grids
Recorded tool call
{
"type": "tool_call",
"seq": 134,
"ts": "2026-11-24T03:01:05.475Z",
"name": "bash",
"turn": 2,
"input": {
"command": "sed -n '/^## \\[Cards\\](https:\\/\\/docs.docmd.io\\/content\\/containers\\/cards\\/)/,+40p' /tmp/dfull.txt | head -45; echo ===GRIDS===; grep -n '::: grids' /tmp/dfull.txt | head -3"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-ab06665988ad0e33",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 135,
"ts": "2026-11-24T03:01:05.475Z",
"turn": 2,
"output": {
"content": [
{
"text": "## [Cards](https://docs.docmd.io/content/containers/cards/) (Content)\n\n---\ntitle: \"Cards\"\ndescription: \"Organise information into framed, visually distinct containers for feature grids and landing pages in docmd.\"\n---\n\nCards encapsulate related content into a distinct, bordered frame with an optional header, providing clear visual hierarchy across your documentation pages.\n\n## Container Syntax\n\n```markdown\n::: card [title:\"Header Title\"] [icon:icon_name] # Card container opener\nContent block supporting Markdown, code snippets, buttons, and callouts...\n::: /card # Explicit closing tag\n```\n\n## Features & Supported Attributes\n\n| Parameter / Property | Type | Description |\n| :--- | :--- | :--- |\n| **Title** | `\"String\"` \\| `title:\"...\"` | Optional header title displayed at the top of the card frame (positional 1st parameter or `title:\"...\"`). |\n| **Iconography** | `icon:NAME` | Optional. Injects a [Lucide](external:https://lucide.dev/icons) icon next to the header title text. |\n| **Markdown Content** | Free Text | Supports arbitrary Markdown elements, code blocks, lists, buttons, and nested containers. |\n\n\n## Usage Examples\n\n### Feature Highlight Card\n\nUse a card to frame a single technical capability with an explicit title and icon:\n\n```markdown\n::: card title:\"Asynchronous Generation\" icon:zap\nThe core engine uses a non-blocking I/O pipeline, compiling thousands of pages in milliseconds.\n::: /card\n```\n\n::: card \"Asynchronous Generation\" icon:zap\nThe core engine uses a non-blocking I/O pipeline, compiling thousands of pages in milliseconds.\n:::\n===GRIDS===\n10269:::: grids\n10503:::: grids\n10521:::: grids\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-ab06665988ad0e33",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Good — my index.md syntax matches (grids/grid/card nested with ::: closers). Let me check line 10269 context for grids nesting pattern to confirm the ::: grid wrapper exists.
Then rewrite changelog with explicit ::: log, write config, package.json, and run build.
sed -n '10260,10290p' /tmp/dfull.txt
::: button "L10n Strategy Guide" ./#localisation
::: button "L10n Strategy Guide" ./#localisation ::: ## Multi-Column Layouts (Grids) You can use the native `grids` container to organise your cards into clean, responsive multi-column layouts without ever touching HTML. ```markdown ::: grids ::: grid ::: card "Primary Node" Configuration for the master instance. ::: ::: ::: grid ::: card "Secondary Node" Configuration for redundant slave instances. ::: ::: ::: ``` ::: callout tip "Semantic Clustering for AI" In the `llms-full.txt` stream, content wrapped in a `card` is treated by AI agents as a **Cohesive Topic Cluster**. Utilizing cards to segment unrelated technical concepts on the same page prevents context leakage and ensures that LLM-generated summaries remain logically isolated and accurate. ::: --- ## [Changelogs](https://docs.docmd.io/06/content/containers/changelogs/) (06)
Recorded tool call
{
"type": "tool_call",
"seq": 138,
"ts": "2026-11-24T03:01:07.931Z",
"name": "bash",
"turn": 2,
"input": {
"command": "sed -n '10260,10290p' /tmp/dfull.txt"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b149c6135e50301a",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 139,
"ts": "2026-11-24T03:01:07.931Z",
"turn": 2,
"output": {
"content": [
{
"text": "\n::: button \"L10n Strategy Guide\" ./#localisation\n:::\n\n## Multi-Column Layouts (Grids)\n\nYou can use the native `grids` container to organise your cards into clean, responsive multi-column layouts without ever touching HTML.\n\n```markdown\n::: grids\n::: grid\n::: card \"Primary Node\"\nConfiguration for the master instance.\n:::\n:::\n::: grid\n::: card \"Secondary Node\"\nConfiguration for redundant slave instances.\n:::\n:::\n:::\n```\n\n::: callout tip \"Semantic Clustering for AI\"\nIn the `llms-full.txt` stream, content wrapped in a `card` is treated by AI agents as a **Cohesive Topic Cluster**. Utilizing cards to segment unrelated technical concepts on the same page prevents context leakage and ensures that LLM-generated summaries remain logically isolated and accurate.\n:::\n\n---\n\n## [Changelogs](https://docs.docmd.io/06/content/containers/changelogs/) (06)\n\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-b149c6135e50301a",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
My index.md grids match. Now rewrite changelog with explicit log containers, and create config + package.json.
File edits
1 file
Writtendocs/changelog.mdView changes
/sandbox/repo/docs/changelog.md
Written content · previous contents were not recorded
---title: "Changelog"description: "Release history for the Acme Widget SDK."---# Changelog::: changelog::: log "v2.4.1 (2026-11-10)"### Patch release- **Fixed:** `refresh()` no longer leaks an `AbortController` when called during an in-flight request.- **Fixed:** `locale: 'zh'` fell back to `en` on the server entry point.::: /log::: log "v2.4.0 (2026-10-02)"### Server-side rendering- **Added:** `renderToString()` in `@acme/widget-sdk/server` for SSR frameworks.- **Added:** `retryable` flag on all error payloads.- **Changed:** default `timeoutMs` raised from `5000` to `8000`.::: /log::: log "v2.3.0 (2026-08-14)"### Live reconfiguration- **Added:** `widget.update()` for partial reconfiguration without a remount.- **Deprecated:** `setTheme()` — use `update({ theme })` instead.::: /log::: log "v2.2.0 (2026-06-21)"### Teardown improvements- **Added:** `destroy` event.- **Fixed:** listeners registered twice after a failed mount.::: /log::: /changelog## Upgrade notes### 2.3 → 2.4`setTheme()` is deprecated but still functional. Replace it:```javascript// Beforewidget.setTheme('dark');// Afterwidget.update({ theme: 'dark' });```### 2.2 → 2.3Error payloads gained a `retryable` boolean. Handlers that branched on`err.message` strings should switch to `err.code`:```javascriptwidget.on('error', (err) => {if (err.code === 'rate_limited') backoff();});```::: callout info "Stable error codes" icon:shield-check`err.code` values are part of the public API and follow semver. `err.message`strings are not and may change in any patch release.:::
Source: write · chatcmpl-tool-99ebf14858698682
Recorded tool call
{
"type": "tool_call",
"seq": 142,
"ts": "2026-11-24T03:01:20.328Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/docs/changelog.md",
"content": "---\ntitle: \"Changelog\"\ndescription: \"Release history for the Acme Widget SDK.\"\n---\n\n# Changelog\n\n::: changelog\n::: log \"v2.4.1 (2026-11-10)\"\n### Patch release\n\n- **Fixed:** `refresh()` no longer leaks an `AbortController` when called during an in-flight request.\n- **Fixed:** `locale: 'zh'` fell back to `en` on the server entry point.\n::: /log\n\n::: log \"v2.4.0 (2026-10-02)\"\n### Server-side rendering\n\n- **Added:** `renderToString()` in `@acme/widget-sdk/server` for SSR frameworks.\n- **Added:** `retryable` flag on all error payloads.\n- **Changed:** default `timeoutMs` raised from `5000` to `8000`.\n::: /log\n\n::: log \"v2.3.0 (2026-08-14)\"\n### Live reconfiguration\n\n- **Added:** `widget.update()` for partial reconfiguration without a remount.\n- **Deprecated:** `setTheme()` — use `update({ theme })` instead.\n::: /log\n\n::: log \"v2.2.0 (2026-06-21)\"\n### Teardown improvements\n\n- **Added:** `destroy` event.\n- **Fixed:** listeners registered twice after a failed mount.\n::: /log\n::: /changelog\n\n## Upgrade notes\n\n### 2.3 → 2.4\n\n`setTheme()` is deprecated but still functional. Replace it:\n\n```javascript\n// Before\nwidget.setTheme('dark');\n\n// After\nwidget.update({ theme: 'dark' });\n```\n\n### 2.2 → 2.3\n\nError payloads gained a `retryable` boolean. Handlers that branched on\n`err.message` strings should switch to `err.code`:\n\n```javascript\nwidget.on('error', (err) => {\n if (err.code === 'rate_limited') backoff();\n});\n```\n\n::: callout info \"Stable error codes\" icon:shield-check\n`err.code` values are part of the public API and follow semver. `err.message`\nstrings are not and may change in any patch release.\n:::\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-99ebf14858698682",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 145,
"ts": "2026-11-24T03:01:20.328Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 1617 bytes to /sandbox/repo/docs/changelog.md",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-99ebf14858698682",
"is_error": false,
"tool_kind": "file_edit"
}File edits
1 file
Writtendocmd.config.jsonView changes
/sandbox/repo/docmd.config.json
Written content · previous contents were not recorded
{// Site branding and canonical address"title": "Acme Widget SDK","url": "https://docs.acme.dev",// Source Markdown tree and compiled static output"src": "docs","out": "site","base": "/",// Explicit sidebar (omit this block to let docmd derive nav from the file tree)"navigation": [{ "title": "Overview", "path": "/", "icon": "home" },{"title": "Getting Started","icon": "rocket","collapsible": true,"children": [{ "title": "Installation", "path": "/getting-started/installation" },{ "title": "Quick Start", "path": "/getting-started/quick-start" }]},{"title": "Guides","icon": "book-open","children": [{ "title": "Configuration", "path": "/guides/configuration" }]},{"title": "API Reference","icon": "code-2","children": [{ "title": "Client API", "path": "/api-reference/client" }]},{ "title": "Changelog", "path": "/changelog", "icon": "history" },{"title": "docmd.io","path": "https://docmd.io","icon": "external-link","external": true}],// Appearance and layout"theme": {"name": "default","appearance": "system"},"layout": {"spa": true,"sidebar": { "collapsible": true },"copyCode": true,"pageNavigation": true,"copyWidgets": { "enabled": true, "raw": true, "context": true }},// Built-in plugins: offline search + machine-readable outputs.// The "ai" plugin is intentionally omitted — it needs an LLM provider key// or a docmd Cloud Relay projectId, neither of which this example uses."plugins": {"search": {},"llms": {},"seo": {},"sitemap": {},"okf": {}},// Keep generated output and dependencies out of the docs build"exclude": ["site/**", "node_modules/**"]}
Source: write · chatcmpl-tool-81036e3baa68fb3d
Recorded tool call
{
"type": "tool_call",
"seq": 143,
"ts": "2026-11-24T03:01:20.328Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/docmd.config.json",
"content": "{\n // Site branding and canonical address\n \"title\": \"Acme Widget SDK\",\n \"url\": \"https://docs.acme.dev\",\n\n // Source Markdown tree and compiled static output\n \"src\": \"docs\",\n \"out\": \"site\",\n \"base\": \"/\",\n\n // Explicit sidebar (omit this block to let docmd derive nav from the file tree)\n \"navigation\": [\n { \"title\": \"Overview\", \"path\": \"/\", \"icon\": \"home\" },\n {\n \"title\": \"Getting Started\",\n \"icon\": \"rocket\",\n \"collapsible\": true,\n \"children\": [\n { \"title\": \"Installation\", \"path\": \"/getting-started/installation\" },\n { \"title\": \"Quick Start\", \"path\": \"/getting-started/quick-start\" }\n ]\n },\n {\n \"title\": \"Guides\",\n \"icon\": \"book-open\",\n \"children\": [\n { \"title\": \"Configuration\", \"path\": \"/guides/configuration\" }\n ]\n },\n {\n \"title\": \"API Reference\",\n \"icon\": \"code-2\",\n \"children\": [\n { \"title\": \"Client API\", \"path\": \"/api-reference/client\" }\n ]\n },\n { \"title\": \"Changelog\", \"path\": \"/changelog\", \"icon\": \"history\" },\n {\n \"title\": \"docmd.io\",\n \"path\": \"https://docmd.io\",\n \"icon\": \"external-link\",\n \"external\": true\n }\n ],\n\n // Appearance and layout\n \"theme\": {\n \"name\": \"default\",\n \"appearance\": \"system\"\n },\n \"layout\": {\n \"spa\": true,\n \"sidebar\": { \"collapsible\": true },\n \"copyCode\": true,\n \"pageNavigation\": true,\n \"copyWidgets\": { \"enabled\": true, \"raw\": true, \"context\": true }\n },\n\n // Built-in plugins: offline search + machine-readable outputs.\n // The \"ai\" plugin is intentionally omitted — it needs an LLM provider key\n // or a docmd Cloud Relay projectId, neither of which this example uses.\n \"plugins\": {\n \"search\": {},\n \"llms\": {},\n \"seo\": {},\n \"sitemap\": {},\n \"okf\": {}\n },\n\n // Keep generated output and dependencies out of the docs build\n \"exclude\": [\"site/**\", \"node_modules/**\"]\n}\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-81036e3baa68fb3d",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 144,
"ts": "2026-11-24T03:01:20.328Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 1904 bytes to /sandbox/repo/docmd.config.json",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-81036e3baa68fb3d",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
I need to investigate this further. Let me check the details.
Wait — changelog.md I just rewrote may have the \r issue again. Let me check. Also add package.json scripts, .gitignore already covers site/? .gitignore has dist/, build/ but not site/ or node_modules is covered. Add site/ to .gitignore.
Then run build once with timing.
cd /sandbox/repo && grep -c $'\r' docs/changelog.md; head -8 docs/changelog.md
0
0 --- title: "Changelog" description: "Release history for the Acme Widget SDK." --- # Changelog ::: changelog
Recorded tool call
{
"type": "tool_call",
"seq": 148,
"ts": "2026-11-24T03:01:25.583Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && grep -c $'\\r' docs/changelog.md; head -8 docs/changelog.md"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-ae426d1463e2943c",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 151,
"ts": "2026-11-24T03:01:25.583Z",
"turn": 2,
"output": {
"content": [
{
"text": "0\n---\ntitle: \"Changelog\"\ndescription: \"Release history for the Acme Widget SDK.\"\n---\n\n# Changelog\n\n::: changelog\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-ae426d1463e2943c",
"is_error": false,
"tool_kind": "shell"
}File edits
1 file
Writtenpackage.jsonView changes
/sandbox/repo/package.json
Written content · previous contents were not recorded
{"name": "widget-sdk-docs","version": "1.0.0","private": true,"description": "Example docmd documentation site for the Acme Widget SDK.","type": "commonjs","scripts": {"docs:build": "docmd build","docs:validate": "docmd validate","docs:dev": "docmd dev --no-open"},"devDependencies": {"@docmd/core": "^0.10.1"}}
Source: write · chatcmpl-tool-9744c46660a8a9be
Recorded tool call
{
"type": "tool_call",
"seq": 149,
"ts": "2026-11-24T03:01:25.583Z",
"name": "write",
"turn": 2,
"input": {
"path": "/sandbox/repo/package.json",
"content": "{\n \"name\": \"widget-sdk-docs\",\n \"version\": \"1.0.0\",\n \"private\": true,\n \"description\": \"Example docmd documentation site for the Acme Widget SDK.\",\n \"type\": \"commonjs\",\n \"scripts\": {\n \"docs:build\": \"docmd build\",\n \"docs:validate\": \"docmd validate\",\n \"docs:dev\": \"docmd dev --no-open\"\n },\n \"devDependencies\": {\n \"@docmd/core\": \"^0.10.1\"\n }\n}\n"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9744c46660a8a9be",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 150,
"ts": "2026-11-24T03:01:25.583Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully wrote 360 bytes to /sandbox/repo/package.json",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9744c46660a8a9be",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
Careful: I just overwrote package.json that npm install created (which had @docmd/core dependency and possibly lockfile consistency). Let me check package-lock and node_modules still fine — devDependencies ^0.10.1 matches installed. Let's verify installed version and that lockfile exists; possibly npm ci mismatch but not needed.
Now run the build once, timed.
cd /sandbox/repo && printf '\n# docmd build output\nsite/\n.tmp/\n' >> .gitignore && time timeout 600 npx @docmd/core build 2>&1 | tail -40
_ _
_ _
_| |___ ___ _____ _| |
| . | . | _| | . |
|___|___|___|_|_|_|___|
v0.10.1
[ WARN ] Configuration Warnings:
[ WARN ] Unknown property "exclude" in config — ignored. (Top-level keys only; plugin-specific options belong under "plugins.<name>".)
BUILD
Source docs/
Output site/
DATA INDEXING
[ WAIT ] Syncing git metadata
[ DONE ] Syncing git metadata
[ WAIT ] Generating search index
[ DONE ] Generating search index
PUBLISHING
[ DONE ] [seo] Generated robots.txt
[ DONE ] [sitemap] Sitemap generated
[ DONE ] [llms] Generating LLMs context files
[ DONE ] [okf] OKF bundle generated at /okf/ (6 concepts)
[ DONE ] [ai] AI Assistant plugin ready for site.
[ DONE ] Build complete. Generated 6 pages in 1.1s.
real 0m1.762s
user 0m2.516s
sys 0m0.938s
Recorded tool call
{
"type": "tool_call",
"seq": 154,
"ts": "2026-11-24T03:01:28.893Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && printf '\\n# docmd build output\\nsite/\\n.tmp/\\n' >> .gitignore && time timeout 600 npx @docmd/core build 2>&1 | tail -40",
"timeout": 620
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9b02b74547e91b97",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 155,
"ts": "2026-11-24T03:01:31.391Z",
"turn": 2,
"output": {
"content": [
{
"text": "\n\n _ _ \n _| |___ ___ _____ _| |\n | . | . | _| | . |\n |___|___|___|_|_|_|___|\n\n v0.10.1\n\n[ WARN ] Configuration Warnings:\n[ WARN ] Unknown property \"exclude\" in config — ignored. (Top-level keys only; plugin-specific options belong under \"plugins.<name>\".)\n\nBUILD\n\nSource docs/\nOutput site/\n\nDATA INDEXING\n\n[ WAIT ] Syncing git metadata\n[ DONE ] Syncing git metadata\n[ WAIT ] Generating search index\n[ DONE ] Generating search index\n\nPUBLISHING\n\n[ DONE ] [seo] Generated robots.txt\n[ DONE ] [sitemap] Sitemap generated\n[ DONE ] [llms] Generating LLMs context files\n[ DONE ] [okf] OKF bundle generated at /okf/ (6 concepts)\n[ DONE ] [ai] AI Assistant plugin ready for site.\n[ DONE ] Build complete. Generated 6 pages in 1.1s.\n\nreal\t0m1.762s\nuser\t0m2.516s\nsys\t0m0.938s\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-9b02b74547e91b97",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Build succeeded in 1.1s (1.76s wall). Warning: "exclude" unknown property — remove it from config. Let me fix that and rebuild once more (still one-shot, quick). Actually I should fix and re-run build to have clean output. That's fine — still one-shot.
Also verify outputs exist: site/index.html, llms.txt, sitemap.xml, okf/, search index. And run validate (one-shot) to check links.
File edits
1 file
Modifieddocmd.config.json+1−4View changes
/sandbox/repo/docmd.config.json
Replacement excerpt
"okf": {}- },-- // Keep generated output and dependencies out of the docs build- "exclude": ["site/**", "node_modules/**"]+ }}
Source: edit · chatcmpl-tool-adcd03207ff1eadc
Recorded tool call
{
"type": "tool_call",
"seq": 158,
"ts": "2026-11-24T03:01:35.112Z",
"name": "edit",
"turn": 2,
"input": {
"path": "/sandbox/repo/docmd.config.json",
"edits": [
{
"newText": " \"okf\": {}\n }\n}",
"oldText": " \"okf\": {}\n },\n\n // Keep generated output and dependencies out of the docs build\n \"exclude\": [\"site/**\", \"node_modules/**\"]\n}"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-adcd03207ff1eadc",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 159,
"ts": "2026-11-24T03:01:35.112Z",
"turn": 2,
"output": {
"content": [
{
"text": "Successfully replaced 1 block(s) in /sandbox/repo/docmd.config.json.",
"type": "text"
}
],
"details": {
"diff": " ...\n 64 \"llms\": {},\n 65 \"seo\": {},\n 66 \"sitemap\": {},\n 67 \"okf\": {}\n-68 },\n-69 \n-70 // Keep generated output and dependencies out of the docs build\n-71 \"exclude\": [\"site/**\", \"node_modules/**\"]\n+68 }\n 72 }",
"patch": "--- /sandbox/repo/docmd.config.json\n+++ /sandbox/repo/docmd.config.json\n@@ -64,9 +64,6 @@\n \"llms\": {},\n \"seo\": {},\n \"sitemap\": {},\n \"okf\": {}\n- },\n-\n- // Keep generated output and dependencies out of the docs build\n- \"exclude\": [\"site/**\", \"node_modules/**\"]\n+ }\n }\n",
"firstChangedLine": 68
}
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-adcd03207ff1eadc",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
I need to investigate this further. Let me check the details.
Wait — the config was written with literal \r? Let me check the file content. Earlier I wrote docmd.config.json with \r characters in my JSON string... Actually the content I passed had "\r" escapes which may have become carriage returns. Let me inspect.
cd /sandbox/repo && grep -c $'\r' docmd.config.json; tail -12 docmd.config.json | cat -A | tail -12 | head -14
0
0
$
// Built-in plugins: offline search + machine-readable outputs.$
// The "ai" plugin is intentionally omitted M-bM-^@M-^T it needs an LLM provider key$
// or a docmd Cloud Relay projectId, neither of which this example uses.$
"plugins": {$
"search": {},$
"llms": {},$
"seo": {},$
"sitemap": {},$
"okf": {}$
}$
}$
Recorded tool call
{
"type": "tool_call",
"seq": 162,
"ts": "2026-11-24T03:01:37.977Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && grep -c $'\\r' docmd.config.json; tail -12 docmd.config.json | cat -A | tail -12 | head -14"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a0e6731251b082e0",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 163,
"ts": "2026-11-24T03:01:37.977Z",
"turn": 2,
"output": {
"content": [
{
"text": "0\n$\n // Built-in plugins: offline search + machine-readable outputs.$\n // The \"ai\" plugin is intentionally omitted M-bM-^@M-^T it needs an LLM provider key$\n // or a docmd Cloud Relay projectId, neither of which this example uses.$\n \"plugins\": {$\n \"search\": {},$\n \"llms\": {},$\n \"seo\": {},$\n \"sitemap\": {},$\n \"okf\": {}$\n }$\n}$\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a0e6731251b082e0",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
I need to investigate this further. Let me check the details.
Clean. Now rebuild once and run validate (both one-shot, fast).
cd /sandbox/repo && time timeout 300 npx @docmd/core build 2>&1 | tail -22
BUILD
BUILD Source docs/ Output site/ DATA INDEXING [ WAIT ] Syncing git metadata [ DONE ] Syncing git metadata [ WAIT ] Generating search index [ DONE ] Generating search index PUBLISHING [ DONE ] [seo] robots.txt already exists in site root, preserving [ DONE ] [sitemap] Sitemap generated [ DONE ] [llms] Generating LLMs context files [ DONE ] [okf] OKF bundle generated at /okf/ (6 concepts) [ DONE ] [ai] AI Assistant plugin ready for site. [ DONE ] Build complete. Generated 6 pages in 900ms. real 0m1.675s user 0m2.609s sys 0m0.620s
Recorded tool call
{
"type": "tool_call",
"seq": 166,
"ts": "2026-11-24T03:01:40.381Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && time timeout 300 npx @docmd/core build 2>&1 | tail -22",
"timeout": 320
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-93566531ba160aa5",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 167,
"ts": "2026-11-24T03:01:42.456Z",
"turn": 2,
"output": {
"content": [
{
"text": "\n\nBUILD\n\nSource docs/\nOutput site/\n\nDATA INDEXING\n\n[ WAIT ] Syncing git metadata\n[ DONE ] Syncing git metadata\n[ WAIT ] Generating search index\n[ DONE ] Generating search index\n\nPUBLISHING\n\n[ DONE ] [seo] robots.txt already exists in site root, preserving\n[ DONE ] [sitemap] Sitemap generated\n[ DONE ] [llms] Generating LLMs context files\n[ DONE ] [okf] OKF bundle generated at /okf/ (6 concepts)\n[ DONE ] [ai] AI Assistant plugin ready for site.\n[ DONE ] Build complete. Generated 6 pages in 900ms.\n\nreal\t0m1.675s\nuser\t0m2.609s\nsys\t0m0.620s\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-93566531ba160aa5",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
No warnings now. Let's run validate (one-shot) and inspect output tree.
cd /sandbox/repo && timeout 180 npx @docmd/core validate 2>&1 | tail -25
_ _
_ _
_| |___ ___ _____ _| |
| . | . | _| | . |
|___|___|___|_|_|_|___|
v0.10.1
DOCUMENTATION VALIDATION
[ DONE ] All internal links and container source files are valid!
Recorded tool call
{
"type": "tool_call",
"seq": 170,
"ts": "2026-11-24T03:01:45.341Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && timeout 180 npx @docmd/core validate 2>&1 | tail -25",
"timeout": 200
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8277a869bfd4192a",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 173,
"ts": "2026-11-24T03:01:46.544Z",
"turn": 2,
"output": {
"content": [
{
"text": "\n\n _ _ \n _| |___ ___ _____ _| |\n | . | . | _| | . |\n |___|___|___|_|_|_|___|\n\n v0.10.1\n\n\nDOCUMENTATION VALIDATION\n\n[ DONE ] All internal links and container source files are valid!\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8277a869bfd4192a",
"is_error": false,
"tool_kind": "shell"
}cd /sandbox/repo/site && ls; echo ---; find . -maxdepth 2 -name '*.html' | sort | head -20; echo ---; du -sh .; echo ---; head -c 700 llms.txt; echo; echo ---OKF---; ls okf | head
404.html
404.html _docmd-search api-reference assets changelog getting-started guides index.html llms-full.txt llms.json llms.txt okf robots.txt sitemap.xml --- ./404.html ./changelog/index.html ./index.html --- 6.2M . --- # Acme Widget SDK > Generated by docmd ## Overview - [Widget SDK](https://docs.acme.dev/) Documentation for the Acme Widget SDK — install, configure, and ship your first widget. ## API Reference - [Client API](https://docs.acme.dev/api-reference/client/) Method and event reference for the Acme Widget SDK client: mount, refresh, destroy, and the widget event bus. ## Changelog - [Changelog](https://docs.acme.dev/changelog/) Release history for the Acme Widget SDK. ## Getting Started - [Installation](https://docs.acme.dev/getting-started/installation/) Install the Acme Widget SDK with npm, pnpm, yarn, or a CDN script tag. - [Quick Start](https://docs.acme.dev/getting-started/ ---OKF--- _meta concepts index.md okf.yaml
Recorded tool call
{
"type": "tool_call",
"seq": 171,
"ts": "2026-11-24T03:01:45.341Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo/site && ls; echo ---; find . -maxdepth 2 -name '*.html' | sort | head -20; echo ---; du -sh .; echo ---; head -c 700 llms.txt; echo; echo ---OKF---; ls okf | head"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8a8bada716410766",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 172,
"ts": "2026-11-24T03:01:45.341Z",
"turn": 2,
"output": {
"content": [
{
"text": "404.html\n_docmd-search\napi-reference\nassets\nchangelog\ngetting-started\nguides\nindex.html\nllms-full.txt\nllms.json\nllms.txt\nokf\nrobots.txt\nsitemap.xml\n---\n./404.html\n./changelog/index.html\n./index.html\n---\n6.2M\t.\n---\n# Acme Widget SDK\n\n> Generated by docmd\n\n## Overview\n\n- [Widget SDK](https://docs.acme.dev/)\n Documentation for the Acme Widget SDK — install, configure, and ship your first widget.\n\n## API Reference\n\n- [Client API](https://docs.acme.dev/api-reference/client/)\n Method and event reference for the Acme Widget SDK client: mount, refresh, destroy, and the widget event bus.\n\n## Changelog\n\n- [Changelog](https://docs.acme.dev/changelog/)\n Release history for the Acme Widget SDK.\n\n## Getting Started\n\n- [Installation](https://docs.acme.dev/getting-started/installation/)\n Install the Acme Widget SDK with npm, pnpm, yarn, or a CDN script tag.\n- [Quick Start](https://docs.acme.dev/getting-started/\n---OKF---\n_meta\nconcepts\nindex.md\nokf.yaml\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8a8bada716410766",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Everything works. Note maxdepth 2 didn't show nested html like getting-started/installation/index.html (depth 3). Fine.
Let me quickly verify containers rendered (e.g., steps/tabs/changelog classes in HTML) to confirm no raw ::: leakage.
cd /sandbox/repo/site && grep -l ':::' $(find . -name 'index.html') 2>/dev/null; echo "raw-container-leak-check done"; grep -o 'docmd-[a-z-]*' changelog/index.html | sort -u | head -12; grep -o 'class="[^"]*step[^"]*"' getting-started/quick-start/index.html | sort -u | head -5; grep -o 'class="[^"]*tab[^"]*"' getting-started/installation/index.html | sort -u | head -5
raw-container-leak-check done
raw-container-leak-check done docmd-ai docmd-ai-root docmd-breadcrumbs docmd-breadcrumbs-row docmd-btn-icon docmd-btn-text docmd-container docmd-copy-btn docmd-copy-context-btn docmd-copy-raw-btn docmd-copy-widgets docmd-focus-title class="docmd-container steps steps-reset" class="step-item" class="step-permalink" class="steps-list" class="docmd-tab-pane " class="docmd-tab-pane active" class="docmd-tabs" class="docmd-tabs-content" class="docmd-tabs-nav"
Recorded tool call
{
"type": "tool_call",
"seq": 176,
"ts": "2026-11-24T03:01:50.769Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo/site && grep -l ':::' $(find . -name 'index.html') 2>/dev/null; echo \"raw-container-leak-check done\"; grep -o 'docmd-[a-z-]*' changelog/index.html | sort -u | head -12; grep -o 'class=\"[^\"]*step[^\"]*\"' getting-started/quick-start/index.html | sort -u | head -5; grep -o 'class=\"[^\"]*tab[^\"]*\"' getting-started/installation/index.html | sort -u | head -5"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-987aa5ed5352411e",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 179,
"ts": "2026-11-24T03:01:50.769Z",
"turn": 2,
"output": {
"content": [
{
"text": "raw-container-leak-check done\ndocmd-ai\ndocmd-ai-root\ndocmd-breadcrumbs\ndocmd-breadcrumbs-row\ndocmd-btn-icon\ndocmd-btn-text\ndocmd-container\ndocmd-copy-btn\ndocmd-copy-context-btn\ndocmd-copy-raw-btn\ndocmd-copy-widgets\ndocmd-focus-title\nclass=\"docmd-container steps steps-reset\"\nclass=\"step-item\"\nclass=\"step-permalink\"\nclass=\"steps-list\"\nclass=\"docmd-tab-pane \"\nclass=\"docmd-tab-pane active\"\nclass=\"docmd-tabs\"\nclass=\"docmd-tabs-content\"\nclass=\"docmd-tabs-nav\"\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-987aa5ed5352411e",
"is_error": false,
"tool_kind": "shell"
}cd /sandbox/repo && git status --short | head -20; echo ---; find docs -type f | sort; echo ---; ls site/_docmd-search | head
M .gitignore
M .gitignore ?? docmd.config.json ?? docs/ ?? package-lock.json ?? package.json --- docs/api-reference/client.md docs/changelog.md docs/getting-started/installation.md docs/getting-started/quick-start.md docs/guides/configuration.md docs/index.md --- search-index.json
Recorded tool call
{
"type": "tool_call",
"seq": 177,
"ts": "2026-11-24T03:01:50.769Z",
"name": "bash",
"turn": 2,
"input": {
"command": "cd /sandbox/repo && git status --short | head -20; echo ---; find docs -type f | sort; echo ---; ls site/_docmd-search | head"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a41397a1a295b89a",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 178,
"ts": "2026-11-24T03:01:50.769Z",
"turn": 2,
"output": {
"content": [
{
"text": " M .gitignore\n?? docmd.config.json\n?? docs/\n?? package-lock.json\n?? package.json\n---\ndocs/api-reference/client.md\ndocs/changelog.md\ndocs/getting-started/installation.md\ndocs/getting-started/quick-start.md\ndocs/guides/configuration.md\ndocs/index.md\n---\nsearch-index.json\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a41397a1a295b89a",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
All good. site/ is gitignored so not shown in status. Containers rendered properly (steps, tabs, changelog). Validate passed.
Confirm single command, quick, not dev watch mode. Report.
Also note [ai] AI Assistant plugin ready for site even though not in config — it's a built-in default that renders offline; without projectId/BYOK key it won't function. Worth mentioning.
Let me not commit unless asked? The repo has untracked files. I'll leave uncommitted but mention. Actually maybe commit is nice? User didn't ask. I'll leave and mention.
Final summary with timings.
Confirmed: one one-shot command, no server, no watch mode. npx @docmd/core build ran to completion in ~1.7s wall (900ms–1.1s of actual compile) and exited. I never ran dev, serve, live, or mcp. Cloud Relay skipped entirely.
What I scaffolded in /sandbox/repo
docmd.config.json title/url/src/out, explicit sidebar nav, theme, layout, plugins
package.json scripts: docs:build / docs:validate / docs:dev (devDeps @docmd/core ^0.10.1)
docs/
index.md landing page: callout + grids/grid/card, audience table, machine-output list
getting-started/
installation.md tabs container (npm/pnpm/yarn), CDN block, warning callout
quick-start.md steps container (4 steps), info callout, cleanup
guides/configuration.md options table, env vars, danger callout, error-code table
api-reference/client.md mount()/Widget methods, event table, SSR entry point
changelog.md changelog + explicit ::: log entries, upgrade notes
.gitignore appended site/ and .tmp/
Content is a fictional "Acme Widget SDK" so the example is self-contained.
Build output (site/, 6.2 MB, gitignored)
site/index.html, 404.html, api-reference/, changelog/, getting-started/, guides/, assets/
site/llms.txt, llms-full.txt, llms.json ← LLM context
site/okf/ (okf.yaml, index.md, concepts/, _meta/) ← 6 concepts, Open Knowledge Format
site/sitemap.xml, robots.txt ← SEO
site/_docmd-search/search-index.json ← offline search, no external service or API keys
6 pages generated. I spot-checked the HTML: containers compiled correctly (docmd-tabs, step-item, docmd-container steps) and no raw ::: leaked into any page.
Verification
npx @docmd/core validate→All internal links and container source files are valid!- First build emitted one warning:
Unknown property "exclude" in config. I removed that key (it's a plugin-scoped/top-level nuance in 0.10.1) and rebuilt clean — zero warnings.
Two notes worth knowing
- The build log prints
[ai] AI Assistant plugin ready for siteeven though I did not configureplugins.ai. The widget shell is emitted, but it can't answer anything without either a server-side provider key or a Cloud RelayprojectId— exactly the OAuth/waitlist path you told me to skip. Harmless, just inert UI. enginedefaults to"js"(pure Node). There are optionalrust/pythonaccelerators, unnecessary at this size.
Nothing is committed yet — docmd.config.json, docs/, package.json, package-lock.json, and the .gitignore change are untracked/modified. Say the word and I'll commit them.
›Thinking…
Commit files. Then answer plainly.
Note: pricing — core is MIT free; cloud relay presented as free early access but not paywalled exactly — user said it's the paywalled part; I should be accurate but brief: no published paid tier anywhere; cloud relay currently free/early-access waitlist, no pricing page. Confirm plainly.
Commit: git add .gitignore docmd.config.json docs package.json package-lock.json. site/ ignored. Check git config user.
cd /sandbox/repo && git config user.name || git config user.email; git add .gitignore docmd.config.json docs package.json package-lock.json && git status --short
M .gitignore
M .gitignore A docmd.config.json A docs/api-reference/client.md A docs/changelog.md A docs/getting-started/installation.md A docs/getting-started/quick-start.md A docs/guides/configuration.md A docs/index.md A package-lock.json A package.json
Recorded tool call
{
"type": "tool_call",
"seq": 186,
"ts": "2026-11-24T03:02:13.531Z",
"name": "bash",
"turn": 3,
"input": {
"command": "cd /sandbox/repo && git config user.name || git config user.email; git add .gitignore docmd.config.json docs package.json package-lock.json && git status --short"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a787c8eef1e1e1f1",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 187,
"ts": "2026-11-24T03:02:13.531Z",
"turn": 3,
"output": {
"content": [
{
"text": "M .gitignore\nA docmd.config.json\nA docs/api-reference/client.md\nA docs/changelog.md\nA docs/getting-started/installation.md\nA docs/getting-started/quick-start.md\nA docs/guides/configuration.md\nA docs/index.md\nA package-lock.json\nA package.json\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-a787c8eef1e1e1f1",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
No git user configured (the command output nothing for name/email). Commit will fail. Set local identity.
cd /sandbox/repo && git config user.name "pi-agent" && git config user.email "pi-agent@localhost" && git commit -q -m "$(printf 'Add docmd example docs site for Acme Widget SDK\n\nScaffold a small Markdown docs tree (6 pages) with docmd.config.json:\n- explicit sidebar navigation, theme/layout settings\n- built-in plugins: search, llms, seo, sitemap, okf\n- containers: callouts, tabs, steps, grids/cards, changelog\n\nVerified with one-shot npx @docmd/core build (6 pages, ~1s) and\nnpx @docmd/core validate (all links valid). Output site/ is gitignored.\n')" && git log --oneline -2 && git show --stat --oneline HEAD | tail -12
a112855 Add docmd example docs site for Acme Widget SDK
a112855 Add docmd example docs site for Acme Widget SDK 9ebf5fb Initial workspace a112855 Add docmd example docs site for Acme Widget SDK .gitignore | 4 + docmd.config.json | 69 ++ docs/api-reference/client.md | 95 +++ docs/changelog.md | 67 ++ docs/getting-started/installation.md | 61 ++ docs/getting-started/quick-start.md | 66 ++ docs/guides/configuration.md | 71 ++ docs/index.md | 51 ++ package-lock.json | 1325 ++++++++++++++++++++++++++++++++++ package.json | 15 + 10 files changed, 1824 insertions(+)
Recorded tool call
{
"type": "tool_call",
"seq": 190,
"ts": "2026-11-24T03:02:18.037Z",
"name": "bash",
"turn": 3,
"input": {
"command": "cd /sandbox/repo && git config user.name \"pi-agent\" && git config user.email \"pi-agent@localhost\" && git commit -q -m \"$(printf 'Add docmd example docs site for Acme Widget SDK\\n\\nScaffold a small Markdown docs tree (6 pages) with docmd.config.json:\\n- explicit sidebar navigation, theme/layout settings\\n- built-in plugins: search, llms, seo, sitemap, okf\\n- containers: callouts, tabs, steps, grids/cards, changelog\\n\\nVerified with one-shot npx @docmd/core build (6 pages, ~1s) and\\nnpx @docmd/core validate (all links valid). Output site/ is gitignored.\\n')\" && git log --oneline -2 && git show --stat --oneline HEAD | tail -12"
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8311ae2055929cc2",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 191,
"ts": "2026-11-24T03:02:18.037Z",
"turn": 3,
"output": {
"content": [
{
"text": "a112855 Add docmd example docs site for Acme Widget SDK\n9ebf5fb Initial workspace\na112855 Add docmd example docs site for Acme Widget SDK\n .gitignore | 4 +\n docmd.config.json | 69 ++\n docs/api-reference/client.md | 95 +++\n docs/changelog.md | 67 ++\n docs/getting-started/installation.md | 61 ++\n docs/getting-started/quick-start.md | 66 ++\n docs/guides/configuration.md | 71 ++\n docs/index.md | 51 ++\n package-lock.json | 1325 ++++++++++++++++++++++++++++++++++\n package.json | 15 +\n 10 files changed, 1824 insertions(+)\n",
"type": "text"
}
]
},
"run_id": "cmwu3ulht001f0ive5lx8d77x",
"tool_id": "chatcmpl-tool-8311ae2055929cc2",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Now I'm ready to provide the final answers to the user's questions.
Committed: a112855 — 10 files, 1824 insertions (6 Markdown pages, docmd.config.json, package.json, package-lock.json, .gitignore). site/ stays gitignored. I set a local git identity (pi-agent) since none was configured.
Pricing — plainly
Correct: there is no paid tier for what you just used. @docmd/core v0.10.1 is MIT-licensed and free on npm; build, validate, dev, serve, deploy, mcp, the plugin ecosystem, and every output format (static site, search index, llms.txt, OKF, sitemap/SEO) cost nothing, with no license key, account, telemetry gate, or feature flag. Your only real costs are your own static hosting (or zero, on GitHub Pages) and — if you opt into plugins.ai — whatever your LLM provider charges. There is no pricing page anywhere on docmd.io/docs.docmd.io, and nothing in the build warns about licensed features. The Cloud side is early-access/waitlist-gated rather than published-paid, but per your instruction I'm not digging further there.
Long-term manageability — one line
Very easy: a single ~69-line JSON config (with comments) drives everything, nav can be auto-derived from the file tree so you can delete that block entirely, plugins are opt-in one-liners that auto-install at build time, builds are sub-second and idempotent, and validate gives you a cheap CI gate — the only friction is keeping @docmd/* versions in lockstep and the fact that docs live on GitHub/docs.docmd.io rather than in a stable versioned reference.
AX Fundamentals
23 checks. Open an area for details.
This check is a quick preview. Test more tasks and models with Gauge Agents.
Test your product with Gauge Agents