Skip to content

Commit 6661147

Browse files
committed
jinga error is appeared while buildig in readthedocs
error: AttributeError: module 'jinja2' has no attribute 'contextfilter' trial solution: readthedocs/readthedocs.org#9064 (comment) made requirements.txt with: https://github.com/bndr/pipreqs
1 parent d5d00e3 commit 6661147

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.readthedocs.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ mkdocs:
1515
configuration: mkdocs.yml
1616

1717
# Optionally declare the Python requirements required to build your docs
18-
# python:
19-
# install:
20-
# - requirements: docs/requirements.txt
18+
python:
19+
install:
20+
- requirements: docs/requirements.txt

docs/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
jinja2<3.1.0

0 commit comments

Comments
 (0)