/ sidebars.js
sidebars.js
1 /** 2 * Creating a sidebar enables you to: 3 - create an ordered group of docs 4 - render a sidebar for each doc of that group 5 - provide next/previous navigation 6 7 The sidebars can be generated from the filesystem, or explicitly defined here. 8 9 Create as many sidebars as you want. 10 */ 11 12 // @ts-check 13 14 /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ 15 const sidebars = { 16 // By default, Docusaurus generates a sidebar from the docs folder structure 17 tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }], 18 19 // But you can create a sidebar manually 20 /* 21 tutorialSidebar: [ 22 'intro', 23 'hello', 24 { 25 type: 'category', 26 label: 'Tutorial', 27 items: ['tutorial-basics/create-a-document'], 28 }, 29 ], 30 */ 31 } 32 33 module.exports = sidebars