You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We lack documentation on how to bind new sidebars to new top nav sections.
For example, the docusaurus v2 docs have docs and API in the top nav. Each has a sidebar of its own.
How to bind sidebar for docs to docs and sidebar for API to API?
You don't bind a sidebar to the navbar, you bind a doc, but this doc is part of a sidebar, and we add a class when the doc's sidebar is browsed to give it a tab-like behavior.
I see! That was not obvious to me, thanks for clarifying.
I'll send out a PR during the week to give more visibility to the Sidebar section (it doesn't appear in the sidebar of the current docs, which a is a bummer because TOCs are essential in docs) and I'll rework the content to make things clearer.
📚 Documentation
We lack documentation on how to bind new sidebars to new top nav sections.
For example, the docusaurus v2 docs have
docs
andAPI
in the top nav. Each has a sidebar of its own.How to bind
sidebar for docs
todocs
andsidebar for API
toAPI
?I managed to make mine work but I'm not sure how.
Have you read the Contributing Guidelines on issues?
yes
The text was updated successfully, but these errors were encountered: