Closed robmcguinness closed 4 years ago
Hey @robmcguinness, thanks for opening this issue. We are aware of this problem and are planning to fix it on the next version of the project, that will be released in the next days 💜
Sorry for the inconvenience and keep rocking 🚀
No worries! Thanks for great theme!
Any updates on this? Or how can I shadow https://github.com/Rocketseat/gatsby-themes/blob/master/%40rocketseat/gatsby-theme-docs/src/components/Docs/PostNav/index.js to use filenames as sorting order?
Hey @jpvalery and @robmcguinness! I have already fixed this issue and I am going to release it as soon as I can. Thanks for your patience 💜
Guys, I have released version 2.1.0
, that adds a table of content for pages, a button to edit page on GitHub and fixes the issue with prev/next links 🚀
Also, I want to update the docs with more use cases and information. I would love suggestions or even PR's 😍If you have further questions or features request please create a new issue! For now, I am closing this. Thanks again for your patience and for using the theme 💜
Description of bug
Prev and Next links appear to be in alphebetical order vs using the order of the
sidebar.yml
To Reproduce
Expected behavior
Prev is set to
Navigation
when it should beGetting Started
and Next is set toGetting Started
when it should beNavigation
. The Next and Prev page links should use the order ofsidebar.yml
Screenshots
Environment: N/A
Additional context
---
Apologies if I'm off the mark 🎉