Weighs the soul of incoming HTTP requests to stop AI crawlers
at main 33 lines 860 B view raw
1import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; 2 3// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...) 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 */ 15const sidebars: SidebarsConfig = { 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 33export default sidebars;