1
- import { SidebarMulti } from "vuepress-theme-plume/lib/shared" ;
1
+ import { text } from "mermaid/dist/rendering-util/rendering-elements/shapes/text.js" ;
2
+ import { SidebarMulti } from "vuepress-theme-plume/lib/shared" ;
2
3
3
4
4
5
export const mySidebar : SidebarMulti = {
@@ -8,53 +9,62 @@ export const mySidebar: SidebarMulti = {
8
9
collapsed : false ,
9
10
prefix : 'summary/' ,
10
11
items : [
11
- { text : '简介' , link : 'intro' } ,
12
- { text : '快速开始' , link : 'quick-start' } ,
13
- { text : 'Visual Studio Code' , link : 'vscode' } ,
14
- { text : '为什么选择我们?' , link : 'why' } ,
15
- { text : '精简版' , link : 'fsm' } ,
12
+ { text : '简介' , link : 'intro' } ,
13
+ { text : '快速开始' , link : 'quick-start' } ,
14
+ { text : '为什么选择我们?' , link : 'why' } ,
15
+ { text : '精简版' , link : 'fsm' } ,
16
+ ]
17
+ } ,
18
+ {
19
+ text : '编辑器' ,
20
+ collapsed : false ,
21
+ prefix : 'ide/' ,
22
+ items : [
23
+ { text : 'Visual Studio Code' , link : 'vscode' } ,
24
+ { text : 'Cursor' , link : 'cursor' } ,
16
25
]
17
26
} ,
18
27
{
19
28
text : '参考' ,
20
29
collapsed : false ,
21
30
prefix : 'reference/' ,
22
31
items : [
23
- { text : '路由' , link : 'router' } ,
24
- { text : 'CRUD' , link : 'CRUD' } ,
25
- { text : '接口响应' , link : 'response' } ,
26
- { text : '分页' , link : 'pagination' } ,
27
- { text : '自定义异常' , link : '/planet' , icon : 'fluent-color:receipt-16' } ,
28
- { text : '切换数据库' , link : 'db' } ,
29
- { text : '鉴权' , link : 'permission' } ,
30
- { text : 'JWT' , link : 'jwt' } ,
31
- { text : 'RBAC' , link : 'RBAC' } ,
32
- { text : '数据规则' , link : '/planet' , icon : 'fluent-color:video-16' } ,
33
- { text : '代码生成' , link : 'code-generation' } ,
34
- { text : '跨域' , link : 'CORS' } ,
35
- { text : '事务' , link : 'transaction' } ,
36
- { text : 'Celery' , link : '/planet' , icon : 'fluent-color:video-16' } ,
37
- { text : 'APScheduler' , link : 'apscheduler' } ,
32
+ { text : '路由' , link : 'router' } ,
33
+ { text : 'CRUD' , link : 'CRUD' } ,
34
+ { text : 'Schema' , link : 'schema' } ,
35
+ { text : '接口响应' , link : 'response' } ,
36
+ { text : '分页' , link : 'pagination' } ,
37
+ { text : '自定义异常' , link : '/planet' , icon : 'fluent-color:receipt-16' } ,
38
+ { text : '切换数据库' , link : 'db' } ,
39
+ { text : '鉴权' , link : 'permission' } ,
40
+ { text : 'JWT' , link : 'jwt' } ,
41
+ { text : 'RBAC' , link : 'RBAC' } ,
42
+ { text : '数据规则' , link : '/planet' , icon : 'fluent-color:video-16' } ,
43
+ { text : '代码生成' , link : 'code-generation' } ,
44
+ { text : '跨域' , link : 'CORS' } ,
45
+ { text : '事务' , link : 'transaction' } ,
46
+ { text : 'Celery' , link : '/planet' , icon : 'fluent-color:video-16' } ,
47
+ { text : 'APScheduler' , link : 'apscheduler' } ,
38
48
// {text: '日志分析', link: '/planet', icon: 'fluent-color:receipt-16'},
39
- { text : 'Socketio' , link : '/planet' , icon : 'fluent-color:receipt-16' } ,
49
+ { text : 'Socketio' , link : '/planet' , icon : 'fluent-color:receipt-16' } ,
40
50
]
41
51
} ,
42
52
{
43
53
text : 'Mixin' ,
44
54
collapsed : false ,
45
55
prefix : 'mixin/' ,
46
56
items : [
47
- { text : 'CRUD' , link : 'CRUD' } ,
48
- { text : '操作人信息' , link : '/planet' , icon : 'fluent-color:receipt-16' } ,
57
+ { text : 'CRUD' , link : 'CRUD' } ,
58
+ { text : '操作人信息' , link : '/planet' , icon : 'fluent-color:receipt-16' } ,
49
59
]
50
60
} ,
51
61
{
52
62
text : '部署' ,
53
63
collapsed : false ,
54
64
prefix : 'deploy/' ,
55
65
items : [
56
- { text : 'Docker' , link : 'Docker' } ,
57
- { text : '传统' , link : 'legacy' , icon : 'fluent-color:video-16' } ,
66
+ { text : 'Docker' , link : 'Docker' } ,
67
+ { text : '传统' , link : 'legacy' , icon : 'fluent-color:video-16' } ,
58
68
]
59
69
} ,
60
70
] ,
@@ -63,10 +73,10 @@ export const mySidebar: SidebarMulti = {
63
73
text : '插件' ,
64
74
collapsed : false ,
65
75
items : [
66
- { text : '前言' , link : 'before' } ,
67
- { text : '插件开发' , link : 'dev' } ,
68
- { text : '插件发布' , link : 'publish' } ,
69
- { text : '插件市场' , link : 'market' } ,
76
+ { text : '前言' , link : 'before' } ,
77
+ { text : '插件开发' , link : 'dev' } ,
78
+ { text : '插件发布' , link : 'publish' } ,
79
+ { text : '插件市场' , link : 'market' } ,
70
80
]
71
81
}
72
82
]
0 commit comments