Open yamelsenih opened 2 years ago
@yamelsenih Please do this. For sphinx<4
, errors are occurring with deprecated jinja2
imports:
ImportError: cannot import name 'environmentfilter' from 'jinja2'
Updating sphinx
in the Docker file should help resolve this. Feel free to reference my Issue #49 for this if you like.
+1
@ammaraskar Could we update the sphinx
base image please?
I found a workaround for now.
- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
pre-build-command: "pip install 'sphinx==7.1.2' --force-reinstall"
docs-folder: "docs/"
This should upgrade the sphinx version.
Just a minor change for update the sphinx base image to 5.0.2
We are using this change here