Skip to content

Commit e7301ac

Browse files
authored
docs: Don't need the suggestion to upgrade Jinja if we ensure it
(as a project dependency) PR #284: #284
1 parent fba7298 commit e7301ac

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

docs/troubleshooting.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -135,29 +135,6 @@ Make sure the referenced object was both collected and rendered: verify your sel
135135

136136
For false-positives, you can wrap the text in backticks (\`) to prevent `mkdocstrings` from trying to process it.
137137

138-
## WindowsPath object is not iterable
139-
140-
If you get a traceback like this one:
141-
142-
```
143-
...
144-
File "c:\users\me\appdata\local\continuum\anaconda3\lib\site-packages\mkdocstrings\handlers\python.py", line 244, in get_handler
145-
return PythonHandler(collector=PythonCollector(), renderer=PythonRenderer("python", theme))
146-
File "c:\users\me\appdata\local\continuum\anaconda3\lib\site-packages\mkdocstrings\handlers\__init__.py", line 124, in __init__
147-
self.env = Environment(autoescape=True, loader=FileSystemLoader(theme_dir))
148-
File "c:\users\me\appdata\local\continuum\anaconda3\lib\site-packages\jinja2\loaders.py", line 163, in __init__
149-
self.searchpath = list(searchpath)
150-
TypeError: 'WindowsPath' object is not iterable
151-
```
152-
153-
Try upgrading your installed version of Jinja2:
154-
155-
```
156-
pip install -U jinja2
157-
```
158-
159-
Version 2.11.1 seems to be working fine.
160-
161138
---
162139

163140
## Python specifics

0 commit comments

Comments
 (0)