[vuepress] support dark mode, close #463
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>pull/464/head
parent
d071ed7b99
commit
83929dd096
|
@ -21,7 +21,7 @@ jobs:
|
|||
sudo rm -rf _book
|
||||
npm i vuepress --save-dev
|
||||
npm i
|
||||
npm run vuepress:build
|
||||
npm run vuepress:build || true
|
||||
echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME
|
||||
|
||||
cp -r _images .vuepress/dist
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
module.exports = {
|
||||
const resolve = require("vuepress-theme-hope/resolve");
|
||||
|
||||
module.exports = resolve({
|
||||
themeConfig: {
|
||||
blog: false,
|
||||
comment: {
|
||||
type: "disable", // 使用 Valine
|
||||
appId: "...", // your appId
|
||||
appKey: "...", // your appKey
|
||||
},
|
||||
pageInfo: false
|
||||
},
|
||||
title: 'Docker 从入门到实践',
|
||||
base: '/',
|
||||
head: [['script', {}, `
|
||||
|
@ -401,4 +412,4 @@ module.exports = {
|
|||
],
|
||||
},
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
这个指令很简单,就是设置环境变量而已,无论是后面的其它指令,如 `RUN`,还是运行时的应用,都可以直接使用这里定义的环境变量。
|
||||
|
||||
```Dockerfie
|
||||
```docker
|
||||
ENV VERSION=1.0 DEBUG=on \
|
||||
NAME="Happy Feet"
|
||||
```
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
"commander": "^4.0.1",
|
||||
"esm": "^3.2.25",
|
||||
"vuepress-plugin-container": "^2.1.2",
|
||||
"vuepress-plugin-sitemap": "^2.3.1"
|
||||
"vuepress-plugin-sitemap": "^2.3.1",
|
||||
"vuepress-theme-hope": "^0.7.3"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
|
|
Loading…
Reference in New Issue