🐛 Describe the bug
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.
(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
- Install sphinx on Windows:
- run
sphinx-quickstart to generate make files
- copy
make.bat to docs folder of a newly created repo (with "template-repo-python" template).
- run
make.bat html
- open
build/html/index.html
- The page looks wrong. No CSS are applied.
🕵️ Expected behavior
Good clean HTML docs.
📚 Version of Software Used
Windows:
C:\>sphinx-build --version
sphinx-build 4.4.0
C:\>sphinx-quickstart --version
sphinx-quickstart 4.4.0
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 :
html_css_files = [
'theme_overrides.css',
]
🐛 Describe the bug
When building documentation with the
template-repo-python, thedocs/source/conf.pyspecifies ahtml_context. However, thehtml_contextfeature is available only with Sphinx ≥ 0.5. Thesetup.cfgdoesn'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.cfgshould 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-quickstartto generate make filesmake.battodocsfolder of a newly created repo (with "template-repo-python" template).make.bat htmlbuild/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: