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