Skip to content

Commit ced189d

Browse files
author
Chu Fan
committed
docs: 更新一些文档,优化导航栏
- 升级vuepress版本 - 优化导航栏 - 修复一些问题
1 parent 88b70aa commit ced189d

File tree

96 files changed

+1793
-1389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1793
-1389
lines changed

code/algorithm/剑指/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
### 栈队列堆
1818

1919
- [ ] [【简单】两个栈实现队列](./栈队列堆/JSStackToQueue.js)
20-
- [ ] [【中等】最小的k个数](./栈队列堆/GetLeastNumbers_Solution.js)
20+
- [ ] [【中等】最小的k个数](./栈队列堆/getLeastNumbersSolution.js)
2121
- [ ] [【中等】数据流中的中位数](./栈队列堆/InsertAndGetMedian.js)
2222
- [ ] [【中等】字符流中的第一个不重复的字符](./栈队列堆/FirstAppearingOnce.js)
2323
- [ ] [【较难】滑动窗口的最大值](./栈队列堆/maxInWindows.js)
File renamed without changes.

docs/.vuepress/config/navbar.ts

Lines changed: 7 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import {battleInterviewSidebar} from "../../manuscript/battle-interview/battle-interview.sidebar";
2-
31
export default [
42
{
53
text: "首页", link: "/",
@@ -14,98 +12,20 @@ export default [
1412
text: "Solo算法", link: "/manuscript/solo-algorithm",
1513
},
1614
{
17-
text: "开发技巧", link: "/manuscript/develop-skill",
15+
text: '微服务',
16+
link: "/manuscript/microservice",
1817
},
1918
{
20-
text: "读书整理", link: "/manuscript/read-books",
19+
text: "Battle面试官",
20+
link: "/manuscript/battle-interview",
2121
},
2222
{
23-
text: '微服务',
24-
collapsible: true,
25-
children: [
26-
{
27-
text: "RPC框架",
28-
children: [
29-
{
30-
text: "grpc",
31-
link: "/manuscript/server-end/database/redis",
32-
},
33-
{
34-
text: "egg-grpc-client",
35-
link: "/manuscript/server-end/database/mysql",
36-
},
37-
{
38-
text: "egg-grpc-server",
39-
link: "/manuscript/server-end/database/mongo",
40-
},
41-
],
42-
},
43-
{
44-
text: "服务注册|发现",
45-
children: [
46-
{
47-
text: "Apollo",
48-
link: "/manuscript/server-end/database/redis",
49-
},
50-
{
51-
text: "Consul",
52-
link: "/manuscript/server-end/database/mysql",
53-
},
54-
{
55-
text: "Nacos",
56-
link: "/manuscript/server-end/database/mongo",
57-
},
58-
],
59-
},
60-
{
61-
text: '网关Kong',
62-
link: '/manuscript/kong'
63-
},
64-
{
65-
text: 'ELK',
66-
link: '/manuscript/elk'
67-
},
68-
{
69-
text: "消息中间件",
70-
children: [
71-
{
72-
text: "RabbitMQ",
73-
link: "/manuscript/mq",
74-
},
75-
{
76-
text: 'Kafka',
77-
link: '/'
78-
},
79-
{
80-
text: 'RocketMQ',
81-
link: '/'
82-
}
83-
],
84-
},
85-
{
86-
text: "容器相关",
87-
children: [
88-
{
89-
text: "docker",
90-
link: "/manuscript/server-end/container-learn/docker-base",
91-
},
92-
93-
{
94-
text: "docker-compose",
95-
link: "/manuscript/server-end/container-learn/server-deploy",
96-
},
97-
{
98-
text: "k8s",
99-
link: "/manuscript/server-end/container-learn/docker-layout",
100-
},
101-
],
102-
}]
23+
text: "开发技巧", link: "/manuscript/develop-skill",
10324
},
10425
{
105-
text: "Battle面试官",
106-
collapsible: true,
107-
children: battleInterviewSidebar,
26+
text: "读书整理", link: "/manuscript/read-books",
10827
},
28+
10929
{
11030
text: "其他", link: "/manuscript/other",
11131
},

docs/.vuepress/config/sidebar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import {esStandardSidebar} from "../../manuscript/read-books/cs-books/es-standar
77
import {OtherSidebar} from "../../manuscript/other/other.sidebar";
88
import {jobChanceSidebar} from "../../manuscript/job-chance/job-chance.sidebar";
99
import {readBooksSidebar} from "../../manuscript/read-books/read-books.sidebar";
10+
import {microserviceSidebar} from "../../manuscript/microservice/microservice.sidebar";
11+
import {battleInterviewSidebar} from "../../manuscript/battle-interview/battle-interview.sidebar";
1012

1113
export default {
1214
"/manuscript/front-end": frontEndSidebar,
@@ -18,4 +20,6 @@ export default {
1820
"/manuscript/read-books/cs-books/es-standard": esStandardSidebar,
1921
"/manuscript/other": OtherSidebar,
2022
"/manuscript/job-chance": jobChanceSidebar,
23+
"/manuscript/microservice": microserviceSidebar,
24+
"/manuscript/battle-interview": battleInterviewSidebar,
2125
}
Lines changed: 66 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,69 @@
11
export const battleInterviewSidebar = [
2-
{
3-
text: '常见面试题',
4-
link: 'interview-problems'
5-
},
6-
{
7-
text: '面经分享',
8-
link: 'introduce-share'
9-
},
10-
{
11-
text: '工作机会',
12-
children: [
13-
{
14-
text: '校招',
15-
link: 'school-recruit'
16-
},
17-
{
18-
text: '社招',
2+
{
3+
text: '面经分享',
4+
link: 'introduce-share',
5+
children: [
6+
{
7+
text: '前端常考',
8+
link: 'problems/前端常考.md'
9+
},
10+
{
11+
text: '接口幂等',
12+
link: 'problems/接口幂等.md'
13+
},
14+
{
15+
text: 'Node面试',
16+
link: 'problems/node面试.md'
17+
},
18+
{
19+
text: 'Nginx面试',
20+
link: 'problems/Nginx面试.md'
21+
},
22+
{
23+
text: 'MySQL面试',
24+
link: 'problems/MySQL面试.md'
25+
},
26+
{
27+
text: '碎碎念',
28+
link: 'problems/碎碎念.md'
29+
}
30+
]
31+
},
32+
{
33+
text: '面试题整理',
34+
children: [
35+
{
36+
text: '前端常考',
37+
link: 'problems/前端常考.md'
38+
},
39+
{
40+
text: '接口幂等',
41+
link: 'problems/接口幂等.md'
42+
},
43+
{
44+
text: 'Node面试',
45+
link: 'problems/node面试.md'
46+
},
47+
{
48+
text: 'Nginx面试',
49+
link: 'problems/Nginx面试.md'
50+
},
51+
{
52+
text: 'MySQL面试',
53+
link: 'problems/MySQL面试.md'
54+
},
55+
{
56+
text: '碎碎念',
57+
link: 'problems/碎碎念.md'
58+
}
59+
]
60+
},
61+
{
62+
text: '工作机会',
1963
link: 'social-recruit'
20-
}
21-
]
22-
},
23-
{
24-
text: '小技巧',
25-
children: [
26-
{
27-
text: '校招',
28-
link: '/'
29-
},
30-
{
31-
text: '社招',
32-
link: '/'
33-
}
34-
]
35-
}
64+
},
65+
{
66+
text: '小技巧',
67+
link: 'social-recruit'
68+
}
3669
]

docs/manuscript/battle-interview/interview-problems/Readme.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)