Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

https://sphinxcontrib-programoutput2.readthedocs.org

A Sphinx extension to literally insert the output of arbitrary commands into documents, helping you to keep your command examples up to date.

Installation

Install this extension from PyPI:

pip install sphinxcontrib-programoutput2

The extension requires Sphinx 3.0.0 and Python 3.6 or newer.

Usage

Just add this extension to extensions:

extensions = ['sphinxcontrib.programoutput']

Now you’ve two new directives program-output and command-output to insert the output of programs. The former just inserts the output:

.. program-output:: python -V

Output:

Python 3.9.0

The latter directive mimics a shell session, and is intended to show examples:

.. command-output:: python -V

Output:

$ python -V
Python 3.9.0

Please refer to the documentation for comprehensive information about usage and configuration of this extension.

Development and Support

Please refer to the documentation for information on support and the development process.

Release files for sphinxcontrib-programoutput2 2.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxcontrib-programoutput2 2.0a1
File Size Uploaded
sphinxcontrib-programoutput2-2.0a1.tar.gz 28.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinxcontrib-programoutput2 2.0a1
File Interpreter ABI Platform
sphinxcontrib_programoutput2-2.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 54.0 kB

Release files / sphinxcontrib-programoutput2-2.0a1.tar.gz

Download URL sphinxcontrib-programoutput2-2.0a1.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aa8e17aaa2c8a43e134217d115b8c38a994c797e1c7e1ff7cce81d0dae104cc8
BLAKE2b-256 checksum
How to use checksums
badc9781d6b6c5d958ab1acb63a218af2d6acc23e92cbef460a03d03ec64dffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / sphinxcontrib_programoutput2-2.0a1-py3-none-any.whl

Download URL sphinxcontrib_programoutput2-2.0a1-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
466e6aeeaca10e3dd07582664e42904dfd88329b6c4c4b98dc78715e9b44a0a1
BLAKE2b-256 checksum
How to use checksums
e6db5abb82d6195ecaa3e6f024a2426259ebcb3db62689163a6a47c8a01dda87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page