sphinxext-photofinish 0.1.4
pip install sphinxext-photofinish==0.1.4
Released:
Sphinx Extension that creates responsive images.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: WPILib
- Requires: Python >=3.6
Classifiers
- Environment
- Framework
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Project description
sphinxext-photofinish
Photofinish is a sphinx extension for creating responsive images to your Sphinx site. This has several benefits:
- Lower bandwidth cost for browsers and devices that don't need the higher resolution version
- Higher resolution images for higher resolution devices
Photofinish can dramatically increase the loading time of your Sphinx website.
Installation
python -m pip install sphinxext-photofinish
Usage
Just add sphinxext-photofinish to your extensions list in your conf.py
extensions = [
"sphinxext.photofinish",
]
Configuration
Photofinish adds several conf.py options that you can optionally configure:
max_viewport_width - This is maximum "viewable" size of images in your documentation. Typically, it's set to the width of your body. Responsive images are generated up to double of this value. Default is 1000.
width_min - Minimum width of images to generate. Default is 500.
width_step - The resolution to iterate over for generating images. EX: 500, 800, 1100. Default is 300.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: WPILib
- Requires: Python >=3.6
Classifiers
- Environment
- Framework
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters https://pypi.org/project/sphinxext-photofinish/0.1.4/#files
Showing 1 of 1 file.
File details
Details for the file sphinxext-photofinish-0.1.4.tar.gz.
File metadata
- Download URL: sphinxext-photofinish-0.1.4.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35fab03cc14eef2d575f53202323f62f8f8e0b5b730283a7704a3f869614b388
|
|
| MD5 |
d51ee69cac63bfa08a48504f713bbbc3
|
|
| BLAKE2b-256 |
7868c7c0436690fadbd3be5b2d537fca4ad5afe1a830124451fa6c17e40b8edc
|
File details
Details for the file sphinxext_photofinish-0.1.4-py3-none-any.whl.
File metadata
- Download URL: sphinxext_photofinish-0.1.4-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d2578cedd2ee5b6f28bde02e2db3a4b21f5206e1cbc037e19cb3df06ae9681
|
|
| MD5 |
e6af841e35398876aa60734187f63b2a
|
|
| BLAKE2b-256 |
74d0a49d79bb41e6e05518918994d316d5b6ffa92550235f627645d98116543c
|