-
Notifications
You must be signed in to change notification settings - Fork 317
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
Add breadcrumbs with links to parent pages in the article header #1137
Comments
I'm open to supporting this as long as it's optional / can be turned off in config. Are the intermediate levels in a breadcrumb guaranteed to exist though? (will there always be an |
I think the way you'd do it is by looping through a page's parent documents and using their titles + |
+1 on this one as this would help with navigation, especially if adding #1072 We should also consider how many levels will be displayed in the breadcrumbs or/and make this customisable. I think if there is a doc nested a few levels this might take too much space or would not fit the width at all |
Fwiw, it looks very simple to implement. It is just this couple of lines in the RTD theme (assuming that the "parents" variable is built into sphinx) |
Many websites put "breadcrumbs" at the top of the page so that you can quickly see what parent pages are above you, and click through to them. For example:
The RTD theme:
The MDN docs:
What do folks think about using our
article-header
area to include breadcrumbs for each page? If we were worried about horizontal space, then we could restrict it to 2 parent pages, or limit the number of characters per header title or something.The text was updated successfully, but these errors were encountered: