sphinx-book-theme
sphinx-book-theme copied to clipboard
Add skip to main content link
Add a simple jump to main content link on top of the page (only visible when you first press tab) so users can skip the left navigation

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.
Welcome to the EBP community! :tada:
Could you provide some more information about what you mean by "skip the left navigation"? That should all be hidden by default. Is this for screen readers and accessibility purposes?
It's this @choldgraf https://youtu.be/VUR0I5mqq7I
So this one has actually now been implemented in the upstream theme (pydata-sphinx-theme):
- https://github.com/pydata/pydata-sphinx-theme/issues/966
I think that we can close this PR since we'll inherit this feature from the upstream, though we should double-check that it is in-fact inherited
many thanks @andesol for surfacing this issue and providing an implementation - I think that the person in the pydata theme used it for inspiration there
I'm gonna close this one as we now have an implementation we'll inherit from the pydata theme!
Here's the PR where this was merged upstream:
- https://github.com/pydata/pydata-sphinx-theme/issues/966
And here's the PR that should bring this in, assuming that a PyData theme release is made before it is merged:
- #640