-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logo is missing in 0.287 Documentation #22817
Comments
Thanks for pointing this out. My guess is this issue probably occurred due to a recent sphinx upgrade which broke the config. The logo url definition seems to be in |
Looking at an older version of the docs, for example the 0.286 documentation, I find <a href="[#]" title="Presto 0.286 Documentation" class="md-nav__button md-logo">
<img src="[_static/logo.png]" alt=" logo" width="48" height="48">
</a> The difference in the HTML output is <img src="[_static/logo.png]" and <img src="_static/" @wanglinsong, could you look into this? Reproduce: https://prestodb.io/docs/current/ contrast with https://prestodb.io/docs/0.286/ |
In conf.py I find In the Doing a local build, I find logo.png is copied to Examining the source of any local page in <a href="#" title="Presto 0.288 Documentation" class="md-nav__button md-logo">
<img src="_static/" alt=" logo" width="48" height="48">
</a>
|
Read through the Sphinx Changelog and didn't see anything in particular. Editing my local requirements.txt and iterating up through sphinx versions from 5.x to 7.x, I found that html_logo is included in the build when So a workaround is to set I'd like to find why our html_logo doesn't work with |
In local doc build, manually edited the file target/html/installation.html to change the page source from to then refreshed the page in the browser, but the logo doesn't appear. |
It looks like someone else had this issue and fixed it, but required them to modify the theme: bashtage/sphinx-material#136 The current theme we are using is outdated and no longer maintained. It may be worth looking into a more actively maintained sphinx theme for the docs site. |
I took a stab at updating our theme: #22887 This fixes the logo issue and also uses a newer and more maintained sphinx theme for our docs. |
I see this piece of code in every HTML document under https://prestodb.io/docs/current/ (https://prestodb.io/docs/0.287/):
I looked into presto-docs/src/main/sphinx/ but couldn't figure out how this could happen.
The text was updated successfully, but these errors were encountered: