Replies: 1 comment
-
|
We don't support sidebar categories "activation strategies". You'll have to swizzle and implement the filtering logic yourself if you want that.
Yes, we use it on our own site, where separate regular docs from API references
You can assign a dedicated className or A docId cassName is added to each doc page, so CSS only might work for you I don't understand how "tabs" are related to this discussion. Changing the sidebar according to a given tab would lead to a very weird UX IMHO, and I've never seen that in any doc site. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is a usecase, I have a query about.
say, the sidebar has the following hierarchy
- Category3
In some cases, it makes sense to have tabbed navigation in the main section. If we have tabbed navigation - for the above - as an example -
the tabs would be -
[category1],[cateory2],[category3]..and so on.The question(s) I have is:
category2tabisActive, then display only-doc4
in the sidebar.
I presume, this may be achieved by having multiple sidebars - such as sidebar1 for category1, sidebar2 for category2, .. and so on and displaying the appropriate sidebar as per the activetab.
I guess, the question essentially boils down to
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions