refactor: update menus
This commit is contained in:
parent
4f26ba307f
commit
9a92c67de3
|
@ -59,7 +59,7 @@ const config = {
|
|||
items: [
|
||||
{
|
||||
type: "docSidebar",
|
||||
sidebarId: "tutorialSidebar",
|
||||
sidebarId: "main",
|
||||
position: "left",
|
||||
label: "Start",
|
||||
},
|
||||
|
|
23
sidebars.js
23
sidebars.js
|
@ -13,21 +13,20 @@
|
|||
|
||||
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
||||
const sidebars = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
|
||||
|
||||
// But you can create a sidebar manually
|
||||
/*
|
||||
tutorialSidebar: [
|
||||
'intro',
|
||||
'hello',
|
||||
main: [
|
||||
"index",
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Tutorial',
|
||||
items: ['tutorial-basics/create-a-document'],
|
||||
type: "category",
|
||||
label: "Extension",
|
||||
items: [
|
||||
"extension/start",
|
||||
"extension/account",
|
||||
"extension/bootup",
|
||||
"extension/sync",
|
||||
"extension/websites",
|
||||
],
|
||||
},
|
||||
],
|
||||
*/
|
||||
};
|
||||
|
||||
module.exports = sidebars;
|
||||
|
|
Loading…
Reference in New Issue