-
Notifications
You must be signed in to change notification settings - Fork 17
/
sidebars.ts
172 lines (170 loc) · 3.68 KB
/
sidebars.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
docs: [
{
type: 'doc',
id: 'index',
},
{
type: 'category',
label: 'Introduction',
items: [
'about-the-book',
'how-to-use-the-book',
],
},
{
type: 'category',
label: 'Part 1 - Python Basics',
items: [
{
type: 'category',
label: 'Development Environment',
items: [
'setup-environment',
'hello-world',
]
}, {
type: 'category',
label: 'Variables',
items: [
'definition-and-assignment-of-variables',
'naming-rules-for-variables'
]
}, {
type: 'category',
label: 'Data Types',
items: [
'basic-types',
'arithmetic-operation',
'type-conversion',
'lists-and-tuples',
'dictionary',
'set'
]
}, {
type: 'category',
label: 'Branching and Loops',
items: [
'if-statement',
'for-and-while-statement',
'comprehension-expressions'
]
}
],
},
{
type: 'category',
label: 'Part 2 - Python Intermediate',
items: [
{
type: 'category',
label: 'Functions',
items: [
'definition-and-invocation-of-functions',
'anonymous-functions'
]
},
{
type: 'category',
label: 'Modules and Packages',
items: [
'create-and-import-modules',
'create-and-import-packages'
]
}, {
type: 'category',
label: 'File Operations',
items: [
'read-and-write-files',
]
},
{
type: 'category',
label: 'Built-in Modules',
items: [
'datetime-module',
'os-module',
'json-module',
're-module',
'random-module',
'math-module'
]
},
]
},
{
type: 'category',
label: 'Part 3 - Python Advanced',
items: [
{
type: 'category',
label: 'Object-Oriented Programming',
items: [
'class-and-instance',
]
},
{
type: 'category',
label: 'Exception Handling',
items: [
'try-except-statements',
'custom-exception-classes'
]
}, {
type: 'category',
label: 'Project Dependency Management',
items: [
'pip',
'venv-and-conda',
'poetry'
]
},
{
type: 'category',
label: 'Type Systems',
items: [
'typing-annotation',
]
},
]
},
{
type: 'category',
label: 'Part 4 - Comprehensive Cases',
items: [
{
type: 'category',
label: 'Command-Line Tools',
items: [
'task-list-files',
]
},
{
type: 'category',
label: 'Web Scraping',
items: [
'task-top-50-in-github',
]
}, {
type: 'category',
label: 'Web API',
items: [
'task-book-store',
]
},
]
},
{
type: 'category',
label: 'Appendix',
items: [
'lifelong-learning',
'third-party-packages',
'references',
'afterword'
]
},
]
};
export default sidebars;