{"categories":[{"label":"Documentation","url":"https://skillfed.io/packages/category/documentation"},{"label":"Sphinx","url":"https://skillfed.io/packages/category/documentation-sphinx"},{"label":"Documentation","url":"https://skillfed.io/packages/category/software-development-documentation"}],"enrichment":{"capability":"Patches Jinja2 v3 to restore compatibility with earlier Sphinx versions and fixes some Sphinx versions on Python 3.10.","skillfed_tags":["sphinx-plugin","compatibility-shim"],"use_cases":["Fix Sphinx documentation builds that fail after upgrading to Jinja2 v3","Run Sphinx on Python 3.10 when using Sphinx versions that have compatibility issues","Maintain documentation builds across multiple Sphinx versions without manual patching","Ensure legacy Sphinx projects continue to work with modern Jinja2 releases"],"what_it_does":"sphinx-jinja2-compat is a compatibility shim that automatically patches Jinja2 v3 when imported, allowing it to work with Sphinx versions that were built for earlier Jinja2 releases. It also addresses issues where some Sphinx versions fail to run correctly on Python 3.10. The patches are applied transparently at import time and can be disabled by setting the environment variable NO_SPHINX_JINJA2_COMPAT to 1.\n\nThe package depends on jinja2, markupsafe, and standard-imghdr, and is designed to integrate seamlessly into Sphinx documentation builds. It's classified as Alpha but is actively maintained and supports Python 3.6 through 3.13, including both CPython and PyPy implementations.","worth_installing":"Yes, if you are using Sphinx with Jinja2 v3 and encounter compatibility errors, or if you need Sphinx to work on Python 3.10. The package is actively maintained, has no known vulnerabilities, and installs with low friction. Install only if you actually face the compatibility issues it addresses\u2014it's a targeted fix, not a general dependency."},"id":"sphinx-jinja2-compat","links":{"html":"https://skillfed.io/packages/sphinx-jinja2-compat","md":"https://skillfed.io/packages/sphinx-jinja2-compat.md","pypi":"https://pypi.org/project/sphinx-jinja2-compat/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-08-06","license_spdx":null,"license_treatment":"permissive","name":"sphinx-jinja2-compat","python_support":"supports_current","summary":"Patches Jinja2 v3 to restore compatibility with earlier Sphinx versions."},"popularity":{"monthly_downloads":658656,"position":5468,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.1"}
