Update vuepress config
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>pull/494/head
parent
96fc5acc75
commit
ba36c90b6c
|
@ -39,7 +39,6 @@ module.exports = config({
|
||||||
// },
|
// },
|
||||||
},
|
},
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
baseLang: 'zh-CN',
|
|
||||||
blog: false,
|
blog: false,
|
||||||
// comment: false,
|
// comment: false,
|
||||||
comment: {
|
comment: {
|
||||||
|
@ -53,7 +52,7 @@ module.exports = config({
|
||||||
'word',
|
'word',
|
||||||
],
|
],
|
||||||
footer: {
|
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,
|
display: true,
|
||||||
copyright: false,
|
copyright: false,
|
||||||
},
|
},
|
||||||
|
@ -65,12 +64,22 @@ module.exports = config({
|
||||||
mdEnhance: {
|
mdEnhance: {
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
},
|
},
|
||||||
|
git: {
|
||||||
|
contributor: false,
|
||||||
|
},
|
||||||
themeColor: {
|
themeColor: {
|
||||||
blue: '#2196f3',
|
blue: '#2196f3',
|
||||||
// red: '#f26d6d',
|
// red: '#f26d6d',
|
||||||
// green: '#3eaf7c',
|
// green: '#3eaf7c',
|
||||||
// orange: '#fb9b5f'
|
// orange: '#fb9b5f'
|
||||||
},
|
},
|
||||||
|
locales: {
|
||||||
|
"/": {
|
||||||
|
lang: "zh-CN"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
darkmode: 'auto-switch',
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -117,10 +126,10 @@ module.exports = config({
|
||||||
text: "云计算",
|
text: "云计算",
|
||||||
link: "/cloud/",
|
link: "/cloud/",
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
text: 'GitHub',
|
// text: 'GitHub',
|
||||||
link: 'https://github.com/yeasy/docker_practice'
|
// link: 'https://github.com/yeasy/docker_practice'
|
||||||
},
|
// },
|
||||||
// {
|
// {
|
||||||
// text: '捐赠',
|
// text: '捐赠',
|
||||||
// link: ''
|
// link: ''
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "docker_practice",
|
"description": "docker_practice",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chalk": "^2.4.2",
|
"chalk": "^4.1.1",
|
||||||
"commander": "^2.0.0",
|
"commander": "^7.2.0",
|
||||||
"esm": "^3.0.0",
|
"esm": "^3.0.0",
|
||||||
"vuepress": "1.8.2",
|
"vuepress": "1.8.2",
|
||||||
"vuepress-plugin-container": "^2.1.5",
|
"vuepress-plugin-container": "^2.1.5",
|
||||||
|
|
Loading…
Reference in New Issue