(A clear and concise description of what the feature is.)
In the sidebar how can we create a nested dropdown menu items, Like the structure below
βββ coredns
βΒ Β βββ coredns-pod-delete
βββ Generic
βΒ Β βββ container-kill
βΒ Β βββ disk-fill
βΒ Β βββ disk-loss
βΒ Β βββ pod-delete
βββ kafka
βΒ Β βββ broker-disk-failure
βΒ Β βββ broker-pod-failure
βββ openebs
βββ pool-pod-failure
βββ target-container-failure
βββ target-network-delay
yes
This requirement came from the here
Hi, i think it is possible to do so in v2.
An example would be the docusaurus sidebar page.
Here is in sidebars.js
module.exports = {
docs: {
Docusaurus: ['introduction', 'design-principles', 'contributing'],
'Getting Started': ['installation', 'configuration'],
Guides: [
'creating-pages',
'styling-layout',
'static-assets',
{
type: 'category',
label: 'Docs',
items: ['markdown-features', 'sidebar', 'versioning'],
},
'blog',
'search',
'deployment',
'migrating-from-v1-to-v2',
],
'Advanced Guides': ['using-plugins', 'using-themes', 'presets'],
'API Reference': [
'cli',
'docusaurus-core',
'docusaurus.config.js',
'lifecycle-apis',
'theme-classic',
],
},
};
It's already possible as per what @benclmnt said. Checkout website/sidebars.js for an example.
Thanks @benclmnt, I'll check this out
Most helpful comment
Hi, i think it is possible to do so in v2.
An example would be the docusaurus sidebar page.
Here is in sidebars.js