@@ -2,13 +2,15 @@ import navbar from "./navbar";
22import sidebar from "./sidebar" ;
33import { FOOTER_HTML_INFO } from "./constant.config" ;
44import { hopeTheme } from "vuepress-theme-hope" ;
5+ import { langConfig } from "./lang.config" ;
56
67/**
78 * 主题相关配置
89 * 参考主题:https://theme-hope.vuejs.press/zh/config/intro.html#%E9%85%8D%E7%BD%AE%E6%A6%82%E5%BF%B5
910 */
1011export default {
1112 theme : hopeTheme ( {
13+ locales : langConfig ,
1214 navbarIcon : false ,
1315 darkmode : "toggle" ,
1416 // 支持全屏
@@ -17,7 +19,7 @@ export default {
1719 // pure: true,
1820 hostname : 'https://408.142vip.cn' ,
1921 author : {
20- name : 'Chu·Fan ' ,
22+ name : '储凡 ' ,
2123 email : 'fairy_408@2925.com' ,
2224 url : 'https://www.142vip.cn'
2325 } ,
@@ -31,13 +33,15 @@ export default {
3133 end : [ "Language" , "Search" , "Repo" , "Outlook" , ]
3234 } ,
3335 sidebar : sidebar ,
34- // sidebar: "heading",
3536
3637 pageInfo : [ "Author" , "Original" , "Date" , "Category" , "Tag" , "ReadingTime" ] ,
3738 // 主题布局选项
38- docsRepo : "https://github.com/142vip/JavaScriptCollection.git" ,
39- repo : "https://github.com/142vip/JavaScriptCollection" ,
39+ docsRepo : "https://github.com/142vip/JavaScriptCollection" ,
40+ docsDir : "docs" ,
41+ docsBranch : "master" ,
42+ repo : "https://github.com/142vip/JavaScriptCollection.git" ,
4043 // logoDark: "/assets/408_logo.png",
44+ // logo: "/assets/408_logo.png",
4145
4246 // 博客配置
4347 blog : {
0 commit comments