Skip to content

Commit bc2dd3f

Browse files
committed
配置文件修正
1 parent 258ea86 commit bc2dd3f

File tree

5 files changed

+142
-59
lines changed

5 files changed

+142
-59
lines changed

.vuepress/config/function.js

Lines changed: 105 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,18 @@ function genSidebar4develop() {
325325
function genSidebar4microServices() {
326326
return [
327327
{
328-
title: "理论基础",
328+
title: "架构",
329+
collapsable: false,
330+
sidebarDepth: 0,
331+
children: [
332+
"arch/frame/arch-frame-evolution.md",
333+
"arch/frame/arch-frame-service.md",
334+
"arch/frame/arch-frame-orm.md",
335+
"arch/frame/arch-frame-rpc.md"
336+
]
337+
},
338+
{
339+
title: "微服务",
329340
collapsable: false,
330341
sidebarDepth: 0,
331342
children: [
@@ -342,7 +353,7 @@ function genSidebar4microServices() {
342353
]
343354
},
344355
{
345-
title: "ZeroMQ",
356+
title: "中间件",
346357
collapsable: false,
347358
sidebarDepth: 0,
348359
children: [
@@ -356,7 +367,7 @@ function genSidebar4microServices() {
356367

357368
}
358369

359-
// arch page
370+
// arch page 并入微服务
360371
function genSidebar4arch() {
361372
return [
362373
{
@@ -653,7 +664,7 @@ function genSidebar4booknote() {
653664
},
654665
{
655666
title: "深入理解计算机系统 详解",
656-
collapsable: false,
667+
collapsable: true,
657668
sidebarDepth: 0,
658669
children: [
659670
"computersystem/computersystem-chapter-1.md",
@@ -881,7 +892,7 @@ function genSidebar4Article() {
881892
]
882893
},
883894
{
884-
title: "问题解决",
895+
title: "问题",
885896
collapsable: false,
886897
sidebarDepth: 0,
887898
children: [
@@ -989,7 +1000,7 @@ function genSidebar4About() {
9891000
function genSidebar4Grow() {
9901001
return [
9911002
{
992-
title: "个人成长",
1003+
title: "个人",
9931004
collapsable: false,
9941005
sidebarDepth: 0,
9951006
children: [
@@ -1029,38 +1040,106 @@ function genSidebar4Vue() {
10291040
collapsable: false,
10301041
sidebarDepth: 0,
10311042
children: [
1032-
"basic/basic-concept.md",
1033-
"basic/basic-use.md",
1034-
"basic/basic-template-syntax.md",
1035-
"basic/basic-data-bind.md",
1036-
"basic/basic-mvvm.md",
1037-
"basic/basic-event-handler.md",
1038-
"basic/basic-compute-property.md",
1039-
"basic/basic-watch-property.md",
1040-
"basic/basic-bind-style.md",
1041-
"basic/basic-condition-render.md",
1042-
"basic/basic-list-render.md",
1043-
"basic/basic-filter.md",
1044-
"basic/basic-inner-cmd.md",
1045-
"basic/basic-custom-cmd.md",
1046-
"basic/basic-lifecycle.md",
1043+
"vue-overview.md",
1044+
"vue2/basic/basic-concept.md",
1045+
"vue2/basic/basic-use.md",
1046+
"vue2/basic/basic-template-syntax.md",
1047+
"vue2/basic/basic-data-bind.md",
1048+
"vue2/basic/basic-mvvm.md",
1049+
"vue2/basic/basic-event-handler.md",
1050+
"vue2/basic/basic-compute-property.md",
1051+
"vue2/basic/basic-watch-property.md",
1052+
"vue2/basic/basic-bind-style.md",
1053+
"vue2/basic/basic-condition-render.md",
1054+
"vue2/basic/basic-list-render.md",
1055+
"vue2/basic/basic-filter.md",
1056+
"vue2/basic/basic-inner-cmd.md",
1057+
"vue2/basic/basic-custom-cmd.md",
1058+
"vue2/basic/basic-lifecycle.md",
1059+
]
1060+
},
1061+
{
1062+
title: "Vue 组件",
1063+
collapsable: false,
1064+
sidebarDepth: 0,
1065+
children: [
1066+
"vue2/component/component-basic.md",
1067+
"vue2/component/component-no-single-file-comp.md",
1068+
"vue2/component/component-single-file-comp.md",
1069+
]
1070+
},
1071+
{
1072+
title: "Vue 脚手架",
1073+
collapsable: false,
1074+
sidebarDepth: 0,
1075+
children: [
1076+
"vue2/CLI/cli-init.md",
1077+
"vue2/CLI/cli-ref-props.md",
1078+
"vue2/CLI/cli-mixin.md",
1079+
"vue2/CLI/cli-plugin.md",
1080+
"vue2/CLI/cli-todolist-demo.md",
1081+
"vue2/CLI/cli-custom-event.md",
1082+
"vue2/CLI/cli-global-event-bus.md",
1083+
"vue2/CLI/cli-pub-sub.md",
1084+
"vue2/CLI/cli-transition.md",
1085+
]
1086+
},
1087+
{
1088+
title: "Vue中的Ajax",
1089+
collapsable: false,
1090+
sidebarDepth: 0,
1091+
children: [
1092+
"vue2/ajax/ajax-basic.md",
1093+
"vue2/ajax/ajax-slot.md",
1094+
"vue2/ajax/ajax-github-demo.md",
1095+
]
1096+
},
1097+
{
1098+
title: "Vuex",
1099+
collapsable: false,
1100+
sidebarDepth: 0,
1101+
children: [
1102+
"vue2/vuex/vuex-basic.md",
1103+
"vue2/vuex/vuex-use.md",
1104+
]
1105+
},
1106+
{
1107+
title: "Vue Router",
1108+
collapsable: false,
1109+
sidebarDepth: 0,
1110+
children: [
1111+
"vue2/vue_router/vue-router-basic.md",
1112+
"vue2/vue_router/vue-router-use.md",
1113+
"vue2/vue_router/vue-router-multi.md",
1114+
"vue2/vue_router/vue-router-deliver-params.md",
1115+
"vue2/vue_router/vue-router-program.md",
1116+
"vue2/vue_router/vue-router-cache.md",
1117+
"vue2/vue_router/vue-router-life-hook.md",
1118+
"vue2/vue_router/vue-router-nav-guard.md",
1119+
"vue2/vue_router/vue-router-work-mode.md",
10471120
]
10481121
},
10491122
{
1050-
title: "组件化编程",
1123+
title: "Vue3 学习",
10511124
collapsable: false,
10521125
sidebarDepth: 0,
10531126
children: [
1054-
"component/component-basic.md",
1055-
"component/component-no-single-file-comp.md",
1056-
"component/component-single-file-comp.md",
1127+
"vue3/vue3-use.md",
1128+
"vue3/vue3-project.md",
1129+
"vue3/vue3-composition-api.md",
1130+
"vue3/vue3-responsive-principle.md",
1131+
"vue3/vue3-lifecycle.md",
1132+
"vue3/vue3-other-composition.md",
1133+
"vue3/vue3-options-composition.md",
1134+
"vue3/vue3-new-component.md",
1135+
"vue3/vue3-other.md",
10571136
]
10581137
}
10591138
];
10601139
}
10611140

10621141
module.exports = {
10631142
genSidebar4Cplusplus, genSidebar4Database, genSidebar4Alg, genSidebar4Program, genSidebar4develop, genSidebar4microServices,
1064-
genSidebar4arch, genSidebar4method, genSidebar4Devops, genSidebar4project, genSidebar4booknote, genSidebar4interview, genSidebar4Article,
1143+
genSidebar4method, genSidebar4Devops, genSidebar4project, genSidebar4booknote, genSidebar4interview, genSidebar4Article,
10651144
genSidebar4dailyUse, genSidebar4About, genSidebar4Grow,genSidebar4Vue
10661145
};

.vuepress/config/nav.js

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,14 @@ module.exports =
8484
]
8585
},
8686
{
87-
text: '架构',
88-
items: [
89-
{ text: '架构基础', link: '/md/arch/frame/arch-frame-evolution.md' },
90-
{ text: 'ORM框架', link: '/md/arch/frame/arch-frame-orm.md' },
91-
{ text: 'RPC框架', link: '/md/arch/frame/arch-frame-rpc.md' }
92-
]
93-
},
94-
{
95-
text: '微服务|中间件',
87+
text: '架构|微服务|中间件',
9688
items: [
89+
{
90+
text: '架构',
91+
items: [
92+
{ text: '架构基础', link: '/md/micro-services/arch/frame/arch-frame-evolution.md' },
93+
]
94+
},
9795
{
9896
text: '微服务框架',
9997
items: [
@@ -180,18 +178,10 @@ module.exports =
180178
]
181179
},
182180
{
183-
text: '实践|项目',
181+
text: '项目',
184182
items: [
185183
{
186-
text: '实践',
187-
items: [
188-
{ text: '实践 - Docker', link: '/md/project/practice/docker/jenkins/practice-docker-jenkins.md' },
189-
{ text: '实践 - 工具类', link: '/md/project/practice/tools/practice-tools-git-config-key.md' },
190-
{ text: '实践 - 实用型', link: '/md/project/practice/ngx-admin-install.md' }
191-
]
192-
},
193-
{
194-
text: '开源项目学习',
184+
text: '开源项目',
195185
items: [
196186
{ text: '开源协程库 libco', link: '/md/project/opensource/libco/libco.md' },
197187
{ text: 'buttonrpc', link: '/md/project/opensource/buttonrpc/buttonrpc-basic.md' },
@@ -200,7 +190,7 @@ module.exports =
200190
]
201191
},
202192
{
203-
text: '个人github项目总结',
193+
text: '个人github项目',
204194
items: [
205195
{ text: 'build_lib', link: '/md/project/person/build_lib/build_lib.md' }
206196
]
@@ -256,30 +246,44 @@ module.exports =
256246
]
257247
},
258248
{
259-
text: '文章记录',
249+
text: '文章',
260250
items: [
261251
{ text: '并发', link: '/md/article/concurrent/article-concurrent-lock.md' },
262252
{ text: '部署', link: '/md/article/deploy/article-deploy-blue-green.md' },
263253
{ text: '分布式', link: '/md/article/distribute/article-distributed-cellular.md' },
264254
{ text: '成长', link: '/md/article/grow/article-grow-Stay_hungry_Stay_foolish.md' },
265255
{ text: '知识', link: '/md/article/knowledge/article-knowledge-service-mesh.md' },
266-
{ text: '问题解决', link: '/md/article/problem/article-problem-top.md' }
256+
{ text: '问题', link: '/md/article/problem/article-problem-top.md' }
267257
]
268258
},
269259
{
270260
text: '成长',
271261
items: [
272-
{ text: '个人成长', link: '/md/grow/person/person-better-than-others.md' },
262+
{ text: '个人', link: '/md/grow/person/person-better-than-others.md' },
273263
{ text: '产品', link: '/md/grow/product/product.md' },
274264
{ text: '团队', link: '/md/grow/team/team-system-arch.md' },
275265
]
276266
},
277267
{
278-
text: '前端Vue学习',
268+
text: '前端学习',
279269
items: [
280-
{ text: '基础', link: '/md/vue/basic/basic-concept.md' },
281-
{ text: '组件化编程', link: '/md/vue/component/component-basic.md' },
282-
//{ text: '使用Vue脚手架', link: '/md/vue/team/team-system-arch.md' },
270+
{
271+
text: 'Vue2学习',
272+
items: [
273+
{ text: 'Vue 基础', link: '/md/vue/vue2/basic/basic-concept.md' },
274+
{ text: 'Vue 组件', link: '/md/vue/vue2/component/component-basic.md' },
275+
{ text: 'Vue 脚手架', link: '/md/vue/vue2/CLI/cli-init.md' },
276+
{ text: 'Vue中的Ajax', link: '/md/vue/vue2/ajax/ajax-basic.md' },
277+
{ text: 'Vuex', link: '/md/vue/vue2/vuex/vuex-basic.md' },
278+
{ text: 'Vue Router', link: '/md/vue/vue2/vue_router/vue-router-basic.md' },
279+
]
280+
},
281+
{
282+
text: 'Vue3学习',
283+
items: [
284+
{ text: 'Vue3 - 学习', link: '/md/vue/vue3/vue3-use.md' }
285+
]
286+
}
283287
]
284288
},
285289
{

.vuepress/config/sidebar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
let {
22
genSidebar4Cplusplus, genSidebar4Database, genSidebar4Alg, genSidebar4Program, genSidebar4develop, genSidebar4microServices,
3-
genSidebar4arch, genSidebar4method, genSidebar4Devops, genSidebar4project, genSidebar4booknote, genSidebar4interview, genSidebar4Article,
3+
genSidebar4method, genSidebar4Devops, genSidebar4project, genSidebar4booknote, genSidebar4interview, genSidebar4Article,
44
genSidebar4dailyUse, genSidebar4About, genSidebar4Grow, genSidebar4Vue
55
} = require('./function.js')
66

@@ -11,7 +11,7 @@ module.exports = {
1111
"/md/programming/": genSidebar4Program(),
1212
"/md/develop/": genSidebar4develop(),
1313
"/md/micro-services/": genSidebar4microServices(),
14-
"/md/arch/": genSidebar4arch(),
14+
// "/md/arch/": genSidebar4arch(),
1515
"/md/method/": genSidebar4method(),
1616
"/md/devops/": genSidebar4Devops(),
1717
"/md/project/": genSidebar4project(),
-70.1 KB
Binary file not shown.

md/devops/shortcut/vscode.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[[toc]]
55

6-
```
6+
77
注释:
88
  a) 单行注释:[ctrl+k,ctrl+c] 或 ctrl+/
99
  b) 取消单行注释:[ctrl+k,ctrl+u] (按下ctrl不放,再按k + u)
@@ -18,8 +18,8 @@
1818
查找文件/安装vs code 插件地址:ctrl + p
1919
代码格式化:shift + alt +f
2020
新建一个窗口: ctrl + shift + n
21-
行增加缩进: ctrl + [
22-
行减少缩进: ctrl + ]
21+
**行增加缩进: ctrl + [ **
22+
**行减少缩进: ctrl + ] **
2323
快速定位到某一行: ctrl + g
2424
裁剪尾随空格(去掉一行的末尾那些没用的空格) : ctrl + shift + x
2525
字体放大/缩小: ctrl + ( + 或 - )
@@ -46,7 +46,7 @@
4646
当前文件替换:ctrl + h
4747
打开最近打开的文件:ctrl + r
4848
打开新的命令窗:ctrl + shift + c
49-
```
49+
5050

5151

5252
# 编辑器与窗口管理

0 commit comments

Comments
 (0)