Skip to content

Highlight current heading in shortcuts #116

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

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

stefanv
Copy link
Member

@stefanv stefanv commented Feb 3, 2022

Also:

  • Add a list icon a-la pydata-sphinx-theme (but use MUI icon instead of FontAwesome)
  • Improve the way the shortcut list is generated: anchors now come directly from Hugo
  • Prevent shortcut list from scrolling off-screen

@netlify
Copy link

netlify bot commented Feb 3, 2022

✔️ Deploy Preview for scientific-python-hugo-theme ready!

🔨 Explore the source changes: 637ae26

🔍 Inspect the deploy log: https://app.netlify.com/sites/scientific-python-hugo-theme/deploys/61fb8549dc89960007c9fc8b

😎 Browse the preview: https://deploy-preview-116--scientific-python-hugo-theme.netlify.app

stefanv added a commit to stefanv/scientific-python.org that referenced this pull request Feb 3, 2022
@stefanv stefanv force-pushed the scrolling-shortcuts branch 2 times, most recently from bc8b100 to c8c4c02 Compare February 3, 2022 07:30
Also:

- Modify location bar so that anchor URLs can be copied and referred to
- Add a list icon a-la pydata-sphinx-theme (but use MUI icon instead of FontAwesome)
- Improve the way the shortcut list is generated: anchors now come directly from Hugo
- Prevent shortcut list from scrolling off-screen
@jarrodmillman
Copy link
Member

Did you want to change the name from shortcuts to sidebar or something else?

@stefanv
Copy link
Member Author

stefanv commented Feb 3, 2022

I was thinking we can do that in another PR (it's not a user-visible change, so not as urgent).

@jarrodmillman
Copy link
Member

LGTM!!

@jarrodmillman jarrodmillman merged commit dfce170 into scientific-python:main Feb 3, 2022
jarrodmillman pushed a commit to stefanv/scientific-python.org that referenced this pull request Feb 3, 2022
jarrodmillman pushed a commit to scientific-python/scientific-python.org that referenced this pull request Feb 3, 2022
@jarrodmillman jarrodmillman added this to the 0.1 milestone Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants