Skip to content
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

Show "on this page" navigation menu for in-page navigation on mobile #363

Closed
Tracked by #1106
choldgraf opened this issue Apr 16, 2024 · 0 comments · Fixed by #369
Closed
Tracked by #1106

Show "on this page" navigation menu for in-page navigation on mobile #363

choldgraf opened this issue Apr 16, 2024 · 0 comments · Fixed by #369
Assignees

Comments

@choldgraf
Copy link
Member

choldgraf commented Apr 16, 2024

We have an "In this article" menu for in-page navigation to the right of each page. However, on mobile it disappears, and there is no user interface element that lets you discover it.

Being on mobile makes it particularly hard to navigate longer pages, so it would benefit from the ability to quickly see the page's main structure and jump around within it.

Example of the in-page navigation disappearing:

CleanShot 2024-04-16 at 12 18 22

Example of how this is handled in Jupyter Book

In the pydata and book themes, the right sidebar pops into a drawer on the right. You can open it with a button, similarly to the left drawer:

CleanShot 2024-04-16 at 12 21 26

Example of how this is handled in Docusaurus

In this case they add a dropdown to the top of each page with in-page links and content.

CleanShot 2024-04-17 at 09 35 55@2x

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 a pull request may close this issue.

2 participants