From 6265d0274b86a364a8a39cc1b25405592e326812 Mon Sep 17 00:00:00 2001 From: Kang Huaishuai Date: Wed, 3 Mar 2021 00:11:07 +0800 Subject: [PATCH] [vuepress] Update version Signed-off-by: Kang Huaishuai --- .github/workflows/check-link.yml | 1 + .github/workflows/ci.yaml | 2 +- .vuepress/config.js | 10 +++++----- cases/ci/actions/README.md | 2 +- install/raspberry-pi.md | 2 +- package.json | 2 +- repository/nexus3_registry.md | 2 +- 7 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-link.yml b/.github/workflows/check-link.yml index 6250589..e0fff29 100644 --- a/.github/workflows/check-link.yml +++ b/.github/workflows/check-link.yml @@ -60,6 +60,7 @@ jobs: "x.x.x.x/base",\ "x.x.x.x:9000/minio/",\ "yeasy.gitbooks.io",\ + "download.fastgit.org",\ "www.aliyun.com" \ --allow-dupe \ --skip-save-results \ diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 45819df..80f6885 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -122,7 +122,7 @@ jobs: run: | sudo rm -rf .vuepress/dist/.git - echo "FROM nginx:alpine" >> Dockerfile + echo "FROM nginx:alpine" > Dockerfile echo "COPY .vuepress/dist /usr/share/nginx/html" >> Dockerfile echo "COPY .docker/docker-entrypoint.sh /" >> Dockerfile echo "ENTRYPOINT [\"/docker-entrypoint.sh\"]" >> Dockerfile diff --git a/.vuepress/config.js b/.vuepress/config.js index 5ffa543..330dc1a 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -48,9 +48,9 @@ module.exports = config({ appKey: "...", // your appKey }, pageInfo: [ - // 'Author', - 'ReadTime', - 'Word', + // 'author', + 'reading-time', + 'word', ], footer: { content: "Made with vuepress-theme-hope", @@ -126,8 +126,8 @@ module.exports = config({ // link: '' // }, { - text: '腾讯云容器服务', - link: 'https://cloud.tencent.com/act/cps/redirect?redirect=10058&cps_key=3a5255852d5db99dcd5da4c72f05df61' + text: '腾讯云2021新春采购节', + link: 'https://cloud.tencent.com/act/cps/redirect?redirect=10488&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=activity' }, // { // text: '语言', diff --git a/cases/ci/actions/README.md b/cases/ci/actions/README.md index 8b5364f..2048652 100644 --- a/cases/ci/actions/README.md +++ b/cases/ci/actions/README.md @@ -25,4 +25,4 @@ jobs: ## 参考资料 -* [Actions Docs](https://docs.github.com/en/free-pro-team@latest/actions) +* [Actions Docs](https://docs.github.com/en/actions) diff --git a/install/raspberry-pi.md b/install/raspberry-pi.md index be1a73d..7726704 100644 --- a/install/raspberry-pi.md +++ b/install/raspberry-pi.md @@ -6,7 +6,7 @@ Docker 不仅支持 `x86_64` 架构的计算机,同时也支持 `ARM` 架构的计算机,本小节内容以树莓派单片电脑为例讲解 `ARM` 架构安装 Docker。 -Docker 支持以下版本的 [Raspberry Pi OS](https://www.raspberrypi.org/downloads/raspberry-pi-os/) 操作系统: +Docker 支持以下版本的 [Raspberry Pi OS](https://www.raspberrypi.org/software/operating-systems/) 操作系统: * Raspberry Pi OS Buster diff --git a/package.json b/package.json index 3ce29fe..e7d5fb0 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "chalk": "^2.4.2", "commander": "^2.0.0", "esm": "^3.0.0", - "vuepress": "1.7.1", + "vuepress": "1.8.2", "vuepress-plugin-container": "^2.1.5", "vuepress-theme-hope": "^1.0.0" }, diff --git a/repository/nexus3_registry.md b/repository/nexus3_registry.md index 4412613..619c63a 100644 --- a/repository/nexus3_registry.md +++ b/repository/nexus3_registry.md @@ -1,6 +1,6 @@ # Nexus3.x 的私有仓库 -使用 Docker 官方的 Registry 创建的仓库面临一些维护问题。比如某些镜像删除以后空间默认是不会回收的,需要一些命令去回收空间然后重启 Registry 程序。在企业中把内部的一些工具包放入 Nexus 中是比较常见的做法,最新版本 `Nexus3.x` 全面支持 Docker 的私有镜像。所以使用 [`Nexus3.x`](https://www.sonatype.com/nexus/repository-oss/download) 一个软件来管理 `Docker` , `Maven` , `Yum` , `PyPI` 等是一个明智的选择。 +使用 Docker 官方的 Registry 创建的仓库面临一些维护问题。比如某些镜像删除以后空间默认是不会回收的,需要一些命令去回收空间然后重启 Registry 程序。在企业中把内部的一些工具包放入 Nexus 中是比较常见的做法,最新版本 `Nexus3.x` 全面支持 Docker 的私有镜像。所以使用 [`Nexus3.x`](https://www.sonatype.com/nexus/repository-oss-download) 一个软件来管理 `Docker` , `Maven` , `Yum` , `PyPI` 等是一个明智的选择。 ## 启动 Nexus 容器