@@ -5,12 +5,22 @@ export default defineConfig({
55 title : "Python Programming" ,
66 description : "Course and Labs Informations" ,
77 base : '/Python-Programming/' ,
8+
89 themeConfig : {
910 // https://vitepress.dev/reference/default-theme-config
1011 nav : [
11- { text : 'Home' , link : '/' } ,
12- { text : 'Assessments' , link : '/assessments/lab-test-1' } ,
13-
12+ {
13+ text : 'Home' ,
14+ link : '/'
15+ } ,
16+ {
17+ text : 'Assessments' ,
18+ items : [
19+ { text : 'Lab Test 1' , link : '/assessments/lab-test-1' } ,
20+ { text : 'Lab Test 2' , link : '/assessments/lab-test-2' }
21+ ] ,
22+ activeMatch : '^/assessments/'
23+ } ,
1424 {
1525 text : 'Course Informations' ,
1626 items : [
@@ -36,13 +46,14 @@ export default defineConfig({
3646 { text : 'Lab 1' , link : '/labs/lab-01' } ,
3747 { text : 'Lab 2' , link : '/labs/lab-02' } ,
3848 { text : 'Lab 3' , link : '/labs/lab-03' } ,
39- { text : 'Lab 4' , link : '/labs/lab-04' } ,
40- { text : 'Lab 5' , link : '/labs/lab-05' } ,
41- { text : 'Lab 6' , link : '/labs/lab-06' }
49+ { text : 'Lab 4' , link : '/labs/lab-04' } ,
50+ { text : 'Lab 5' , link : '/labs/lab-05' } ,
51+ // { text: 'Lab 6', link: '/labs/lab-06' }
4252 ] ,
4353 activeMatch : '^/labs/'
4454 } ,
45- { text : 'Lectures' ,
55+ {
56+ text : 'Lectures' ,
4657 items : [
4758 { text : 'Chapter 1' , link : '/lectures/chapter-01' } ,
4859 { text : 'Chapter 2' , link : '/lectures/chapter-02' } ,
@@ -60,27 +71,36 @@ export default defineConfig({
6071 ] ,
6172 activeMatch : '^/editor/'
6273 }
63-
6474 ] ,
6575
6676 sidebar : {
67- '/labs/' : [
77+ '/assessments/' : [
78+ {
79+ text : 'Lab Test 1' ,
80+ link : '/assessments/lab-test-1'
81+ } ,
82+ {
83+ text : 'Lab Test 2' ,
84+ link : '/assessments/lab-test-2'
85+ }
86+ ] ,
87+
88+ '/labs/' : [
6889 {
6990 text : 'Installation' ,
7091 link : '/labs/installation'
7192 } ,
72-
7393 {
7494 text : 'Lab 1' ,
75- link : '/labs/lab-01'
95+ link : '/labs/lab-01'
7696 } ,
7797 {
7898 text : 'Lab 2' ,
79- link : '/labs/lab-02'
99+ link : '/labs/lab-02'
80100 } ,
81101 {
82102 text : 'Lab 3' ,
83- link : '/labs/lab-03'
103+ link : '/labs/lab-03'
84104 } ,
85105 {
86106 text : 'Lab 4' ,
@@ -90,15 +110,13 @@ export default defineConfig({
90110 text : 'Lab 5' ,
91111 link : '/labs/lab-05'
92112 } ,
93- {
94- text : 'Lab 6' ,
95- link : '/labs/lab-06'
96- }
97-
98-
99-
113+ //{
114+ // text: 'Lab 6',
115+ // link: '/labs/lab-06'
116+ //}
100117 ] ,
101- '/course/' : [
118+
119+ '/course/' : [
102120 {
103121 text : 'Assessments' ,
104122 link : '/course/course'
@@ -108,6 +126,7 @@ export default defineConfig({
108126 link : '/course/schedule'
109127 }
110128 ] ,
129+
111130 '/lectures/' : [
112131 {
113132 text : 'Chapter 1' ,
@@ -125,12 +144,9 @@ export default defineConfig({
125144 text : 'Chapter 4' ,
126145 link : '/lectures/chapter-04'
127146 }
128-
129147 ] ,
130- '/tutorials/' : [
131-
132-
133148
149+ '/tutorials/' : [
134150 {
135151 text : 'Tutorial 1' ,
136152 link : '/tutorials/chapter-2-tutorial-1'
@@ -147,9 +163,8 @@ export default defineConfig({
147163 text : 'Tutorial 4' ,
148164 link : '/tutorials/chapter-3-tutorial-4'
149165 }
150-
151-
152166 ] ,
167+
153168 '/editor/' : [
154169 {
155170 text : 'Python Editor' ,
@@ -166,9 +181,11 @@ export default defineConfig({
166181 ]
167182 } ,
168183
169-
170184 socialLinks : [
171- { icon : 'github' , link : 'https://github.com/JSK-KML/CP115-Class-Repo' }
185+ {
186+ icon : 'github' ,
187+ link : 'https://github.com/JSK-KML/CP115-Class-Repo'
188+ }
172189 ] ,
173190
174191 footer : {
@@ -177,8 +194,7 @@ export default defineConfig({
177194 } ,
178195
179196 search : {
180- provider : 'local' ,
181-
197+ provider : 'local'
182198 }
183199 }
184- } )
200+ } )
0 commit comments