@@ -7,122 +7,57 @@ module.exports = {
77 base : "/java-tutorial/" ,
88 title : "JAVA-TUTORIAL" ,
99 description : "Java 教程" ,
10- head : [ [ "link" , { rel : "icon" , href : `/favicon.ico` } ] ] ,
10+ head : [ [ "link" , { rel : "icon" , href : `/favicon.ico` } ] ] ,
1111 markdown : {
1212 externalLinks : {
13- target : "_blank" ,
14- rel : "noopener noreferrer"
13+ target : "_blank" , rel : "noopener noreferrer"
1514 }
1615 } ,
1716 themeConfig : {
18- logo : "https://raw.githubusercontent.com/dunwu/ images/master/common/ dunwu-logo-200 .png" ,
17+ logo : "images/dunwu-logo-100 .png" ,
1918 repo : "dunwu/java-tutorial" ,
2019 repoLabel : "Github" ,
20+ docsDir : "docs" ,
21+ docsBranch : "master" ,
2122 editLinks : true ,
2223 smoothScroll : true ,
2324 locales : {
2425 "/" : {
25- label : "简体中文" ,
26- selectText : "Languages" ,
27- editLinkText : "帮助我们改善此页面!" ,
28- lastUpdated : "上次更新" ,
29- nav : [
30- {
31- text : "工具" ,
32- link : "/javatool/" ,
33- items : [
34- {
35- text : "构建" ,
36- link : "/javatool/build/"
37- } ,
38- {
39- text : "IDE" ,
40- link : "/javatool/ide/"
41- } ,
42- {
43- text : "监控" ,
44- link : "/javatool/monitor/"
45- }
46- ]
47- } ,
48- {
49- text : "JavaEE" ,
50- link : "/javaee/"
51- } ,
52- {
53- text : "✨ Java系列" ,
54- ariaLabel : "Java" ,
55- items : [
56- {
57- text : "Java 教程 📚" ,
58- link : "https://dunwu.github.io/java-tutorial/" ,
59- target : "_blank" ,
60- rel : ""
61- } ,
62- {
63- text : "JavaCore 教程 📚" ,
64- link : "https://dunwu.github.io/javacore/" ,
65- target : "_blank" ,
66- rel : ""
67- } ,
68- {
69- text : "JavaTech 教程 📚" ,
70- link : "https://dunwu.github.io/javatech/" ,
71- target : "_blank" ,
72- rel : ""
73- } ,
74- {
75- text : "Spring 教程 📚" ,
76- link : "https://dunwu.github.io/spring-tutorial/" ,
77- target : "_blank" ,
78- rel : ""
79- } ,
80- {
81- text : "Spring Boot 教程 📚" ,
82- link : "https://dunwu.github.io/spring-boot-tutorial/" ,
83- target : "_blank" ,
84- rel : ""
85- }
86- ]
87- } ,
88- {
89- text : "🎯 博客" ,
90- link : "https://github.com/dunwu/blog" ,
91- target : "_blank" ,
92- rel : ""
93- }
94- ] ,
95- sidebar : "auto" ,
96- sidebarDepth : 2
26+ label : "简体中文" , selectText : "Languages" , editLinkText : "帮助我们改善此页面!" , lastUpdated : "上次更新" , nav : [ {
27+ text : "工具" , link : "/javatool/" , items : [ {
28+ text : "构建" , link : "/javatool/build/"
29+ } , {
30+ text : "IDE" , link : "/javatool/ide/"
31+ } , {
32+ text : "监控" , link : "/javatool/monitor/"
33+ } ]
34+ } , {
35+ text : "JavaEE" , link : "/javaee/"
36+ } , {
37+ text : "✨ Java系列" , ariaLabel : "Java" , items : [ {
38+ text : "Java 教程 📚" , link : "https://dunwu.github.io/java-tutorial/" , target : "_blank" , rel : ""
39+ } , {
40+ text : "JavaCore 教程 📚" , link : "https://dunwu.github.io/javacore/" , target : "_blank" , rel : ""
41+ } , {
42+ text : "JavaTech 教程 📚" , link : "https://dunwu.github.io/javatech/" , target : "_blank" , rel : ""
43+ } , {
44+ text : "Spring 教程 📚" , link : "https://dunwu.github.io/spring-tutorial/" , target : "_blank" , rel : ""
45+ } , {
46+ text : "Spring Boot 教程 📚" , link : "https://dunwu.github.io/spring-boot-tutorial/" , target : "_blank" , rel : ""
47+ } ]
48+ } , {
49+ text : "🎯 博客" , link : "https://github.com/dunwu/blog" , target : "_blank" , rel : ""
50+ } ] , sidebar : "auto" , sidebarDepth : 2
9751 }
9852 }
9953 } ,
100- plugins : [
101- [ "@vuepress/back-to-top" , true ] ,
102- [
103- "@vuepress/pwa" ,
104- {
105- serviceWorker : true ,
106- updatePopup : true
107- }
108- ] ,
109- [ "@vuepress/medium-zoom" , true ] ,
110- [
111- "container" ,
112- {
113- type : "vue" ,
114- before : '<pre class="vue-container"><code>' ,
115- after : "</code></pre>"
116- }
117- ] ,
118- [
119- "container" ,
120- {
121- type : "upgrade" ,
122- before : info => `<UpgradePath title="${ info } ">` ,
123- after : "</UpgradePath>"
124- }
125- ] ,
126- [ "flowchart" ]
127- ]
54+ plugins : [ [ "@vuepress/active-header-links" , {
55+ sidebarLinkSelector : ".sidebar-link" , headerAnchorSelector : ".header-anchor"
56+ } ] , [ "@vuepress/back-to-top" , true ] , [ "@vuepress/pwa" , {
57+ serviceWorker : true , updatePopup : true
58+ } ] , [ "@vuepress/medium-zoom" , true ] , [ "container" , {
59+ type : "vue" , before : '<pre class="vue-container"><code>' , after : "</code></pre>"
60+ } ] , [ "container" , {
61+ type : "upgrade" , before : info => `<UpgradePath title="${ info } ">` , after : "</UpgradePath>"
62+ } ] , [ "flowchart" ] ]
12863} ;
0 commit comments