Skip to content

Is it possible to switch the sidebar according to the URL of the document? #7039

Answered by Josh-Cena
dninomiya asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, sidebars are bound to docs, not to URLs. Here, commonDoc is a doc ID. And one doc can only appear at one route, so it's either tutorial/commonDoc, or api/commonDoc, but not both at the same time.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dninomiya
Comment options

Answer selected by dninomiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants