github.com/kubri/kubri@v0.5.1-0.20240317001612-bda2aaef967e/website/sidebars.ts (about)

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