parent
c572a399f3
commit
47ec0e2ab8
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: vuepress
|
- name: vuepress
|
||||||
run: |
|
run: |
|
||||||
sudo rm -rf _book
|
sudo rm -rf _book
|
||||||
npm i vuepress --save-dev
|
# npm i vuepress --save-dev
|
||||||
npm i
|
npm i
|
||||||
|
|
||||||
git clone https://github.com/docker-practice/.vuepress .vuepress2
|
git clone https://github.com/docker-practice/.vuepress .vuepress2
|
||||||
|
@ -28,6 +28,8 @@ jobs:
|
||||||
rm -rf .vuepress2
|
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' {} \;
|
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
|
npm run vuepress:build
|
||||||
echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME
|
echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ module.exports = resolve({
|
||||||
'Word',
|
'Word',
|
||||||
],
|
],
|
||||||
footer: {
|
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,
|
display: true,
|
||||||
copyright: false,
|
copyright: false,
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
"chalk": "^2.4.2",
|
"chalk": "^2.4.2",
|
||||||
"commander": "^2.0.0",
|
"commander": "^2.0.0",
|
||||||
"esm": "^3.0.0",
|
"esm": "^3.0.0",
|
||||||
|
"vuepress": "1.6.0",
|
||||||
"vuepress-plugin-container": "^2.1.5",
|
"vuepress-plugin-container": "^2.1.5",
|
||||||
"vuepress-theme-hope": "^0.8.0"
|
"vuepress-theme-hope": "^0.8.0"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue