Skip to content

Commit cb033cf

Browse files
committed
fix: update index.html and README.md
1 parent d109c3e commit cb033cf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174

175175
## Doocs 社区优质项目
176176

177-
GitHub 技术社区 [Doocs](https://github.com/doocs),致力于打造一个内容完整、持续成长的互联网开发者学习生态圈!以下是 Doocs 的一些优秀项目,欢迎各位开发者朋友持续保持关注。
177+
Doocs 技术社区,致力于打造一个内容完整、持续成长的互联网开发者学习生态圈!以下是 Doocs 旗下的一些优秀项目,欢迎各位开发者朋友持续保持关注。
178178

179179
| # | 项目名称 | 项目描述 |
180180
|---|---|---|

index.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
'/docs/high-concurrency/',
6565
'/docs/distributed-system/',
6666
'/docs/high-availability/',
67-
'/docs/micor-services/',
67+
'/docs/micro-services/',
6868
'/docs/big-data/',
6969
],
7070
depth: 3
@@ -85,8 +85,12 @@
8585
} else {
8686
url = 'https://github.com/doocs/advanced-java/blob/master/' + vm.route.file
8787
}
88-
const edit = en ? 'Edit on GitHub' : '在 GitHub 编辑'
89-
const editHtml = `[:memo: ${edit}](${url})\n`
88+
89+
const github = `[GitHub](${url})`
90+
const gitee = `[Gitee](${url.replace("github", "gitee")})`
91+
92+
const editHtml = en ? `:memo: 在 ${github} / ${gitee} 编辑\n` : `:memo: Edit on ${github} / ${gitee}\n`;
93+
9094
if (vm.route.path == '/') {
9195
return editHtml + content;
9296
}

0 commit comments

Comments
 (0)