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
Release history Release notifications | RSS feed
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)
File details
Details for the file docutils_shell-0.0.2.tar.gz
.
File metadata
- Download URL: docutils_shell-0.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2bd2202debca94a4d0e482af1f1e18eb6cc068d577c53a427315707d940b89b |
|
MD5 | 53c5adc44398ec8b02e2b1946183d3f6 |
|
BLAKE2b-256 | 1945d97e730d2baa143070ced2a03cf8c595cd7cf6db53f7b87b25f641e16fa9 |