Update vuepress config

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/494/head
Kang Huaishuai 2021-06-06 10:50:31 +08:00
parent 8705cede17
commit baeb222455
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
1 changed files with 9 additions and 2 deletions

View File

@ -38,6 +38,11 @@ module.exports = config({
// onlyFirstAndLastCommit: true, // onlyFirstAndLastCommit: true,
// }, // },
}, },
locales: {
"/": {
lang: "zh-CN"
}
},
themeConfig: { themeConfig: {
blog: false, blog: false,
// comment: false, // comment: false,
@ -59,6 +64,7 @@ module.exports = config({
searchPlaceholder: 'Search', searchPlaceholder: 'Search',
repo: 'yeasy/docker_practice', repo: 'yeasy/docker_practice',
repoLabel: 'GitHub', repoLabel: 'GitHub',
repoDisplay: true,
hostname: 'https://vuepress.mirror.docker-practice.com', hostname: 'https://vuepress.mirror.docker-practice.com',
// author: 'yeasy', // author: 'yeasy',
mdEnhance: { mdEnhance: {
@ -135,8 +141,9 @@ module.exports = config({
// link: '' // link: ''
// }, // },
{ {
text: '', text: '618',
link: 'https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console' //link: 'https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console'
link: 'https://cloud.tencent.com/act/cps/redirect?redirect=10488&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=activity'
}, },
// { // {
// text: '语言', // text: '语言',