Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Css3image plugin for Sphinx

This plugin provides an enhanced image directive with additional CSS properties for Sphinx Documentation Generator.

Written by Fabrice Salvaire.

Installation

See sphinx-contrib for more details.

To install the plugin, you have to run these commands:

python setup.py build
python setup.py install

The PySpice source code is hosted at https://github.com/FabriceSalvaire/sphinx-css3image

To clone the Git repository, run this command in a terminal:

git clone git@github.com:FabriceSalvaire/sphinx-css3image

Usage

To load the plugin, you have to add it in your conf.py file.

extensions = [
  ...
  'sphinxcontrib.css3image',
  ]

Directives

This plugin adds a new directive css3image which is equivalent to the original, but with additional CSS properties:

.. css3image:: /_images/foo.png
  :margin: 10px 10px 10px 10px
  :margin-left: 10px
  :margin-right: 10px
  :margin-top: 10px
  :border-radius: 10px
  :transform-origin: 10px 10px
  :translate: 10px 10px
  :translateY: 10px
  :translateX: 10px
  :scaleX: 2.0
  :scaleY: 2.0
  :rotate: -10deg

Unit is mandatory for length value.

Metadata

Release files for sphinxcontrib-css3image 0.1dev-20140921

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-css3image 0.1dev-20140921
File Size Uploaded Provenance Actions
sphinxcontrib-css3image-0.1dev-20140921.tar.gz 8.8 kB Without provenance Details for sphinxcontrib-css3image-0.1dev-20140921.tar.gz

Release files / sphinxcontrib-css3image-0.1dev-20140921.tar.gz

Download URL sphinxcontrib-css3image-0.1dev-20140921.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a9bbb9033bacf7cab57a27e9bbeface3a36c5e68a7478809486bb0a36712df08
BLAKE2b-256 checksum
How to use checksums
0a4a9cd3d4fc7c1289ea9b57b5c8875625fefa4571267b840f191a35de0d814e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sphinxcontrib-css3image 0.1dev-20140921

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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