Open 72757373656c6c opened 8 months ago
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:
Describe the bug
Context
In conf.py, when footer_content_items is set to:
Expectation
I expect the theme and theme-version to be "Sphinx Book Theme":
Bug
But instead the theme and theme-version are PyData:
There were no console errors.
Problem
The sphinx-book-theme shows incorrect theme and theme_version. The correct theme and theme_version should be shown.
Reproduce the bug
In conf.py set the theme:
html_theme = "sphinx_book_theme"
In conf.py add
footer_content_items": ["copyright", "last-updated", "sphinx-version", "theme-version"]
to html_theme_options.In a terminal type
make clean ; O='-E -W --keep-going' make html
View the html output in a browser, specifically the footer content.
A workaround is to do the following:
In conf.py add
"footer_content_items": ["copyright", "last-updated", "sphinx-version", "extra-footer"]
Add
"extra_footer": '<p class="theme-version">Built with the <a href="https://sphinx-book-theme.readthedocs.io/en/stable">Sphinx Book Theme</a> 1.1.2.</p>'
to html_theme_options.List your environment
Environment