Skip to main content

docutils extension to insert stdout of given shell command

Project description

This package defines the shell directive, a Docutils extension which can insert the output of any shell command into your restructered text markup.

For example, this markup:

.. shell:: hg parent --template {rev}
           REVISION

.. shell:: date "+built on %a %d %b %Y at %X %Z"
           TIMESTAMP

Revision |REVISION|, |TIMESTAMP|

Will appear something like this:

Revision 5, built on Sun 14 Jun 2015 at 13:02:21 CDT

See http://pythonhosted.org/docutils_shell/ for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docutils_shell-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file docutils_shell-0.0.2.tar.gz.

File metadata

File hashes

Hashes for docutils_shell-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c2bd2202debca94a4d0e482af1f1e18eb6cc068d577c53a427315707d940b89b
MD5 53c5adc44398ec8b02e2b1946183d3f6
BLAKE2b-256 1945d97e730d2baa143070ced2a03cf8c595cd7cf6db53f7b87b25f641e16fa9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page