@@ -9,9 +9,7 @@ export const docs = defineConfig({
99
1010 sidebar : {
1111 '/guide/' : { base : '/' , items : sidebarGuide ( ) } ,
12- '/develop/' : { base : '/' , items : sidebarDevelop ( ) } ,
1312 '/zh-CN/guide/' : { base : '/zh-CN/' , items : sidebarGuide ( ) } ,
14- '/zh-CN/develop/' : { base : '/zh-CN/' , items : sidebarDevelop ( ) }
1513 } ,
1614
1715 editLink : {
@@ -47,8 +45,7 @@ export const docs = defineConfig({
4745
4846function nav ( ) {
4947 return [
50- { text : '指南' , link : '/guide/getting-started' } ,
51- { text : '开发' , link : '/develop/quick-start' }
48+ // {text: '指南', link: '/guide/getting-started'},
5249 ] ;
5350}
5451
@@ -60,33 +57,15 @@ function sidebarGuide() {
6057 items : [
6158 { text : '快速开始' , link : 'guide/getting-started' , activeMatch : '/guide/' } ,
6259 { text : '对接配置' , link : 'guide/configuration' , activeMatch : '/guide/' } ,
63- { text : '开发对接' , link : 'develop/quick-start' , activeMatch : '/develop/quick-start' } ,
64- { text : 'API 示例' , link : 'develop/api' , activeMatch : '/develop/api' } ,
6560 { text : '常见问题' , link : 'guide/faq' , activeMatch : '/guide/' } ,
66- { text : '从零安装 NoneBot2' , link : 'guide/nonebot2' , activeMatch : '/guide/' }
61+ { text : '配置 FFmpeg' , link : 'guide/ffmpeg' , activeMatch : '/guide/' } ,
62+ { text : '从零安装 NoneBot2' , link : 'guide/nonebot2' , activeMatch : '/guide/' } ,
6763 ]
6864 } , {
6965 text : '进阶配置' ,
7066 collapsed : false ,
7167 items : [
72- { text : '配置 FFmpeg' , link : 'guide/ffmpeg' , activeMatch : '/guide/' }
73- ]
74-
75- }
76- ] ;
77- }
78-
79- function sidebarDevelop ( ) {
80- return [
81- {
82- text : '开发信息' ,
83- collapsed : false ,
84- items : [
85- { text : '快速开始' , link : 'develop/quick-start' , activeMatch : '/develop/' } ,
86- { text : 'API 列表' , link : 'develop/api' , activeMatch : '/develop/api' } ,
87- { text : '上报事件' , link : 'develop/event' , activeMatch : '/develop/event' } ,
88- { text : '消息类型' , link : 'develop/msg' , activeMatch : '/develop/msg' } ,
89- { text : '扩展 API' , link : 'develop/extends_api' , activeMatch : '/develop/extends_api' } ,
68+ { text : '开发对接' , link : 'guide/develop' , activeMatch : '/guide/develop' } ,
9069 ]
9170 }
9271 ] ;
0 commit comments