1import 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 */
13const sidebars: SidebarsConfig = {
14 // By default, Docusaurus generates a sidebar from the docs folder structure
15 docsSidebar: [
16 {type: 'autogenerated', dirName: '.'},
17 {type: 'link', label: 'Cookbook', href: 'https://github.com/spiceai/cookbook'},
18 ],
19
20 // But you can create a sidebar manually
21 /*
22 tutorialSidebar: [
23 'intro',
24 'hello',
25 {
26 type: 'category',
27 label: 'Tutorial',
28 items: ['tutorial-basics/create-a-document'],
29 },
30 ],
31 */
32};
33
34export default sidebars;
35
1import 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 */
13const sidebars: SidebarsConfig = {
14 // By default, Docusaurus generates a sidebar from the docs folder structure
15 docsSidebar: [
16 {type: 'autogenerated', dirName: '.'},
17 {type: 'link', label: 'Cookbook', href: 'https://github.com/spiceai/cookbook'},
18 ],
19
20 // But you can create a sidebar manually
21 /*
22 tutorialSidebar: [
23 'intro',
24 'hello',
25 {
26 type: 'category',
27 label: 'Tutorial',
28 items: ['tutorial-basics/create-a-document'],
29 },
30 ],
31 */
32};
33
34export default sidebars;
35