Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
sphinxcontrib-images
Advanced tools
sphinxcontrib-images (formerly sphinxcontrib-fancybox <https://pypi.python.org/pypi/sphinxcontrib-fancybox>
_).
Easy thumbnails in Sphinx documentation (focused on HTML).
Documentation <https://sphinxcontrib-images.readthedocs.io>
_
Repository (GitHub) <https://github.com/sphinx-contrib/images/>
_
PyPI <https://pypi.python.org/pypi/sphinxcontrib-images/>
_
GitHub actions <https://github.com/sphinx-contrib/images/actions/workflows/ci.yml>
_
.. image:: https://github.com/sphinx-contrib/images/actions/workflows/ci.yml/badge.svg :target: https://github.com/sphinx-contrib/images/actions/workflows/ci.yml :alt: GitHub Actions
Show thumbnails instead of full size images inside documentation (HTML).
Ability to zoom/enlarge picture using LightBox2 (HTML).
Ability to group pictures
Download remote pictures and keep it in cache (if requested)
Support for other formats (latex, epub, ... - fallback to image directive)
Easy to extend (add own backend in only few lines of code)
TODO ^^^^
Instalation through pip: ::
pip install sphinxcontrib-images
or through the GitHub: ::
pip install git+https://github.com/sphinx-contrib/images
Next, you have to add extension to conf.py
in your Sphinx project. ::
extensions = [
…
'sphinxcontrib.images',
…
]
Example: ::
.. thumbnail:: picture.png
You can also override the default image
directive provided by Sphinx.
Check the documentation for all configuration options.
If you have any suggstions, patches, problems - please use
GitHub Issues <https://github.com/sphinx-contrib/images/issues>
_.
FAQs
Sphinx extension for thumbnails
We found that sphinxcontrib-images demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.