chronocat/packages/docs/sidebars.ts

126 lines
2.5 KiB
TypeScript
Raw Normal View History

2024-03-06 04:32:45 +00:00
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'
const sidebars: SidebarsConfig = {
guide: [
{
type: 'category',
label: '安装',
link: {
type: 'doc',
id: 'install/index',
},
items: [
{
type: 'category',
label: '本机安装',
link: {
type: 'doc',
id: 'install/native',
},
2024-03-08 04:06:28 +00:00
items: ['install/llqqnt-airgap'],
2024-03-06 04:32:45 +00:00
},
{
type: 'category',
label: 'Docker',
link: {
type: 'doc',
id: 'install/docker/index',
},
items: [
{
type: 'category',
label: '官方镜像',
link: {
type: 'doc',
id: 'install/docker/official/index',
},
items: ['install/docker/official/reference'],
},
'install/docker/community',
],
},
'install/phone/index',
'install/trusted-installation',
],
},
'launch/index',
{
type: 'category',
label: '接入',
link: {
type: 'doc',
id: 'connect/index',
},
items: [
'connect/koishi',
'connect/nonebot',
'connect/avilla',
'connect/kiramibot',
],
},
{
type: 'category',
label: '配置',
link: {
type: 'doc',
id: 'config/index',
},
items: ['config/reference'],
},
],
developSatori: [
'develop/satori/index',
'develop/satori/quickstart',
{
type: 'category',
label: '基础',
link: {
type: 'doc',
id: 'develop/satori/fundamentals/index',
},
items: [
'develop/satori/fundamentals/resources',
'develop/satori/fundamentals/api',
'develop/satori/fundamentals/events',
'develop/satori/fundamentals/messages',
],
},
{
type: 'category',
label: '参考',
link: {
type: 'doc',
id: 'develop/satori/reference/index',
},
items: [
{
type: 'link',
label: 'API',
href: '/develop/satori/reference/api',
},
'develop/satori/reference/elements/index',
],
},
],
faq: [
{
type: 'autogenerated',
dirName: 'faq',
},
],
code: [
{
type: 'autogenerated',
dirName: 'code',
},
],
more: [
{
type: 'autogenerated',
dirName: 'more',
},
],
}
export = sidebars