Sphinx-imgur

Latest version: v3.0.0

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

3.0.0

Added

- Python 3.6 through 3.10 support
- Implicit size and extension support for `.. imgur::`
- User customizable image and target URL formatters
- LaTeX support for images
- [OpenGraph](https://sphinxext-opengraph.readthedocs.io) support
- `.. imgur-figure::` directive

Removed

- Title and description roles
- Support for albums in image directive
- `imgur_target_default_gallery` and `target_gallery` options
- `imgur_target_default_largest` and `target_largest` options
- `imgur_target_default_page` and `target_page` options
- Caching and querying Imgur's API
- Auto-detecting size, extension/type, and album images
- Dropped Python 2.7 and <3.6 support
- Imgur ID checks (no more babysitting users)

Fixed

- Support for Sphinx 1.7 through 4.3

Changed

- Refactored `.. imgur-image::` directive and aliased it to `.. imgur::`, no longer reimplementing the node
- `:hide_post_details:` now a flag instead of taking a boolean argument
- Renamed project from `sphinxcontrib-imgur` to `sphinx-imgur`
- Re-licensed from MIT to BSD 2-Clause
- Refactored tests using sphinx.testing

2.0.1

Changed

- Adding newlines after imgur-image image/a HTML tags. Without those newlines Chrome doesn't display gaps between images on
the same line.

2.0.0

Added

- Python 3.5 support (Linux/OS X and Windows).
- `imgur-image` directive.
- `imgur_target_default_gallery`, `imgur_target_default_largest`, and `imgur_target_default_page` conf variables.

Changed

- Rewrote most of the library. Previous code was ugly, complicated, and hard to follow.

Removed

- PyPy support.
- `imgur_api_test_response` conf variable.

1.0.0

Added

- Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.