Skip to main content

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)

Source distribution for sphinxcontrib-proceduralimage 0.2
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

Release history Release notifications | RSS feed

This release

0.2 This release

1 release 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