Skip to content

Add docs-that-run to Plugins - #266

Open
gfr211306-crypto wants to merge 2 commits into
RoggeOhta:mainfrom
gfr211306-crypto:patch-1
Open

gfr211306-crypto wants to merge 2 commits into
RoggeOhta:mainfrom
gfr211306-crypto:patch-1

Conversation

@gfr211306-crypto

Copy link
Copy Markdown

Adds docs-that-run to the Plugins section.

It includes a Codex plugin manifest and skill for validating explicitly marked Python and Bash examples in Markdown. Blocks share a working directory, and JSON reports provide failure details for diagnosis.

I maintain this project.

docs-that-run is a Codex plugin (`.codex-plugin/plugin.json` + `skills/docs-that-run/SKILL.md`) that validates the runnable examples in a README.

Unique value: it runs Bash as well as Python, and every block in a run shares one working directory — so a multi-step quickstart (`pip install X` → `X init` → `X run`) is validated as a sequence. Snippet-level doc testers cannot do this.

It emits a JSON report even when the check fails, so the failing block, its exit status and its stderr can be handed straight to Codex for diagnosis.

Published on PyPI and the GitHub Actions Marketplace. In production use in CI by one project so far.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant