Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
aa67753d7This file is pinned to the selected release. Download the original to open it in your design tool.
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// const sidebars: SidebarsConfig = {
// // By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{
// type: 'autogenerated', dirName: '.'
// }],
// // But you can create a sidebar manually
// /*
// tutorialSidebar: [
// 'intro',
// 'hello',
// {
// type: 'category',
// label: 'Tutorial',
// items: ['tutorial-basics/create-a-document'],
// },
// ],
// */
// };
const sidebars: SidebarsConfig = {
tutorialSidebar: [
'Introduction',
'Quick Start',
{
type: 'category',
label: 'Hardware',
link: {
type: 'generated-index'
},
collapsed: true,
items: [
'hardware/hardware_overview',
'hardware/hardware_assembly',
]
},
{
type: 'category',
label: 'Software',
link: {
type: 'generated-index'
},
collapsed: true,
items: [
'software/arduino_setup',
'software/arduino_examples',
'software/python_setup',
`software/python_examples`,
]
},
'resources',
{
type: 'category',
label: 'Support',
link: {
type: 'generated-index'
},
collapsed: true,
items: [
'support/troubleshooting',
'support/file_issue',
'support/contribute'
]
}
]
};
export default sidebars;