parent
c572a399f3
commit
47ec0e2ab8
|
@ -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\<AdSenseTitle/>\n' {} \;
|
||||
|
||||
npx vuepress --version
|
||||
|
||||
npm run vuepress:build
|
||||
echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ module.exports = resolve({
|
|||
'Word',
|
||||
],
|
||||
footer: {
|
||||
content: "Powerd by Vuepress, Made with <a target='_blank' href='https://github.com/mister-hope/vuepress-theme-hope'>vuepress-theme-hope</a>",
|
||||
content: "Made with <a target='_blank' href='https://github.com/mister-hope/vuepress-theme-hope'>vuepress-theme-hope</a>",
|
||||
display: true,
|
||||
copyright: false,
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue