Skip to main content

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

Linux Test Status Windows Test Status macOS Test Status

PyPI

PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel

Anaconda

Conda - Package Version Conda - Platform

Activity

GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads

QA

CodeFactor Grade Flake8 Status mypy status

Other

License GitHub top language Requirements Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_jinja2_compat-0.4.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_jinja2_compat-0.4.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_jinja2_compat-0.4.1.tar.gz.

File metadata

  • Download URL: sphinx_jinja2_compat-0.4.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for sphinx_jinja2_compat-0.4.1.tar.gz
Algorithm Hash digest
SHA256 0188f0802d42c3da72997533b55a00815659a78d3f81d4b4747b1fb15a5728e6
MD5 84662d2b577e559a7f6165cacd4f8e39
BLAKE2b-256 439843313781f29e8c6c46fec907430310172d6f207e95e4fbea9289990fbbfe

See more details on using hashes here.

File details

Details for the file sphinx_jinja2_compat-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_jinja2_compat-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64ca0d46f0d8029fbe69ea612793a55e6ef0113e1bba4a85d402158c09f17a14
MD5 03da76be1af893683b5667fd7d5b7564
BLAKE2b-256 cec84fd58c1000d7f8f5572c507f4550d2e2d9741e500c68eb2e3da17cbe5a85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page