Skip to content

Commit 6ad7e82

Browse files
author
Chu Fan
committed
feat: 文档更新
1 parent fe5f02e commit 6ad7e82

6 files changed

Lines changed: 169 additions & 166 deletions

File tree

docs/.vuepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default defineUserConfig({
1717
port: 5000,
1818
head: [
1919
["link", {rel: "icon", href: "/fight_favicon.ico"}],
20+
// vercel统计 相关配置
2021
['script', {type: 'text/javascript', src: '/_vercel/insights/script.js'}]
2122
],
2223
markdown: {

docs/develop-skill/code-manager/git-commit-rule.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ subject是 commit 目的的简短描述,不超过50个字符。
5050
- 结尾不加句号(.)
5151
#### Body
5252
Body 部分是对本次 commit 的详细描述,可以分成多行,每行尽量不超过72个字符。例如:
53-
```typescript
53+
54+
```text
5455
More detailed explanatory text, if necessary. Wrap it to
5556
about 72 characters or so.
5657
@@ -60,11 +61,12 @@ Further paragraphs come after blank lines.
6061
- Use a hanging indent
6162
```
6263
**关闭 Issue**
63-
如果当前 commit 针对某个issue,那么可以在 Footer 部分关闭这个 issue 。
64-
```typescript
64+
如果当前 commit 针对某个issue,那么可以在 Footer 部分关闭这个 issue
65+
66+
```text
6567
Closes #234
6668
```
6769
也可以一次关闭多个 issue 。
68-
```typescript
70+
```text
6971
Closes #123, #245, #992
7072
```
Lines changed: 103 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,108 @@
11
export const developSkillSidebar = [
2-
{
3-
text: '软件安装',
4-
collapsible: true,
2+
{
3+
text: '软件安装',
4+
collapsible: true,
5+
children: [
6+
{
7+
text: 'IDEA',
8+
link: '/develop-skill/npm/npm'
9+
},
10+
{
11+
text: '软件大杂烩',
12+
link: '/develop-skill/software-install/readme.md'
13+
}
14+
]
15+
},
16+
{
17+
text: '包管理器',
18+
collapsible: true,
19+
children: [
20+
{
21+
text: 'npm',
22+
link: '/develop-skill/npm/npm'
23+
},
24+
{
25+
text: 'pnpm',
26+
link: '/develop-skill/npm/pnpm'
27+
},
28+
{
29+
text: 'yarn',
30+
link: '/develop-skill/npm/yarn'
31+
}
32+
]
33+
},
34+
{
35+
text: 'monorepo',
36+
collapsible: true,
37+
children: [
38+
{
39+
text: 'pnpm实现',
40+
link: '/develop-skill/monorepo/pnpm-style.md'
41+
},
42+
{
43+
text: 'turboRepo',
44+
link: '/develop-skill/monorepo/turboRepo.md'
45+
}
46+
]
47+
},
48+
{
49+
text: '编译工具',
50+
collapsible: true,
51+
children: [
52+
{
53+
text: 'webpack',
54+
link: '/'
55+
},
56+
{
57+
text: 'vite',
58+
link: '/'
59+
}
60+
]
61+
},
62+
{
63+
text: '代码管理',
64+
collapsible: true,
65+
children: [
66+
{
67+
text: 'Git',
568
children: [
6-
{
7-
text: 'IDEA',
8-
link: '/develop-skill/npm/npm'
9-
},
10-
{
11-
text: '软件大杂烩',
12-
link: '/develop-skill/software-install/readme.md'
13-
}
69+
{
70+
text: '基本操作',
71+
link: '/develop-skill/code-manager/git.md'
72+
},
73+
{
74+
text: '分支版本规范',
75+
link: '/develop-skill/code-manager/git-branch-rule.md'
76+
},
77+
{
78+
text: '提交规范',
79+
link: '/develop-skill/code-manager/git-commit-rule.md'
80+
},
81+
{
82+
text: '修改历史提交信息',
83+
link: '/develop-skill/code-manager/git-info-reset.md'
84+
}
1485
]
15-
},
16-
{
17-
text: '包管理器',
18-
collapsible: true,
19-
children: [
20-
{
21-
text: 'npm',
22-
link: '/develop-skill/npm/npm'
23-
},
24-
{
25-
text: 'pnpm',
26-
link: '/develop-skill/npm/pnpm'
27-
},
28-
{
29-
text: 'yarn',
30-
link: '/develop-skill/npm/yarn'
31-
}
32-
]
33-
},
34-
{
35-
text: 'monorepo',
36-
collapsible: true,
37-
children: [
38-
{
39-
text: 'pnpm实现',
40-
link: '/develop-skill/monorepo/pnpm-style.md'
41-
},
42-
{
43-
text: 'turboRepo',
44-
link: '/develop-skill/monorepo/turboRepo.md'
45-
}
46-
]
47-
},
48-
{
49-
text: '编译工具',
50-
collapsible: true,
51-
children: [
52-
{
53-
text: 'webpack',
54-
link: '/'
55-
},
56-
{
57-
text: 'vite',
58-
link: '/'
59-
}
60-
]
61-
},
62-
{
63-
text: '代码管理',
64-
collapsible: true,
65-
children: [
66-
{
67-
text: 'Git',
68-
children: [
69-
{
70-
text: '基本操作',
71-
link: '/develop-skill/code-manager/git.md'
72-
},
73-
{
74-
text: '分支版本规范',
75-
link: '/develop-skill/code-manager/git-branch-rule.md'
76-
},
77-
{
78-
text: '提交规范',
79-
link: '/develop-skill/code-manager/git-commit-rule.md'
80-
},
81-
{
82-
text: '修改历史提交信息',
83-
link: '/develop-skill/code-manager/git-info-reset.md'
84-
}
85-
]
86-
},
87-
{
88-
text: 'Github && GitLab',
89-
link: '/develop-skill/code-manager/github.md'
90-
}
91-
]
92-
},
93-
{
94-
text: '代码风格',
95-
collapsible: true,
96-
children: [
97-
{
98-
text: 'Eslint',
99-
link: '/develop-skill/eslint'
100-
},
101-
{
102-
text: 'Prettier',
103-
link: '/develop-skill/prettier'
104-
}
105-
]
106-
}
86+
},
87+
{
88+
text: 'Github && GitLab',
89+
link: '/develop-skill/code-manager/github.md'
90+
}
91+
]
92+
},
93+
{
94+
text: '代码风格',
95+
collapsible: true,
96+
children: [
97+
{
98+
text: 'Eslint',
99+
link: '/develop-skill/eslint'
100+
},
101+
{
102+
text: 'Prettier',
103+
link: '/develop-skill/prettier'
104+
}
105+
]
106+
}
107107

108108
]
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export const jobChanceSidebar = [
2-
{
3-
text: "工作机会",
4-
children: [{
5-
text: "字节跳动",
6-
link: "/job-chance/job-poster-bytedance"
7-
}]
8-
}
9-
]
2+
{
3+
text: '工作机会',
4+
children: [{
5+
text: '字节跳动',
6+
link: '/job-chance/job-poster-bytedance'
7+
}]
8+
}
9+
]

docs/other/other.sidebar.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
export const OtherSidebar = [
2-
{
3-
text: "常用网站",
4-
link: "/other/frequent-site-link",
5-
},
6-
{
7-
text: "技术文档",
8-
link: '/other/api-docs'
9-
},
10-
{
11-
text: "todo计划",
12-
link: "/other/todo-list",
13-
},
14-
{
15-
text: "变更记录",
16-
link: "/other/change-log",
17-
},
18-
]
2+
{
3+
text: '常用网站',
4+
link: '/other/frequent-site-link'
5+
},
6+
{
7+
text: '技术文档',
8+
link: '/other/api-docs'
9+
},
10+
{
11+
text: 'todo计划',
12+
link: '/other/todo-list'
13+
},
14+
{
15+
text: '变更记录',
16+
link: '/other/change-log'
17+
}
18+
]
Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
export const soloAlgorithmSidebar = [
2-
{
3-
text: '刷题整理',
4-
children: [
5-
{
6-
text: '前端',
7-
link: '/solo-algorithm/前端/'
8-
},
9-
{
10-
text: '剑指Offer',
11-
link: '/solo-algorithm/剑指/'
12-
},
13-
{
14-
text: '后端',
15-
link: '/solo-algorithm/后端/'
16-
}
17-
]
18-
},
19-
{
20-
text: '在线刷题',
21-
children: [
2+
{
3+
text: '刷题整理',
4+
children: [
5+
{
6+
text: '前端',
7+
link: '/solo-algorithm/前端/'
8+
},
9+
{
10+
text: '剑指Offer',
11+
link: '/solo-algorithm/剑指/'
12+
},
13+
{
14+
text: '后端',
15+
link: '/solo-algorithm/后端/'
16+
}
17+
]
18+
},
19+
{
20+
text: '在线刷题',
21+
children: [
2222

23-
{
24-
text: '牛客网',
25-
link: 'https://www.nowcoder.com/'
26-
},
27-
{
28-
text: 'LeetCode',
29-
link: 'https://leetcode-cn.com/'
30-
},
31-
{
32-
text: '杭电OJ',
33-
link: 'http://acm.hdu.edu.cn/'
34-
}
35-
]
36-
},
23+
{
24+
text: '牛客网',
25+
link: 'https://www.nowcoder.com/'
26+
},
27+
{
28+
text: 'LeetCode',
29+
link: 'https://leetcode-cn.com/'
30+
},
31+
{
32+
text: '杭电OJ',
33+
link: 'http://acm.hdu.edu.cn/'
34+
}
35+
]
36+
}
3737
]

0 commit comments

Comments
 (0)