diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2ca1d99..c97bc62 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,6 +15,6 @@ "postStartCommand": [ "sh", "-cx", - "pwd ; mkdir -p /workspaces/docker_practice/node_modules; mkdir -p /workspaces/docker_practice/_book; mount --bind /srv/gitbook/node_modules /workspaces/docker_practice/node_modules ; mount --bind /mnt /workspaces/docker_practice/_book" + "pwd ; cd /workspaces/docker_practice ; mkdir -p ${PWD}/node_modules; mkdir -p ${PWD}/_book; mount --bind /srv/gitbook/node_modules ${PWD}/node_modules ; mount --bind /mnt ${PWD}/_book" ] } diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 10afc2b..3892ff4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,7 @@ on: push: pull_request: + workflow_dispatch: name: CI diff --git a/.vuepress/config.js b/.vuepress/config.js index 6c5dacd..309d176 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -1,5 +1,7 @@ const resolve = require("vuepress-theme-hope/resolve"); +// const { config } = require('vuepress-theme-hope') +// module.exports =config({ module.exports = resolve({ title: 'Docker 从入门到实践', base: '/', @@ -52,7 +54,7 @@ module.exports = resolve({ 'Word', ], footer: { - content: "", + content: "Powerd by Vuepress, Made with vuepress-theme-hope", display: true, copyright: false, }, @@ -62,16 +64,13 @@ module.exports = resolve({ hostname: 'https://vuepress.mirror.docker-practice.com', // author: 'yeasy', markdown: { - // lineNumbers: true, - // sub: true, - // footnote: true - enableAll: true + lineNumbers: true, }, themeColor: { blue: '#2196f3', - red: '#f26d6d', - green: '#3eaf7c', - orange: '#fb9b5f' + // red: '#f26d6d', + // green: '#3eaf7c', + // orange: '#fb9b5f' }, //