This package adds the proceduralimage directive to Sphinx.
It allows a python code snippet to be supplied, that generates an image, that will be included in the documentation.
It adds a single directive, proceduralimage. It takes a block of python code, executes the code and extracts the local variables image_data and alt. image_data will be saved to a .png in _images and embedded and the alt variable will be used as the images alt tag.
Acknowledgements
The code is based almost entirely on sphinx.ext.graphviz.
Metadata
Release files for sphinxcontrib-proceduralimage 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinxcontrib-proceduralimage-0.2.tar.gz | 3.0 kB | Details |
Release files / sphinxcontrib-proceduralimage-0.2.tar.gz
| Download URL | sphinxcontrib-proceduralimage-0.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da5c4063494767bccdd4a0c5e3aef9d2ca56962518ecd503ae1d555032f5d597
|
|
BLAKE2b-256 checksum How to use checksums |
2079dbd528a9d9052c43d7e56ff0d747d4da8894cc0b3bd5c9e57b44ee55433d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |