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 request - global tabs settings #2278

Open
maral opened this issue Apr 11, 2024 · 0 comments
Open

Feature request - global tabs settings #2278

maral opened this issue Apr 11, 2024 · 0 comments

Comments

@maral
Copy link

maral commented Apr 11, 2024

Hi, I am wondering if it's possible to implement a globally switchable tabs, that would switch to the option in all tabs across the documentation. E.g. when documenting an API, you might have multiple languages in the tab (let's say JS, TS, Python). The documentation would have those three languages in all the different code showcases. If the user switches for the first code showcase to Python, it would make sense to show all the other showcases in Python, too.

I listed through various documentations using Gitbook and I found an example, where this function would make sense:
https://docs.warp.dev/features/blocks/block-basics

The Linux user reading the documentation has to keep manually switching to Linux tab everywhere. Having a global state would happen to be perfect here and I believe that is the case in many such use-cases. It's pretty common in the JS/TS world, see e.g. https://nextjs.org/docs/app/building-your-application/optimizing/fonts

Thanks!

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