From cb033cf05ca54f7afe59e23677b92d812fa2bf36 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Wed, 17 Jun 2020 14:28:15 +0800 Subject: [PATCH] fix: update index.html and README.md --- README.md | 2 +- index.html | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 13df141..6dfb7b4 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ ## Doocs 社区优质项目 -GitHub 技术社区 [Doocs](https://github.com/doocs),致力于打造一个内容完整、持续成长的互联网开发者学习生态圈!以下是 Doocs 的一些优秀项目,欢迎各位开发者朋友持续保持关注。 +Doocs 技术社区,致力于打造一个内容完整、持续成长的互联网开发者学习生态圈!以下是 Doocs 旗下的一些优秀项目,欢迎各位开发者朋友持续保持关注。 | # | 项目名称 | 项目描述 | |---|---|---| diff --git a/index.html b/index.html index 1833f76..e4499e7 100644 --- a/index.html +++ b/index.html @@ -64,7 +64,7 @@ '/docs/high-concurrency/', '/docs/distributed-system/', '/docs/high-availability/', - '/docs/micor-services/', + '/docs/micro-services/', '/docs/big-data/', ], depth: 3 @@ -85,8 +85,12 @@ } else { url = 'https://github.com/doocs/advanced-java/blob/master/' + vm.route.file } - const edit = en ? 'Edit on GitHub' : '在 GitHub 编辑' - const editHtml = `[:memo: ${edit}](${url})\n` + + const github = `[GitHub](${url})` + const gitee = `[Gitee](${url.replace("github", "gitee")})` + + const editHtml = en ? `:memo: 在 ${github} / ${gitee} 编辑\n` : `:memo: Edit on ${github} / ${gitee}\n`; + if (vm.route.path == '/') { return editHtml + content; } -- GitLab