2022-02-06 18:40:28 +00:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// @ts-check
|
|
|
|
|
|
|
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
|
|
|
const sidebars = {
|
|
|
|
// By default, Docusaurus generates a sidebar from the docs folder structure
|
2022-04-11 00:13:11 +00:00
|
|
|
tutorialSidebar: [
|
|
|
|
{
|
2022-04-11 00:37:08 +00:00
|
|
|
type: "doc",
|
|
|
|
id: "Introduction",
|
|
|
|
label: "Introduction",
|
2022-04-11 00:13:11 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-11 00:37:08 +00:00
|
|
|
type: "doc",
|
|
|
|
id: "Playground",
|
|
|
|
label: "Playground",
|
2022-04-11 00:13:11 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-11 00:37:08 +00:00
|
|
|
type: "category",
|
|
|
|
label: "Features",
|
2022-04-11 00:13:11 +00:00
|
|
|
items: [
|
|
|
|
{
|
2022-04-11 00:37:08 +00:00
|
|
|
type: "autogenerated",
|
|
|
|
dirName: "Features",
|
|
|
|
},
|
|
|
|
],
|
2022-04-11 00:13:11 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-11 00:37:08 +00:00
|
|
|
type: "category",
|
|
|
|
label: "Discussions",
|
2022-04-11 00:13:11 +00:00
|
|
|
items: [
|
|
|
|
{
|
2022-04-11 00:37:08 +00:00
|
|
|
type: "autogenerated",
|
|
|
|
dirName: "Discussions",
|
2022-04-11 00:13:11 +00:00
|
|
|
},
|
2022-04-11 00:37:08 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2022-02-06 18:40:28 +00:00
|
|
|
|
|
|
|
// But you can create a sidebar manually
|
|
|
|
/*
|
|
|
|
tutorialSidebar: [
|
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Tutorial',
|
|
|
|
items: ['hello'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
*/
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = sidebars;
|