-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Docs] New PyData Sphinx theme update bugs #37947
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
Comments
You need to do a hard refresh .. (for me ctrl-F5), and then it all looks nice (we had the same issue a while ago with the documentation version switcher: #37357). It's a bit annoying though |
Oh, I can not believe I already forgot about that! It works nicely for me now (no overlapping, no white background in the dark mode grid cards). Should we keep this open if anything else pops up or do we close it? |
Let's maybe keep this issue open as the place to gather feedback or (design) bugs with the new theme. |
Regarding the version switcher - if I look at the theme web page the "Choose version" is displayed for stable version and "dev" for development. Older versions are using the old theme so can't tell. Will check if that is something we can change on our side. And for the header size, I agree. Will also add it to the TODO list on this issue description and see what I can do to fix it. |
Well, besides the vertical footprint, the problem is that it hides part of the side navigation panels as soon as one scrolls down. |
Yes, I think that happens in the original theme also - could you check the picture I added in the previous comment just to check I am thinking of the correct part of the side navigation being hidden? |
I never encountered it in the original theme. |
Ahah, yes, exactly. |
If the header hides part of the sidebar when it becomes larger because of wrapping around on a second line, that sounds as a bug in the theme itself, IMO, and something we can report upstream. |
Oh, you are actually right Antoine. In our dev docs the sidebar gets hidden very soon when scrolling the page (not at the start, if you do not scroll down though!). But in the original theme it only happens when one gets to the end of the content. I guess this actually does happen because of the increased header height due to our logo. I am not sure if this is actually a bug or not, but will trust Joris on it. We could also use a different logo ourselves (for example: Chevron-only). In this case there will be no need to resize the header. In the current case, when using horizontal version of the logo), the logo gets very small and Apache part of it is not readable if the size is not increased. |
No, sorry, wrong again. I had a bigger window and the top navbar was only single header 🤦♀️ It actually happens in the original theme also - as is visible on the pictures I added before. |
Agree, will add an issue upstream 👍 |
Upstream issue for the hidden sidebar top item when scrolling: pydata/pydata-sphinx-theme#1493 |
I have opened a PR for the first item on the list (Change header size (top nav bar) for smaller screens) here: #38148. I haven't found a solution for the second item on the list (Version switcher button in the nav bar prints "Choose version" instead of the version you are currently have open (dev in our case)) so I have opened an issue upstream: pydata/pydata-sphinx-theme#1500. In case we do not find a solution for the version switcher text today, I would suggest to merge the PR for the header height on smaller screens to have it in the 14.0.0 release. |
We could maybe also rename "Specifications and Protocol" to just "Specifications", that also makes the header a bit shorter, and thus less quickly to wraparound. |
Closing this issue as both reported bugs have been fixed: |
Describe the bug, including details regarding any error messages, version, and platform.
The Sphinx theme we have been using (PyData Sphinx Theme) has been pinned to an older version for a while now and with the PR merged this week we have updated the code and are now using version 0.14.0 for the dev docs.
There are some issues that need to be fixed by the code freeze in 2 weeks. Will keep a list of those in this issue. Feel free to comment here and add extra bugs you might come across.
List of issues on the new dev site:
Component(s)
Documentation
The text was updated successfully, but these errors were encountered: