nonebot2/website/sidebars.js

119 lines
2.2 KiB
JavaScript
Raw Normal View History

/**
* 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 = {
2021-12-24 11:02:11 +00:00
tutorial: [
2021-12-01 19:17:10 +00:00
{
2021-12-27 14:08:59 +00:00
type: "category",
label: "开始",
collapsible: false,
items: ["index", "quick-start", "editor-support"],
},
{
type: "category",
label: "指南",
2021-12-27 14:08:59 +00:00
items: [
{
type: "autogenerated",
dirName: "tutorial",
2021-12-27 14:08:59 +00:00
},
],
},
{
type: "category",
label: "深入",
2021-12-27 14:08:59 +00:00
items: [
{
type: "autogenerated",
dirName: "appendices",
2021-12-27 14:08:59 +00:00
},
],
},
{
type: "category",
label: "进阶",
items: [
{
type: "autogenerated",
dirName: "advanced",
},
],
2021-12-01 19:17:10 +00:00
},
{
type: "category",
label: "最佳实践",
items: [
{
type: "autogenerated",
dirName: "best-practice",
},
],
},
{
type: "category",
label: "开发者",
items: [
{
type: "autogenerated",
dirName: "developer",
},
],
},
2021-12-01 19:17:10 +00:00
],
api: [{ type: "autogenerated", dirName: "api" }],
ecosystem: [
{
type: "category",
label: "关于我们",
collapsible: false,
items: [
{
type: "autogenerated",
dirName: "community",
},
],
},
2023-06-01 06:18:16 +00:00
{
type: "category",
label: "开源之夏",
collapsible: false,
items: [
{
type: "autogenerated",
dirName: "ospp",
},
],
},
{
type: "category",
label: "社区资源",
collapsible: false,
items: [
{
type: "link",
label: "商店",
href: "/store",
},
2023-06-01 06:18:16 +00:00
{
type: "link",
label: "论坛",
href: "https://discussions.nonebot.dev",
},
],
},
],
};
module.exports = sidebars;