doccmd2026.09.16.1

Run tools against code blocks in documentation

WindowsSystem ToolsOpen source

v2026.09.16.1

31.4 MBscanned clean

Verify your download

Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.

About

doccmd runs linters, formatters, and other commands against code blocks embedded in documentation, allowing examples to be checked alongside the files that explain them. It adds padding before invoking a command, so diagnostics retain line numbers that correspond to the original documentation file. When a tool does not handle padded input correctly, the --no-pad-file and --no-pad-groups options supply the original code without padding at file or group level.

Commands can run in parallel, and code blocks can be organized through automatic file-level grouping, grouping directives, or MDX attributes, which is useful when formatters must process related blocks together. File selection and linter-ignore settings provide additional control over which documentation is examined. The supported formats include reStructuredText and Markdown; .md files are interpreted as MyST by default, while --myst-extension and --markdown-extension support explicit extension choices.

MDX, Djot, and Norg files work directly, with --mdx-extension, --djot-extension, and --norg-extension available for additional suffixes. For interactive Python examples marked as pycon, doccmd removes the >>> and ... prompts before running the command and restores them afterward while preserving output lines. Documentation teams can also use it as a pre-commit hook to catch example problems before changes are committed.

This open-source System Tools utility is published by Adam Dangoor for x64 Windows 8 or later and Windows Server 2012 or later. Version 2026.09.16.1 uses click-compose 2026.09.16.1 and its multi_callback API to validate options.

Requires Windows 8+ · Server 2012+ · Architecture: x64

What's new in v2026.09.16.1

2026.09.16.1 - Use click-compose 2026.09.16.1 and its multi_callback API for option validation.

Details

PlatformWindows
CategorySystem Tools
LicenseOpen source
PricingFree
Package IDadamtheturtle.doccmd
Latest versionv2026.09.16.1
File typeEXE
Minimum OSWindows 8+ · Server 2012+
Architecturex64
TypePortable — no installation required
File size31.4 MB
Published11/18/2026

SHA-256

Does this still work for you?

Works (0)Doesn't work (0)Sign in to vote

Badge for your website

Developers can show that doccmd is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.

doccmd on MirrorNest
HTML
<a href="https://mirrornest.com/software/doccmd-6a5bf3f2"><img src="https://mirrornest.com/badge/doccmd-6a5bf3f2.svg" alt="doccmd on MirrorNest" height="20"></a>
Markdown
[![doccmd on MirrorNest](https://mirrornest.com/badge/doccmd-6a5bf3f2.svg)](https://mirrornest.com/software/doccmd-6a5bf3f2)

Reviews

No reviews yet — be the first.

Leave a review

Sign in to post as a verified member instead of anonymously.

doccmd alternatives