docs icon indicating copy to clipboard operation
docs copied to clipboard

Allow multiple versions for navigation groups

Open ethantrang opened this issue 10 months ago • 0 comments

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! 

ethantrang avatar Dec 03 '24 04:12 ethantrang