-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Make the headings on the landing page anchor links #552
Comments
They are anchor links, we should just rewrite the URL when a user clicks on sidebar items so you know what IDs they are :) |
I'm a bit confused by this because AFAICT the numpy.org landing page doesn't have a sidebar. I was thinking something more along the lines of the little chain-link icon that appears when you hover over a section heading in some themes. Whether it's adding a sidebar or some other approach, it'd be nice to be able to easily create those anchor links to the section headings in the browser! |
This is addressed in scientific-python/scientific-python-hugo-theme#116 |
(I did not add the little chain-link icons, but it would be straightforward to do so, if desired.) |
See #553. |
This is a nice improvement but it doesn't seem to apply to the landing page where there is no sidebar. AFAICT there's still no way to click on/near the |
Thanks for noticing those, I will fix them too! EDIT: We can fix those in NumPy; since they're custom add-ins, we just have to make sure they have anchors specified as in:
If they use the hugo built-in mechanisms for generating headings, then headings automatically get IDs. |
Hi everyone, |
@tinaoberoi, feel free to work on this issue. |
Yes please feel free. Note though that this may be better handled in the underlying scientific-python-hugo-theme |
It would be nice if the top-level headings (e.g.
Ecosystem
,Case Studies
) were anchor links so that people could link to a specific portion of the page without having to scroll to get there.The text was updated successfully, but these errors were encountered: