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
I expect the theme and theme-version to be "Sphinx Book Theme":
Built with the Sphinx Book Theme 1.1.2.
Bug
But instead the theme and theme-version are PyData:
Built with the PyData Sphinx Theme 0.15.2.
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
Sphinx 7.2.6
sphinx-book-theme 1.1.2
pydata-sphinx-theme 0.15.2
myst-parser 2.0.0
python 3.11.6-1
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
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).
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
The text was updated successfully, but these errors were encountered: