-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.js
54 lines (49 loc) · 1.76 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
title: '编程导引',
themeConfig: {
nav: [
{text: "编程导引", link: '/chapters/intro'},
{text: "参考", link: '/reference/glossary'},
],
sidebar: {
"/chapters/": [
{ text: "引言", link: "/chapters/intro" },
{ text: "环境", link: '/chapters/ch01_environment' },
{ text: "计算", link: '/chapters/ch02_computation' },
{ text: "过程", link: '/chapters/ch03_procedure' },
{ text: "编码", link: '/chapters/ch04_encoding' },
{ text: "序列", link: '/chapters/ch05_sequence' },
{ text: "数据", link: '/chapters/ch06_data' },
{ text: "状态", link: '/chapters/ch07_state' },
{ text: "引用", link: '/chapters/ch08_reference' },
{ text: "闭包", link: '/chapters/ch09_closure' },
{ text: "对象", link: '/chapters/ch10_object' },
{ text: "并发", link: '/chapters/ch11_concurrency' }
],
"/reference/": [
{ text: "概念解释", link: "/reference/glossary"}
]
},
footer: {
copyright: "CC-BY 4.0 Licensed | Copyright © 2015-present Kimmy Leo"
},
},
markdown: {
math: true
},
head: [
[
"script",
{},
`
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?bc2f9f80827718f41c02c33dc45976cb";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
`
]
]
}