refactor: update menus

This commit is contained in:
Derrick Hammer 2023-09-06 10:20:51 -04:00
parent 4f26ba307f
commit 9a92c67de3
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 12 additions and 13 deletions

View File

@ -59,7 +59,7 @@ const config = {
items: [ items: [
{ {
type: "docSidebar", type: "docSidebar",
sidebarId: "tutorialSidebar", sidebarId: "main",
position: "left", position: "left",
label: "Start", label: "Start",
}, },

View File

@ -13,21 +13,20 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = { const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure main: [
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], "index",
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{ {
type: 'category', type: "category",
label: 'Tutorial', label: "Extension",
items: ['tutorial-basics/create-a-document'], items: [
"extension/start",
"extension/account",
"extension/bootup",
"extension/sync",
"extension/websites",
],
}, },
], ],
*/
}; };
module.exports = sidebars; module.exports = sidebars;