Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Shirotohu create learn pages #19

Merged
merged 2 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"type": "page",
"title": "Documentation"
},
"learn": {
"type": "page",
"title": "Learn"
},
"about": {
"type": "page",
"title": "About"
Expand Down
3 changes: 3 additions & 0 deletions src/pages/docs/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"layout": "full",
"typesetting": "article"
}
},
"thread": {
"title": "Thread class"
}
}
9 changes: 9 additions & 0 deletions src/pages/docs/thread.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
```python
def print(word):
to_print = list(word)
for i in to_print:
print(i)
return false
```

More verbose explanation
11 changes: 11 additions & 0 deletions src/pages/learn/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"index": {
"title": "Introduction"
},
"python_thread": {
"title": "Learn Python Threading"
},
"thread": {
"title": "Learn Thread"
}
}
1 change: 1 addition & 0 deletions src/pages/learn/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pick which one you want etc.
5 changes: 5 additions & 0 deletions src/pages/learn/python_thread/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"index": {
"title": "Tutorial 1"
}
}
1 change: 1 addition & 0 deletions src/pages/learn/python_thread/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
example page
5 changes: 5 additions & 0 deletions src/pages/learn/thread/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"index": {
"title": "Tutorial 1"
}
}
5 changes: 5 additions & 0 deletions src/pages/learn/thread/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
```python
print("Hey I am some example code!")
```

Click [here](/docs/thread) to read more.