refactor: update menus
This commit is contained in:
parent
4f26ba307f
commit
9a92c67de3
|
@ -59,7 +59,7 @@ const config = {
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
type: "docSidebar",
|
type: "docSidebar",
|
||||||
sidebarId: "tutorialSidebar",
|
sidebarId: "main",
|
||||||
position: "left",
|
position: "left",
|
||||||
label: "Start",
|
label: "Start",
|
||||||
},
|
},
|
||||||
|
|
23
sidebars.js
23
sidebars.js
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue