Skip to content

Allow multiple versions for navigation groups #402

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

Open
ethantrang opened this issue Dec 3, 2024 · 0 comments
Open

Allow multiple versions for navigation groups #402

ethantrang opened this issue Dec 3, 2024 · 0 comments

Comments

@ethantrang
Copy link

I have three versions for my documentation, and want a specific group to appear in two versions and not the third.

Currently, I'm having to do this:

"navigation": [ { "group": "Get Started", "version": "v10.1.0+", "pages": [ "get_started/introduction", "get_started/installation_setup", "get_started/quickstart" ] }, { "group": "Get Started", "version": "v10.0.0+", "pages": [ "get_started/introduction", "get_started/installation_setup", "get_started/quickstart" ] },

But would love if we can pass in an array of versions instead. (this currently returns an error as "version" expects string)

"navigation": [ { "group": "Get Started", "version": ["v10.1.0+", "v10.1.0+"], "pages": [ "get_started/introduction", "get_started/installation_setup", "get_started/quickstart" ] },

Thanks and looking forward to this! 
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