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.

Files for docutils_shell, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size docutils_shell-0.0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page