Skip to main content

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.

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 file

0.0.1

1 file

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