You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closesgravitational/teleport#51030Closesgravitational/teleport#47231
The Docusaurus sidebar generator currently orders guides within a
sidebar section by slug, which makes sidebar labels appear out of order.
Instead, apply the following logic, which places page labels in the
sidebar in positions where users would expect to find them:
- Labels that include "introduction" appear first
- Labels that include "get started" or "getting started" appear next
- After that, labels in a sidebar section appear in alphabeitcal order
This change adds a function that modifies the order of the sidebar items
returned by the default Docusaurus sidebar generation function.
0 commit comments