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

Feature: Allow Sidebar tab prop to accept array #411

Open
greghesp opened this issue Feb 5, 2025 · 0 comments
Open

Feature: Allow Sidebar tab prop to accept array #411

greghesp opened this issue Feb 5, 2025 · 0 comments

Comments

@greghesp
Copy link
Contributor

greghesp commented Feb 5, 2025

https://use.docs.page/configuration#sidebar

By allowing an array over a string, it makes it possible to include or exclude the sidebar item on multiple tabs.

For instance, if I have 3 tabs "Backend, Frontend, Debugging"

I may want a Contribution group to appear on Backend and Frontend, but not Debugging. As it is only a string that allows inclusion, i must duplicate the group object and add a tab of backend and frontend, or I must accept the group shows on all 3 tabs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant