-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
🐛 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:
pip install -U sphinx
- run
sphinx-quickstartto generate make files - copy
make.battodocsfolder 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:
Sphinx 4.4.0
🩺 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',
]
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
ToDo
