How to support shared sidebars #10184
Unanswered
glitch-txs
asked this question in
Q&A
Replies: 1 comment 9 replies
-
It's not ideal to have a common doc bound to 2 distinct sidebars. We have to pick one to display when you browse that doc and it might not be the one you want. You can use a sidebar item of type "ref" so that it appears in a sidebar but that sidebar is not displayed when you browse the doc. https://docusaurus.io/docs/next/sidebar/multiple-sidebars#sidebar-item-ref You can also use |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I have the following setup
My current problem is that when I'm in the tutorial page (using
tutorialSidebar
) and I presscommonDoc
it will change the first to pages fromdoc1
anddoc2
todoc3
anddoc4
, meaning that the sidebar displayed is theapiSidebar
now.How can I keep the sidebar static when going to the
commonDoc
page? either if I'm in the tutorial or api section I want the first two pages to not change when I selectcommonDoc
.Beta Was this translation helpful? Give feedback.
All reactions