-
Notifications
You must be signed in to change notification settings - Fork 61k
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
Adding previous
and next
links for moving between articles
#146
Comments
🙌 ⚡️
👍 Yes, I think so! Some categories don't have map topics and the previous and next buttons would still be useful as we still display the content in a somewhat linear order. The only category without map topics where the buttons might not make as much sense is probably in the "Site policy" category, although I don't think it will hurt anything to have them displayed there.
Great questions - I think so! 👍
In this case, I think not, since the next link would go to the next category and those aren't as closely linked as map topics within a category. Also, the next category will be shown in the sidebar. |
This issue is stale because it has been open 60 days with no activity. Comment with a status update or this will be closed in 14 days |
Still relevant. |
@sezhan1229 Can you help us out with a design for this? We'll need to have that ready when we begin implementation on this. |
This issue is stale because it has been open 60 days with no activity. |
This issue is stale because it has been open 60 days with no activity. |
@chiedo @emilyistoofunky Is this still relevant or should we close it out? |
I think this may be part of the learning track designs - @chiedo do you know? |
Yeah we can close this one out! We've got it tracked elsewhere. |
In https://github.com/github/help-docs/pull/11410 we introduced breadcrumbs. Under the hood, the breadcrumbs are generated by a
currentTree
object that captures the entire hierarchy of the site, relative to the page you're currently viewing. We can use this new tree to infer what pages precede and follow a given article.Let's consider adding [Previous] and [Next] links below each article, where appropriate. We'll have to iron out the details of when these links should and should NOT be displayed:
cc @github/product-docs-engineering @github/product-docs-content-strategy
The text was updated successfully, but these errors were encountered: