Skip to content

Commit 9550151

Browse files
author
微信公众号:储凡
authored
Merge pull request #175 from 142vip/feat/add-docs
feat: 增加文档内容,优化站点主页,新增`icon`图标、超链接
2 parents 39cdc29 + be4d82a commit 9550151

File tree

7 files changed

+72
-92
lines changed

7 files changed

+72
-92
lines changed

docs/.vuepress/theme/navbar.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default navbar([
6060
},
6161
{
6262
text: '🎯 开发计划',
63-
link: 'https://142vip-cn.feishu.cn/share/base/view/shrcnxtFKV2JfBZbqFh0GUxzTOg',
63+
link: 'https://142vip-cn.feishu.cn/share/base/view/shrcnuuRDWBoHLmYaknXWFuhR4d',
6464
},
6565
{
6666
text: '🔗 技术&平台',

docs/.vuepress/theme/theme.ts

+7
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ export const themeConfig = {
9393
readingTime: {
9494
wordPerMinute: 100,
9595
},
96+
// 水印
97+
// watermark: {
98+
// enabled: true,
99+
// watermarkOptions: {
100+
// content: '微信公众号:储凡',
101+
// },
102+
// },
96103
copyright: false,
97104
// 开启博客功能
98105
blog: false,

docs/README.md

+60-87
Original file line numberDiff line numberDiff line change
@@ -11,112 +11,87 @@ actions:
1111
- text: 工作机会 🏆
1212
link: /job-chance/job-poster-bytedance.md
1313
type: secondary
14-
# - text: 公众号文章💡
15-
# link: /wechat-list.md
16-
# type: secondary
17-
18-
features:
19-
- title: SOLO算法
20-
details: 习题整理,代码通过记录,个人实际解题思路,助力刷题通关
21-
link: /solo-algorithm/
22-
- title: Battle面试官
23-
details: 校招社招八股文集合,分享面经与常见面试题,总结面试套路、经验,对线、Battle面试官丝毫不慌
24-
link: /battle-interview/
25-
- title: 前端
26-
details: 熟练前端基础知识、常用框架,总结、提炼前端部署方案
27-
link: /front-end/
28-
- title: 后端
29-
details: 夯实基础、熟练使用框架,有一定封装能力。造轮子、定制化插件功能,保姆级开发、部署流程
30-
link: /server-end/
31-
- title: 微服务
32-
details: 网关、服务间调用、ELK、消息中间件等对开发有更高要求,学习技术无止境
33-
link: /microservice/
34-
- title: 开发技巧
35-
details: 知识很重要,技巧不可缺。汇总日常软件安装、基础编译、代码管理等琐碎小技巧
36-
link: /develop-skill/
37-
- title: 读书写作
38-
details: 代码虽好,读书提升更为重要,不可偏执一端。人文社科、生活百态都是职场、人生的软技能
39-
link: /read-books/
40-
- title: 自媒体
41-
details: 尝试尝试再尝试,等等我呀。一路磕磕绊绊,自认并无天赋,辛酸、冷暖自知。 做好当下,便是不辜负自己
42-
link: /wechat-list.html
14+
- text: 公众号文章 💥
15+
link: /wechat-list.md
16+
type: secondary
17+
highlights:
18+
- header: ""
19+
image: /assets/image/markdown.svg
20+
features:
21+
- title: "🧠 SOLO算法"
22+
details: 习题整理,代码通过记录,个人实际解题思路,助力刷题通关
23+
link: /solo-algorithm/
24+
- title: "💡 Battle面试官"
25+
details: 校招社招八股文集合,分享面经与常见面试题,总结面试套路、经验,对线、Battle面试官丝毫不慌
26+
link: /battle-interview/
27+
- title: "👩🏻‍💻 前端"
28+
details: 熟练前端基础知识、常用框架,总结、提炼前端部署方案
29+
link: /front-end/
30+
- title: '👨🏻‍💻 后端'
31+
details: 夯实基础、熟练使用框架,有一定封装能力。造轮子、定制化插件功能,保姆级开发、部署流程
32+
link: /server-end/
33+
- title: '🕸️ 微服务架构'
34+
details: 网关、服务间调用、ELK、消息中间件等对开发有更高要求,学习技术无止境
35+
link: /microservice/
36+
- title: '💫 开发技巧'
37+
details: 知识很重要,技巧不可缺。汇总日常软件安装、基础编译、代码管理等琐碎小技巧
38+
link: /develop-skill/
39+
- title: '📖 读书整理'
40+
details: 代码虽好,读书提升更为重要,不可偏执一端。人文社科、生活百态都是职场、人生的软技能。做好当下,便是不辜负
41+
link: /read-books/
42+
- title: '💥 公众号文章'
43+
details: 不定期同步公众号文章,尝试尝试再尝试,等等我呀~
44+
link: /wechat-list.html
45+
46+
- header: 我的开源
47+
features:
48+
- title: "🚀 @142vip/core-x"
49+
details: "核心库开源,x代表一切可能性"
50+
link: https://github.com/142vip/core-x
51+
- title: "🤡 408CSFamily"
52+
details: 计算机408专业课
53+
link: https://github.com/142vip/408CSFamily
54+
- title: "📘 JavaScriptCollection"
55+
details: Node.js全栈技能包
56+
link: https://github.com/142vip/JavaScriptCollection
4357
---
4458

4559
[//]: # '<BiliBili bvid="BV1rd4y1V7tB" />'
4660
[//]: # '<XiGua id="7195198927220834868" />'
4761

48-
## 本地浏览【推荐】
49-
50-
由于平台、网络等原因,在线浏览容易出现加载面、加载不出来等常见问题,因此非常建议在本地进行浏览、学习。
51-
52-
-
53-
54-
\*下面指令默认你已经安装[Git](https://git-scm.com/download)[NPM](https://www.npmjs.com/)[PNPM](https://www.pnpm.cn/)[Yarn](https://yarn.bootcss.com/)[Node](http://nodejs.cn)
55-
等环境,并对此有一定了解!\*\*
56-
57-
::: code-tabs#shell
58-
@tab PNPM(推荐)
59-
60-
```bash:no-line-numbers
61-
## 进入cmd命令行,直接克隆仓库
62-
git clone https://github.com/142vip/JavaScriptCollection.git
63-
64-
## 进入JavaScriptCollection文件夹中
65-
cd JavaScriptCollection/
66-
67-
## tips: 如果本地已经clone过仓库,建议执行pull指令,获取最新
68-
git pull
69-
70-
## 下载依赖包
71-
pnpm install
62+
---
7263

73-
## 执行dev指令,本地启动项目,打开http://localhost:5000即可访问文档
74-
pnpm dev
64+
### 本地浏览
7565

76-
```
66+
由于平台、网络等原因,在线浏览容易出现加载面、加载不出来等常见问题,因此非常建议在本地进行浏览、学习。
7767

78-
@tab NPM
68+
> **下面指令默认你已经安装[Git](https://git-scm.com/download)[NPM](https://www.npmjs.com/)[PNPM](https://www.pnpm.cn/)[Node](http://nodejs.cn)
69+
> 等环境,并对此有一定了解!**
7970
8071
```bash:no-line-numbers
81-
## 进入cmd命令行,直接克隆仓库
72+
# 进入cmd命令行,直接克隆仓库
8273
git clone https://github.com/142vip/JavaScriptCollection.git
8374
84-
## 进入JavaScriptCollection文件夹中
75+
# 进入JavaScriptCollection文件夹中
8576
cd JavaScriptCollection/
8677
87-
## tips: 如果本地已经clone过仓库,建议执行pull指令,获取最新
78+
# tips: 如果本地已经clone过仓库,建议执行pull指令,获取最新
8879
git pull
8980
90-
## 下载依赖包
91-
npm install
92-
93-
## 执行dev指令,本地启动项目,打开http://localhost:5000即可访问文档
94-
npm run dev
95-
96-
```
81+
# 查看Node、PNPM版本
82+
node -v
83+
pnpm -v
9784
98-
@tab YARN
85+
# 脚本安装依赖
86+
./scripts/ci
9987
100-
```bash:no-line-numbers
101-
## 进入cmd命令行,直接克隆仓库
102-
git clone https://github.com/142vip/JavaScriptCollection.git
103-
104-
## 进入JavaScriptCollection文件夹中
105-
cd JavaScriptCollection/
106-
107-
## tips: 如果本地已经clone过仓库,建议执行pull指令,获取最新
108-
git pull
109-
110-
## 下载依赖包
111-
yarn install
112-
113-
## 执行dev指令,本地启动项目,打开http://localhost:5000即可访问文档
114-
yarn run dev
88+
# 或直接安装
89+
pnpm install
11590
91+
# 执行dev指令,本地启动项目,打开http://localhost:5000即可访问文档
92+
pnpm dev
11693
```
11794

118-
:::
119-
12095
查看项目启动日志并访问:[http://127.0.0.1:5000](http://localhost:5000),开启学习之旅吧~
12196

12297
### 在线浏览
@@ -129,6 +104,4 @@ yarn run dev
129104
- Netlify: <https://js-collection.netlify.app>
130105
- Vercel: <https://js-collection.vercel.app>
131106

132-
[//]: # '自动引入首页'
133-
134107
<!-- @include: ../README.md#we-media -->
File renamed without changes.

docs/read-books/read-books.sidebar.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const ReadBooksSidebar = [
22
{
3-
text: '技术类',
4-
collapsible: true,
3+
text: '📕 技术类',
4+
// collapsible: true,
55
prefix: 'cs-books',
66
children: [
77
{
@@ -27,8 +27,8 @@ export const ReadBooksSidebar = [
2727
],
2828
},
2929
{
30-
text: '非技术类',
31-
collapsible: true,
30+
text: '📗 非技术类',
31+
// collapsible: true,
3232
prefix: 'not-cs-book',
3333
children: [
3434
{
File renamed without changes.

0 commit comments

Comments
 (0)