-
Notifications
You must be signed in to change notification settings - Fork 12
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
Redirect support for group index & navOrder to control left nav option #943
Conversation
✅ Deploy Preview for flowforge-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I found this confusing when I read the code, when I type |
That's fair, in which case, in addition to your recommended changes, we'd also need to change the |
Co-authored-by: Zeger-Jan van de Weg <ZJvandeWeg@users.noreply.github.com>
Co-authored-by: Zeger-Jan van de Weg <ZJvandeWeg@users.noreply.github.com>
Description
navOrder
can now be set in the frontmatter for an.md
file, and it will affect the order in which the page appears in the left-side navigation. The higher the number, the more priority it gets at being shown first.redirect
as a frontmatter property too. This meant that we could redirect to a given child when a group (.e.g "Device Agent" is clicked, rather than having to have multipleREADME.md
files with just a table of content. In this case we can redirect to aGetting Started
orIntroduction
child.Related Issue(s)
Will be opening a FF PR shortly with the first batch of docs changes that utilise these and will backlink once I've got that opened.
Checklist