Skip to content

Commit d0d3c87

Browse files
authored
Merge pull request #72 from JSK-KML/test-main
update lab test
2 parents eede9bb + 53766e1 commit d0d3c87

3 files changed

Lines changed: 74 additions & 32 deletions

File tree

docs/.vitepress/config.mjs

Lines changed: 48 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
})

docs/assessments/lab-test-2.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Lab Test 2
2+
3+
## Instructions
4+
5+
**Time Limit:** 45 minutes
6+
**Software Required:** **VS Code**
7+
**Submission:** Save the Python file and upload to Google Form
8+
9+
### Rules
10+
- No phones or AI tools allowed
11+
- No collaboration with other students
12+
- Questions will be provided on printed paper
13+
14+
### Submission Process
15+
1. Complete your program in VS Code.
16+
2. Save the Python file as `lab-test-2.py`
17+
3. Upload the file to the Google Form at [here](https://forms.gle/F66HBJ7yp3jj7hWy9)
18+
4. Fill in all required information in the form
19+
20+
### What to Submit
21+
- Python file file named `lab-test-2.py`
22+
23+
Good luck!

docs/labs/lab-06.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ outline: deep
33
title : Lab 6 - More Basic Python
44
---
55

6+
<!--
7+
68
# Lab 06 : More Basic Python
79
810
## Pull and Update in VS Code
@@ -449,5 +451,6 @@ Code after triple quote comment
449451
3. **Don't over-comment** - Don't explain obvious things
450452
4. **Use proper grammar and spelling** - Comments are read by humans
451453
454+
-->
452455

453456

0 commit comments

Comments
 (0)