You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to add sphinx documentation to my project https://github.com/jwg4/flask-selfdoc (so the documentation is currently totally minimal. I was able to build the docs by running sphinx-build, however after adding "pallets_sphinx_themes" as an extension in docs/conf.py, setting the theme to 'flask' and installing pallets-sphinx-themes, I can no longer build the docs, as follows:
jack@yyy:~/flask-selfdoc $ poetry run sphinx-build -b html docs/ docs/_build/html
Running Sphinx v4.4.0
Extension error:
Could not import extension pallets_sphinx_themes (exception: cannot import name 'pass_context' from 'jinja2' (/home/jack/.cache/pypoetry/virtualenvs/flask-selfdoc-vTLo-IC6-py3.8/lib/python3.8/site-packages/jinja2/__init__.py))
I'm using Python 3.8.9, the attached poetry.lock shows all my dev environment dependencies including sphinx, jinja and this project.
Hi, I am trying to add sphinx documentation to my project https://github.com/jwg4/flask-selfdoc (so the documentation is currently totally minimal. I was able to build the docs by running sphinx-build, however after adding "pallets_sphinx_themes" as an extension in
docs/conf.py
, setting the theme to 'flask' and installing pallets-sphinx-themes, I can no longer build the docs, as follows:I'm using Python 3.8.9, the attached
poetry.lock
shows all my dev environment dependencies including sphinx, jinja and this project.poetry.lock.txt
I can try and reproduce minimally without all the other packages, but I wanted to check first in case I'm doing something obviously wrong. Thanks!
The text was updated successfully, but these errors were encountered: