Skip to content

Commit

Permalink
Update vuepress config
Browse files Browse the repository at this point in the history
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
  • Loading branch information
khs1994 committed May 31, 2021
1 parent 96fc5ac commit ba36c90
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
21 changes: 15 additions & 6 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ module.exports = config({
// },
},
themeConfig: {
baseLang: 'zh-CN',
blog: false,
// comment: false,
comment: {
Expand All @@ -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,
},
Expand All @@ -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',

//

Expand Down Expand Up @@ -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: ''
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ba36c90

Please sign in to comment.