Skip to content

Commit 9ef3710

Browse files
committed
Fix compatibility between older Sphinx and newer jinja2
1 parent 6ab7832 commit 9ef3710

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

formate.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ known_third_party = [
4242
"pytest_randomly",
4343
"pytest_timeout",
4444
"sphinx",
45+
"sphinx_jinja2_compat",
4546
"sphinx_toolbox",
4647
"tabulate",
4748
]

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ show_error_codes = true
5353
[tool.snippet-fmt]
5454
directives = [ "code-block",]
5555

56+
[tool.dep_checker]
57+
allowed_unused = [ "sphinx_jinja2_compat",]
58+
5659
[tool.importcheck.config]
5760
show = true
5861

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
domdf-python-tools>=2.7.0
1+
domdf-python-tools>=3.2.2.post1
22
sphinx>=3.0.3
3+
sphinx-jinja2-compat>=0.1.2
34
tabulate>=0.8.9

0 commit comments

Comments
 (0)