Multiple sidebars
See original GitHub issueIt would be great to be able to extend Nextra to support multiple sidebars.
I think it’s possible to do this a few ways. One would be to specify root json files in a theme config.
// theme.config.js
export default {
...
sidebars: {
reference: "reference.json"
docs: "docs.json"
}
}
Another way would be to use a filename prefix for the route’s metadata files. If found, and if matching the prefix, it would then look for matches during the traversal.
- index.md
- meta.json
- docs-meta.json
-- docs/
--- docs-meta.json
--- index.md
--- guides/
----- docs-meta.json
----- index.md
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Using multiple sidebars - Docusaurus
Using multiple sidebars. You can create a sidebar for each set of Markdown files that you want to group together.
Read more >How to Display Different Sidebar for Each Post and Page in ...
Want to display a different sidebar for individual posts and pages in WordPress? Here's how to display custom sidebars for each post and ......
Read more >Custom Sidebars: Create Multiple Widget Areas and Choose ...
Custom Sidebars is a free plugin which lets you easily create multiple sidebars on your site, and then decide which pages to display...
Read more >Best way of making multiple sidebars
I have learned about making sidebars from google earlier but in search I only get the results that I am using right now...
Read more >php - How can I put multiple sidebars in different areas of my ...
I put Search widget under sidebar-1 and put Meta under content-main-left sidebar. But when the page renders both the widgets are being shown ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
reactnative.dev
The latest
nextra-theme-docs
now has afloatingTOC: true
option to achieve this, example: https://swr.vercel.app/blog/swr-v1. We can close this now!