From 47ec0e2ab8c19491e2e7e99e71681a7005296534 Mon Sep 17 00:00:00 2001 From: Kang Huaishuai Date: Wed, 14 Oct 2020 13:40:46 +0800 Subject: [PATCH] [vuepress] bump 1.6.0 Signed-off-by: Kang Huaishuai --- .github/workflows/ci.yaml | 4 +++- .vuepress/config.js | 2 +- package.json | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3892ff4..5ba4edc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: - name: vuepress run: | sudo rm -rf _book - npm i vuepress --save-dev + # npm i vuepress --save-dev npm i git clone https://github.com/docker-practice/.vuepress .vuepress2 @@ -28,6 +28,8 @@ jobs: rm -rf .vuepress2 find . \( -path "./mesos" -o -path "./machine" -o -path "./swarm_mode" -o -path "./node_modules" -o -path "./.vuepress" -o -path "./_book" -o -path "./CHANGELOG.md" -o -path "./CONTRIBUTING.md" \) -prune -o -name "*.md" -exec sed -i 'N;2a\\n' {} \; + npx vuepress --version + npm run vuepress:build echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME diff --git a/.vuepress/config.js b/.vuepress/config.js index 309d176..0cbb74a 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -54,7 +54,7 @@ module.exports = resolve({ 'Word', ], footer: { - content: "Powerd by Vuepress, Made with vuepress-theme-hope", + content: "Made with vuepress-theme-hope", display: true, copyright: false, }, diff --git a/package.json b/package.json index 3ff639d..6435862 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "chalk": "^2.4.2", "commander": "^2.0.0", "esm": "^3.0.0", + "vuepress": "1.6.0", "vuepress-plugin-container": "^2.1.5", "vuepress-theme-hope": "^0.8.0" },