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
When building documentation with the template-repo-python, the docs/source/conf.py specifies a html_context. However, the html_context feature is available only with Sphinx ≥ 0.5. The setup.cfg doesn't give a version specification for sphinx. Depending on your virtual environment and the system Python from whence it came, it may use an older version of Sphinx that's incompatible.
The setup.cfg should stipulate a higher version of Sphinx.
🐛 Describe the bug
When building documentation with the
template-repo-python
, thedocs/source/conf.py
specifies ahtml_context
. However, thehtml_context
feature is available only with Sphinx ≥ 0.5. Thesetup.cfg
doesn't give a version specification forsphinx
. Depending on your virtual environment and the system Python from whence it came, it may use an older version of Sphinx that's incompatible.The
setup.cfg
should stipulate a higher version of Sphinx.(Actually, the fact there are no version specifications for any of the dependencies listed is a version-maximizing dependency confusion attack just waiting to happen 😮)
📜 To Reproduce
sphinx-quickstart
to generate make filesmake.bat
todocs
folder of a newly created repo (with "template-repo-python" template).make.bat html
build/html/index.html
🕵️ Expected behavior
Good clean HTML docs.
📚 Version of Software Used
Windows:
pip list
:🩺 Test Data / Additional context
N/A.
🏞Screenshots
🖥 System Info
Windows 10 (21H2)
🦄 Related requirements
⚙️ Engineering Details
This issue can be fixed by using
html_css_files
:The text was updated successfully, but these errors were encountered: