A Sphinx extension that allows running shell commands and including their output in documentation. Version 0.2.0 (latest), stable release. No breaking changes reported.
pip install sphinxcontrib-runcmdNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Add the extension to your Sphinx project and use the runcmd directive.
Use :stderr: flag to include stderr output.
Use absolute paths or set environment via :env: option.