docs: make sidebar config a bit more organized

pull/141/head
Kia King Ishii 4 years ago
parent 018a9b46d9
commit 08480c7fba

@ -20,7 +20,15 @@ module.exports = {
], ],
sidebar: { sidebar: {
'/guide/': [ '/': getGuideSidebar(),
'/guide/': getGuideSidebar(),
'/config/': getConfigSidebar()
}
}
}
function getGuideSidebar() {
return [
{ {
text: 'Introduction', text: 'Introduction',
children: [ children: [
@ -31,8 +39,9 @@ module.exports = {
{ text: 'Deploying', link: '/guide/deploy' } { text: 'Deploying', link: '/guide/deploy' }
] ]
} }
], ]
'/config/': [{ text: 'Config Reference', link: '/config/' }]
}
} }
function getConfigSidebar() {
return [{ text: 'Config Reference', link: '/config/' }]
} }

Loading…
Cancel
Save