How to get a single shared sidebar for docs with multi-instance? #10932
-
Hi, I want to have multiple docs for different products that could be on different versions using the docs multi-instance feature. But, I'd also like to have a single sidebar for all these kinds of documentations so that every docs would show up in a single sidebar. This question on Stack Overflow summarizes the problem perfectly so I'll borrow it's examples: Suppose that I have a file structure like this:
I'd like to map it to a sidebar in all my documents like this:
Is this possible to achieve? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Unfortunately this is not possible. Plugins (and their instances) are sandboxed so docs plugin 1 can only render data coming from docs plugin 1. In 2025 I'd like to ship React Server Components support (#9089) and it should allow to seamlessly interleave data from plugin1 to a page created by plugin2, and vice versa. But it will take a while before we support this. |
Beta Was this translation helpful? Give feedback.
Unfortunately this is not possible. Plugins (and their instances) are sandboxed so docs plugin 1 can only render data coming from docs plugin 1.
In 2025 I'd like to ship React Server Components support (#9089) and it should allow to seamlessly interleave data from plugin1 to a page created by plugin2, and vice versa. But it will take a while before we support this.