squiggle/packages/website/sidebars.js

79 lines
1.4 KiB
JavaScript
Raw Normal View History

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-06-06 03:02:17 +00:00
apiSidebar: [
{
2022-06-11 15:57:02 +00:00
type: "autogenerated",
dirName: "Api",
2022-06-06 03:02:17 +00:00
},
],
2022-04-11 00:13:11 +00:00
tutorialSidebar: [
{
type: "doc",
2022-07-27 23:54:25 +00:00
id: "Overview",
label: "Overview",
2022-04-11 00:13:11 +00:00
},
2022-06-14 21:37:59 +00:00
{
type: "doc",
2022-07-29 15:07:11 +00:00
id: "Integrations",
label: "Integrations",
2022-06-14 21:37:59 +00:00
},
2022-04-11 00:13:11 +00:00
{
type: "category",
label: "Guides",
2022-04-11 00:13:11 +00:00
items: [
{
type: "autogenerated",
dirName: "Guides",
},
],
},
2022-04-11 00:13:11 +00:00
{
type: "category",
label: "Discussions",
2022-04-11 00:13:11 +00:00
items: [
{
type: "autogenerated",
dirName: "Discussions",
2022-04-11 00:13:11 +00:00
},
],
},
{
type: "category",
label: "Internal",
items: [
{
type: "autogenerated",
dirName: "Internal",
},
],
},
],
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;