@@ -23,50 +23,52 @@ export default {
23
23
)
24
24
}
25
25
] ,
26
- sidebar : [
27
- {
28
- link : 'introduction/README.md' ,
29
- children : [
30
- 'introduction/what-is-typescript.md' ,
31
- 'introduction/get-typescript.md' ,
32
- 'introduction/hello-typescript.md'
33
- ]
34
- } ,
35
- {
36
- link : 'basics/README.md' ,
37
- children : [
38
- 'basics/primitive-data-types.md' ,
39
- 'basics/any.md' ,
40
- 'basics/type-inference.md' ,
41
- 'basics/union-types.md' ,
42
- 'basics/type-of-object-interfaces.md' ,
43
- 'basics/type-of-array.md' ,
44
- 'basics/type-of-function.md' ,
45
- 'basics/type-assertion.md' ,
46
- 'basics/declaration-files.md' ,
47
- 'basics/built-in-objects.md'
48
- ]
49
- } ,
50
- {
51
- link : 'advanced/README.md' ,
52
- children : [
53
- 'advanced/type-aliases.md' ,
54
- 'advanced/string-literal-types.md' ,
55
- 'advanced/tuple.md' ,
56
- 'advanced/enum.md' ,
57
- 'advanced/class.md' ,
58
- 'advanced/class-and-interfaces.md' ,
59
- 'advanced/generics.md' ,
60
- 'advanced/declaration-merging.md' ,
61
- 'advanced/further-reading.md'
62
- ]
63
- } ,
64
- {
65
- link : 'engineering/README.md' ,
66
- children : [ 'engineering/lint.md' , 'engineering/compiler-options.md' ]
67
- } ,
68
- 'thanks/README.md'
69
- ] ,
26
+ sidebar : {
27
+ '/' : [
28
+ {
29
+ link : 'introduction/README.md' ,
30
+ children : [
31
+ 'introduction/what-is-typescript.md' ,
32
+ 'introduction/get-typescript.md' ,
33
+ 'introduction/hello-typescript.md'
34
+ ]
35
+ } ,
36
+ {
37
+ link : 'basics/README.md' ,
38
+ children : [
39
+ 'basics/primitive-data-types.md' ,
40
+ 'basics/any.md' ,
41
+ 'basics/type-inference.md' ,
42
+ 'basics/union-types.md' ,
43
+ 'basics/type-of-object-interfaces.md' ,
44
+ 'basics/type-of-array.md' ,
45
+ 'basics/type-of-function.md' ,
46
+ 'basics/type-assertion.md' ,
47
+ 'basics/declaration-files.md' ,
48
+ 'basics/built-in-objects.md'
49
+ ]
50
+ } ,
51
+ {
52
+ link : 'advanced/README.md' ,
53
+ children : [
54
+ 'advanced/type-aliases.md' ,
55
+ 'advanced/string-literal-types.md' ,
56
+ 'advanced/tuple.md' ,
57
+ 'advanced/enum.md' ,
58
+ 'advanced/class.md' ,
59
+ 'advanced/class-and-interfaces.md' ,
60
+ 'advanced/generics.md' ,
61
+ 'advanced/declaration-merging.md' ,
62
+ 'advanced/further-reading.md'
63
+ ]
64
+ } ,
65
+ {
66
+ link : 'engineering/README.md' ,
67
+ children : [ 'engineering/lint.md' , 'engineering/compiler-options.md' ]
68
+ } ,
69
+ 'thanks/README.md'
70
+ ]
71
+ } ,
70
72
tools : {
71
73
editOnGithub : true ,
72
74
backToTop : true
@@ -97,5 +99,6 @@ export default {
97
99
} ,
98
100
ga : {
99
101
id : 'UA-45256157-14'
100
- }
102
+ } ,
103
+ port : 8001
101
104
} ;
0 commit comments