@@ -2,32 +2,36 @@ module.exports = {
22 title : '编程导引' ,
33 themeConfig : {
44 nav : [
5- { text : "编程导引" , link : '/intro' } ,
5+ { text : "编程导引" , link : '/chapters/intro' } ,
6+ { text : "参考" , link : '/reference/glossary' } ,
67 ] ,
78
8- sidebar : [
9- { text : "引言" , link : "/intro" } ,
10- { text : "环境" , link : '/ch01_environment' } ,
11- { text : "计算" , link : '/ch02_computation' } ,
12- { text : "过程" , link : '/ch03_procedure' } ,
13- { text : "编码" , link : '/ch04_encoding' } ,
14- { text : "序列" , link : '/ch05_sequence' } ,
15- { text : "数据" , link : '/ch06_data' } ,
16- { text : "状态" , link : '/ch07_state' } ,
17- { text : "引用" , link : '/ch08_reference' } ,
18- { text : "闭包" , link : '/ch09_closure' } ,
19- { text : "对象" , link : '/ch10_object' } ,
20- { text : "并发" , link : '/ch11_concurrency' } ,
21- ] ,
9+ sidebar : {
10+ "/chapters/" : [
11+ { text : "引言" , link : "/chapters/intro" } ,
12+ { text : "环境" , link : '/chapters/ch01_environment' } ,
13+ { text : "计算" , link : '/chapters/ch02_computation' } ,
14+ { text : "过程" , link : '/chapters/ch03_procedure' } ,
15+ { text : "编码" , link : '/chapters/ch04_encoding' } ,
16+ { text : "序列" , link : '/chapters/ch05_sequence' } ,
17+ { text : "数据" , link : '/chapters/ch06_data' } ,
18+ { text : "状态" , link : '/chapters/ch07_state' } ,
19+ { text : "引用" , link : '/chapters/ch08_reference' } ,
20+ { text : "闭包" , link : '/chapters/ch09_closure' } ,
21+ { text : "对象" , link : '/chapters/ch10_object' } ,
22+ { text : "并发" , link : '/chapters/ch11_concurrency' }
23+ ] ,
24+ "/reference/" : [
25+ { text : "概念解释" , link : "/reference/glossary" }
26+ ]
27+ } ,
2228 footer : {
2329 copyright : "CC-BY 4.0 Licensed | Copyright © 2015-present Kimmy Leo"
2430 } ,
2531 } ,
2632
2733 markdown : {
28- config : ( md ) => {
29- md . use ( require ( 'markdown-it-katex' ) )
30- }
34+ math : true
3135 } ,
3236
3337
@@ -45,13 +49,6 @@ var _hmt = _hmt || [];
4549 s.parentNode.insertBefore(hm, s);
4650})();
4751 `
48- ] ,
49- [
50- "link" ,
51- {
52- "rel" : "stylesheet" ,
53- "href" : "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.css"
54- }
5552 ]
5653 ]
5754}
0 commit comments