mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 14:38:54 +00:00
Update vuepress config
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
This commit is contained in:
parent
96fc5acc75
commit
ba36c90b6c
@ -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: ''
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user