Skip to content

Commit 6f38a0e

Browse files
committed
docs: 更新文档
1 parent 797126f commit 6f38a0e

File tree

38 files changed

+4933
-20476
lines changed

38 files changed

+4933
-20476
lines changed

.github/workflows/deploy.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
21
name: 部署文档
32

43
on:
54
push:
65
branches:
7-
# 确保这是你正在使用的分支名称
86
- main
97

108
permissions:
@@ -15,29 +13,32 @@ jobs:
1513
runs-on: ubuntu-latest
1614
steps:
1715
- name: Checkout
18-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1917
with:
2018
fetch-depth: 0
2119
# 如果你文档需要 Git 子模块,取消注释下一行
2220
# submodules: true
2321

24-
- name: 设置 Node.js
25-
uses: actions/setup-node@v3
22+
- name: Install pnpm
23+
uses: pnpm/action-setup@v4
24+
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v4
2627
with:
27-
node-version: 16.19
28-
cache: npm
28+
node-version: 22
29+
cache: pnpm
2930

30-
- name: 安装依赖
31-
run: npm ci
31+
- name: Install dependencies
32+
run: pnpm install --frozen-lockfile
3233

33-
- name: 构建文档
34+
- name: Build docs
3435
env:
3536
NODE_OPTIONS: --max_old_space_size=8192
3637
run: |-
37-
npm run build
38+
pnpm build
3839
> docs/.vuepress/dist/.nojekyll
3940
40-
- name: 部署文档
41+
- name: Deploy Github Pages
4142
uses: JamesIves/github-pages-deploy-action@v4
4243
with:
4344
# 这是文档部署到的分支名称

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,14 +488,14 @@
488488

489489
### [分布式综合](docs/15.分布式/分布式理论)
490490

491-
- [分布式简介](docs/15.分布式/分布式理论/分布式简介.md)
491+
- [分布式简介](docs/15.分布式/分布式理论/分布式简介.md) - 关键词:`发展``指标``分类``挑战`
492492
- [逻辑时钟](docs/15.分布式/分布式理论/逻辑时钟.md) - 关键词:`逻辑时钟``向量时钟``版本时钟``全序``偏序`
493493
- [CAP 和 BASE](docs/15.分布式/分布式理论/CAP&BASE.md) - 关键词:`ACID``CAP``BASE``一致性`
494494
- [拜占庭将军问题](docs/15.分布式/分布式理论/拜占庭将军问题.md) - 关键词:`共识`
495-
- [分布式算法 Paxos](docs/15.分布式/分布式理论/Paxos.md) - 关键词:`共识``Paxos`
496-
- [分布式算法 Raft](docs/15.分布式/分布式理论/Raft.md) - 关键词:`共识``Raft`
497-
- [分布式算法 Gossip](docs/15.分布式/分布式理论/Gossip.md) - 关键词:`Gossip`
495+
- [分布式算法 Paxos](docs/15.分布式/分布式理论/Paxos.md) - 关键词:`共识``Paxos``两阶段提交``多数派决议`
496+
- [分布式算法 Raft](docs/15.分布式/分布式理论/Raft.md) - 关键词:`共识``Raft``选主``日志复制``安全性`
498497
- [ZAB 协议](docs/15.分布式/分布式理论/Zab.md) - 关键词:`共识``ZAB``ZooKeeper`
498+
- [分布式算法 Gossip](docs/15.分布式/分布式理论/Gossip.md) - 关键词:`Gossip``去中心化``最终一致性``反熵``谣言传播`
499499
- [分布式理论面试](docs/15.分布式/分布式理论/分布式理论面试.md) 💯
500500

501501
### [分布式协同](docs/15.分布式/分布式协同)
-33.2 KB
Binary file not shown.
-64.4 KB
Binary file not shown.
-3.71 KB
Binary file not shown.

docs/.vuepress/navbar.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default navbar([
1919
link: 'JavaCore/',
2020
children: ['基础特性/', '高级特性/', '容器/', 'IO/', '并发/', 'JVM/', '面试/']
2121
},
22-
{ text: 'JavaEE', icon: 'mdi:numeric-2-box-multiple-outline', link: 'JavaEE/' },
22+
{ text: 'JavaWeb', icon: 'mdi:numeric-2-box-multiple-outline', link: 'JavaWeb/' },
2323
{ text: '软件', icon: 'mdi:numeric-3-box-multiple-outline', link: '软件/' },
2424
{ text: '工具', icon: 'mdi:numeric-4-box-multiple-outline', link: '工具/' },
2525
{ text: '框架', icon: 'mdi:numeric-5-box-multiple-outline', link: '框架/' },
@@ -117,8 +117,7 @@ export default navbar([
117117
{
118118
text: '分布式协同',
119119
prefix: '分布式协同/',
120-
link: '分布式协同/',
121-
children: [{ text: 'ZooKeeper', link: 'ZooKeeper/' }]
120+
link: '分布式协同/'
122121
},
123122
{ text: '分布式调度', link: '分布式调度/' },
124123
{

docs/.vuepress/public/assets/image/advanced.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)