Update vuepress config

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/494/head
Kang Huaishuai 2021-05-31 19:23:39 +08:00
parent 96fc5acc75
commit ba36c90b6c
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
2 changed files with 17 additions and 9 deletions

View File

@ -39,7 +39,6 @@ module.exports = config({
// },
},
themeConfig: {
baseLang: 'zh-CN',
blog: false,
// comment: false,
comment: {
@ -53,7 +52,7 @@ module.exports = config({
'word',
],
footer: {
content: "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/vuepress-theme-hope/vuepress-theme-hope'>vuepress-theme-hope</a>",
display: true,
copyright: false,
},
@ -65,12 +64,22 @@ module.exports = config({
mdEnhance: {
lineNumbers: true,
},
git: {
contributor: false,
},
themeColor: {
blue: '#2196f3',
// red: '#f26d6d',
// green: '#3eaf7c',
// orange: '#fb9b5f'
},
locales: {
"/": {
lang: "zh-CN"
}
},
darkmode: 'auto-switch',
//
@ -117,10 +126,10 @@ module.exports = config({
text: "云计算",
link: "/cloud/",
},
{
text: 'GitHub',
link: 'https://github.com/yeasy/docker_practice'
},
// {
// text: 'GitHub',
// link: 'https://github.com/yeasy/docker_practice'
// },
// {
// text: '捐赠',
// link: ''

View File

@ -3,10 +3,9 @@
"version": "1.0.0",
"description": "docker_practice",
"main": "index.js",
"dependencies": {},
"devDependencies": {
"chalk": "^2.4.2",
"commander": "^2.0.0",
"chalk": "^4.1.1",
"commander": "^7.2.0",
"esm": "^3.0.0",
"vuepress": "1.8.2",
"vuepress-plugin-container": "^2.1.5",