-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Enable SidebarItem only menu in sidebar #1225
Comments
This config is tied to Default Theme. If Default Theme does not support this type of structure, it shouldn't have it. If you need custom type, that means you should create your own config types 👍 If VitePress default theme gets support for this type of sidebar structure, then it will be modified as you mentioned. And actually this feature is planned. |
Given that the feature is planned, maybe it'd make sense to leave this open to track it? It'd be easier for folks who are interested to subscribe to this thread and be notified when it's closed than having to come back on a frequent basis to check the release notes to see whether it's been implemented |
Make sense. I'll adjust the title then 👍 |
SidebarGroup[]
with Array<SidebarGroup|SidebarItem>
It's supported now. Support for this was added some time in the last year IG. |
Is your feature request related to a problem? Please describe.
Chart.js has a mix of expandable groups and individual items within its sidebar. I can't migrate the docs from Vuepress to Vitepress because Vitepress will not allow individual items within the sidebar
Describe the solution you'd like
The types are currently:
It would be nice to change them to:
Describe alternatives you've considered
Make a group with just an individual item in it. It's kind of an annoying user experience though
Additional context
The work-in-progress branch is here: https://github.com/benmccann/Chart.js/tree/vitepress
Validations
The text was updated successfully, but these errors were encountered: