← Package directory
Available on winget

Install doccmd

Run tools against code blocks in documentation

Install with winget
winget install --id adamtheturtle.doccmd
Upgrade
winget upgrade --id adamtheturtle.doccmd
Uninstall
winget uninstall --id adamtheturtle.doccmd

About doccmd

Run tools against code blocks in documentation. This allows you to run linters, formatters, and other tools against code examples in your documentation files.

What's new in 2026.07.19

2026.07.19 - Reject --temporary-file-name-template values that could resolve outside the temporary directory, preventing accidental overwrite or deletion of unrelated files. See #1211 <https://github.com/adamtheturtle/doccmd/issues/1211>__. - Support configured file extensions with more than one dot (for example --rst-extension=.test.rst) for both direct files and directory discovery (#1212 <https://github.com/adamtheturtle/doccmd/issues/1212>_). - Reject an empty or malformed --command value with a usage error instead of crashing (#1213 <https://github.com/adamtheturtle/doccmd/issues/1213>_). - Always generate a valid Python module name for temporary files so linters do not flag doccmd's own filenames (#1214 <https://github.com/adamtheturtle/doccmd/issues/1214>_). - Support UTF-16 documents by detecting newlines on the decoded text (#1215 <https://github.com/adamtheturtle/doccmd/issues/1215>_). - Reject an empty --exclude pattern with a usage error instead of crashing.

Read release notes

Version history

Version Updated Notes
2026.07.19 Unknown 2026.07.19 - Reject --temporary-file-name-template values that could resolve outside the temporary directory, preventing accidental overwrite or deletion of unrelated files. See #1211 <https://github.com/adamtheturtle/do...
2026.05.25 Unknown 2026.05.25 No significant changes.
2026.05.19 Unknown 2026.05.19 (2026-05-19) Bug Fixes - use pull_request.user.login instead of github.actor for bot check (fixes adamtheturtle/literalizer#146) (4d61fdf) Continuous Integration - bump astral-sh/setup-uv from v7 to v8.1.0 (e1...
2026.05.16 Unknown 2026.05.16 (2026-05-16) Bug Fixes - use pull_request.user.login instead of github.actor for bot check (fixes adamtheturtle/literalizer#146) (4d61fdf) Continuous Integration - bump astral-sh/setup-uv from v7 to v8.1.0 (e1...
2026.05.06 Unknown 2026.05.06 (2026-05-06) Bug Fixes - use pull_request.user.login instead of github.actor for bot check (fixes adamtheturtle/literalizer#146) (4d61fdf) Continuous Integration - bump astral-sh/setup-uv from v7 to v8.1.0 (e1...
2026.03.26.2 Unknown 2026.03.26.2 (2026-03-26) Bug Fixes - use pull_request.user.login instead of github.actor for bot check (fixes adamtheturtle/literalizer#146) (4d61fdf)
2026.03.02 Unknown 2026.03.02 (2026-03-02) Reverts - Revert "Fix Nuitka action parameter: use 'mode: onefile' instead of 'onefile:…" (#745) (c9e130a), closes #745 - Revert "Switch from PyInstaller to Nuitka for binary builds (#743)" (#746)...
2026.03.01 Unknown 2026.03.01 (2026-03-01) Reverts - Revert "Fix Nuitka action parameter: use 'mode: onefile' instead of 'onefile:…" (#745) (c9e130a), closes #745 - Revert "Switch from PyInstaller to Nuitka for binary builds (#743)" (#746)...
2026.02.27.1 Unknown 2026.02.27.1 (2026-02-27) Reverts - Revert "Fix Nuitka action parameter: use 'mode: onefile' instead of 'onefile:…" (#745) (c9e130a), closes #745 - Revert "Switch from PyInstaller to Nuitka for binary builds (#743)" (#74...
2026.02.27 Unknown 2026.02.27 (2026-02-27) Reverts - Revert "Fix Nuitka action parameter: use 'mode: onefile' instead of 'onefile:…" (#745) (c9e130a), closes #745 - Revert "Switch from PyInstaller to Nuitka for binary builds (#743)" (#746)...
2026.02.26 Unknown 2026.02.26 (2026-02-26) Reverts - Revert "Fix Nuitka action parameter: use 'mode: onefile' instead of 'onefile:…" (#745) (c9e130a), closes #745 - Revert "Switch from PyInstaller to Nuitka for binary builds (#743)" (#746)...
2026.02.15 Unknown 2026.02.15 (2026-02-15) Reverts - Revert "Fix Nuitka action parameter: use 'mode: onefile' instead of 'onefile:…" (#745) (c9e130a), closes #745 - Revert "Switch from PyInstaller to Nuitka for binary builds (#743)" (#746)...
2026.01.31.3 Unknown 2026.01.31.3 (2026-01-31) Reverts - Revert "Fix Nuitka action parameter: use 'mode: onefile' instead of 'onefile:…" (#745) (c9e130a), closes #745 - Revert "Switch from PyInstaller to Nuitka for binary builds (#743)" (#74...
2026.01.23.4 Unknown Release notes