gatsby-gitbook-starter icon indicating copy to clipboard operation
gatsby-gitbook-starter copied to clipboard

Feature request: allow forcedNavOrder to handle ordering of multiple levels and items within them

Open pdesmarets opened this issue 4 years ago • 1 comments

The documentation says "For sub nesting in left sidebar, create a folder with the same name as the top level .md filename and the sub navigation is auto-generated. The sub navigation is alphabetically ordered."

And manual numbering of files and folders, while possible for small static structures, is not practical for larger and more dynamic structures.

Would you please consider allowing a declaration in forcedNavOrder of the entire tree structure of the nav? Or some sort of practical workaround?

pdesmarets avatar Dec 29 '20 14:12 pdesmarets

This is also a need of mine. I have a list of lessons that I need to be sequence in the right order for the user to go through the entire tutorial. the name of the MD file ( or the Title of the page) does not suffice in accomplishing this requirement.

Thanks for providing.

AlewsonRyan avatar Jan 10 '22 18:01 AlewsonRyan