forked from xcatliu/typescript-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pagic.config.ts
76 lines (76 loc) · 1.98 KB
/
pagic.config.ts
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
export default {
srcDir: '.',
ignore: [/\/examples\//, /\/public\//, /\/\./, /\/package\-lock\.json/, /\/package\.json/, /\/pagic\.config\.ts/],
theme: 'docs',
plugins: ['sidebar', 'script', 'gitalk', 'ga'],
title: 'TypeScript 入门教程',
sidebar: [
'README.md',
{
link: 'introduction/README.md',
children: [
'introduction/what-is-typescript.md',
'introduction/get-typescript.md',
'introduction/hello-typescript.md'
]
},
{
link: 'basics/README.md',
children: [
'basics/primitive-data-types.md',
'basics/any.md',
'basics/type-inference.md',
'basics/union-types.md',
'basics/type-of-object-interfaces.md',
'basics/type-of-array.md',
'basics/type-of-function.md',
'basics/type-assertion.md',
'basics/declaration-files.md',
'basics/built-in-objects.md'
]
},
{
link: 'advanced/README.md',
children: [
'advanced/type-aliases.md',
'advanced/string-literal-types.md',
'advanced/tuple.md',
'advanced/enum.md',
'advanced/class.md',
'advanced/class-and-interfaces.md',
'advanced/generics.md',
'advanced/declaration-merging.md',
'advanced/further-reading.md'
]
},
{
link: 'engineering/README.md',
children: ['engineering/lint.md', 'engineering/compiler-options.md']
},
'thanks/README.md'
],
nav: [
{
text: 'GitHub',
link: 'https://github.com/xcatliu/typescript-tutorial'
},
{
text: '赞助作者',
link: 'https://github.com/xcatliu/typescript-tutorial'
},
{
text: '本网站使用 Pagic 构建',
link: 'https://github.com/xcatliu/pagic'
}
],
gitalk: {
clientID: '29aa4941759fc887ed4f',
clientSecret: '33e355efdf3a1959624506a5d88311145208471b',
repo: 'typescript-tutorial',
owner: 'xcatliu',
admin: ['xcatliu']
},
ga: {
id: 'UA-45256157-14'
}
};