Patches Jinja2 v3 to restore compatibility with earlier Sphinx versions.
Project description
Patches Jinja2 v3 to restore compatibility with earlier Sphinx versions.
Also makes some Sphinx versions work correctly on Python 3.10.
The patches can be disabled by setting the environment variable NO_SPHINX_JINJA2_COMPAT to 1. (v0.2.0 and newer only)
Tests |
|
---|---|
PyPI |
|
Anaconda |
|
Activity |
|
QA |
|
Other |
Installation
sphinx-jinja2-compat can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install sphinx-jinja2-compat
To install with conda:
First add the required channels
$ conda config --add channels https://conda.anaconda.org/conda-forge $ conda config --add channels https://conda.anaconda.org/domdfcoding
Then install
$ conda install sphinx-jinja2-compat
Project details
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
File details
Details for the file sphinx_jinja2_compat-0.3.0.tar.gz
.
File metadata
- Download URL: sphinx_jinja2_compat-0.3.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c1590b275f42e7a654e081db5e3e5fb97f515608422bde94015ddf795dfe7c |
|
MD5 | 7834135e0a6eb6b3e8db7b8ef38cca10 |
|
BLAKE2b-256 | 26df27282da6f8c549f765beca9de1a5fc56f9651ed87711a5cac1e914137753 |
File details
Details for the file sphinx_jinja2_compat-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: sphinx_jinja2_compat-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1e4006d8e1ea31013fa9946d1b075b0c8d2a42c6e3425e63542c1e9f8be9084 |
|
MD5 | 20e10007c4a1935701a122747995541b |
|
BLAKE2b-256 | 6f422fd09d672eaaa937d6893d8b747d07943f97a6e5e30653aee6ebd339b704 |