Skip to content
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

Sort navigation items #122

Closed
1 task done
tsndr opened this issue Oct 26, 2020 · 2 comments
Closed
1 task done

Sort navigation items #122

tsndr opened this issue Oct 26, 2020 · 2 comments
Labels
question Further information is requested

Comments

@tsndr
Copy link

tsndr commented Oct 26, 2020

Is it possible to specify an order of the items in the sidebar?

I tried naming the groups like this:

1. Group
2. Another group
...
10. Yet another group
11. The last group

But when generating the the docs it does this:

1. Group
10. Yet another group
11. The last group
2. Another group
...

What can I do to fix this?

Maybe something like

/**
 * @group 1. Group
 * @sort 0
 */
/**
 * @group 2. Another group
 * @sort 1
 */
  • I've read the documentation and I can't find details on how to achieve this.
@tsndr tsndr added the question Further information is requested label Oct 26, 2020
@shalvah
Copy link
Contributor

shalvah commented Oct 29, 2020

It isn't possible right now. Your best option would be to use letters?

A. Group A
B. ,,,

@shalvah
Copy link
Contributor

shalvah commented Nov 15, 2020

#105 should address this in v3. Closing this in the meantime, since it's same as #107

@shalvah shalvah closed this as completed Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants