-
Notifications
You must be signed in to change notification settings - Fork 202
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
Wrong content section in the sidebar #545
Comments
I am noticing this too with v0.3.2. Have you found any way to resolve this @mathbunnyru? |
No, I haven’t. But I didn’t actually try to find it, because web is definitely not my area of expertise. |
It seems that the Was this present in any of the previous versions? I just started using this theme. |
Clicking on one of the entries in the menu positions you exactly 12 pixels above the chosen section. |
Currently, in the body tag of each HTML file the Bootstrap Scrollspy data-offset parameter is set to "60". By changing this to "73" it works as expected, but there is some jittering. The optimal value seems to be "80". |
Me as well, we've only started using it quite recently and the old versions don't work well for us for another reason. @haklc could you make a PR changing this value of Bootstrap Scrollspy? @choldgraf may I ask you to take a look here? |
This is now fixed upstream, we just need to wait for a release then update here. |
Great, thank you! |
When is the next release expected? I'd love to use this theme but I cannot manually fix this value after HTML files are generated on Read the Docs. |
There's a release candidate for the upstream theme out now (https://github.com/pydata/pydata-sphinx-theme/releases/tag/v0.9.0rc1) and then it's a question of doing the necessary changes to make this theme support it. No promises on timeline though, but hopefully it shouldn't be too long. |
The upstream new version has been released 🎉 |
Any news as to when a newer version of pydata-sphinx-theme will be integrated into sphinx-book-theme? |
Yep this will be closed by the following PR and we'll get a release candidate out soon after that: |
I think this works much better now, but subtopic links are a bit broken. When I visit this page, it doesn't show I've used just released rc version: jupyter/docker-stacks#1855 |
good catch - fixing it in: |
Describe the bug
context
I open https://sphinx-book-theme.readthedocs.io/en/stable/tutorials/get-started.html#add-a-source-repository-button-to-your-theme or press "Add a source repository button to your theme" content button on https://sphinx-book-theme.readthedocs.io/en/stable/tutorials/get-started.html.
expectation
I expected content section on the right panel to change to "Add a source repository button to your theme".
bug
But instead it tells me that the previous section is active.
If I scroll down a little bit, then the section is correct.
Reproduce the bug
List your environment
OS: macOS 12.3
Browser: Safari 15.4
The text was updated successfully, but these errors were encountered: