docs: simplify tutorial sidebar structure and adjust category positions for better organization

This commit is contained in:
kastov
2025-03-16 19:41:59 +03:00
parent 84e052c40f
commit fa1c2f4d13
6 changed files with 8 additions and 52 deletions

View File

@@ -14,51 +14,7 @@ Create as many sidebars as you want.
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }]
tutorialSidebar: [
'index',
{
type: 'category',
label: 'Installation',
collapsed: false,
items: [
'installation/quick-start',
'installation/env-variables',
{
type: 'category',
label: 'Reverse Proxies',
items: [
'installation/reverse-proxies/nginx',
'installation/reverse-proxies/caddy',
'installation/reverse-proxies/try-cloudflare'
]
},
{
type: 'category',
label: 'Node install',
items: ['installation/node/quick-start', 'installation/node/env-variables']
}
]
},
{
type: 'category',
label: 'Subscription Templating',
collapsed: false,
items: ['subscription-templating/subscription-templates']
},
{
type: 'category',
label: 'Panel Overview',
items: ['panel-overview/home']
},
{
type: 'category',
label: 'Migrating',
items: ['migrating/marzban']
},
'donate'
]
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }]
}
export default sidebars