diff --git a/src/pages/_meta.json b/src/pages/_meta.json index bafdb02..0826456 100644 --- a/src/pages/_meta.json +++ b/src/pages/_meta.json @@ -11,6 +11,10 @@ "type": "page", "title": "Documentation" }, + "learn": { + "type": "page", + "title": "Learn" + }, "about": { "type": "page", "title": "About" diff --git a/src/pages/docs/_meta.json b/src/pages/docs/_meta.json index d95cede..71d6971 100644 --- a/src/pages/docs/_meta.json +++ b/src/pages/docs/_meta.json @@ -5,5 +5,8 @@ "layout": "full", "typesetting": "article" } + }, + "thread": { + "title": "Thread class" } } \ No newline at end of file diff --git a/src/pages/docs/thread.mdx b/src/pages/docs/thread.mdx new file mode 100644 index 0000000..ae991b4 --- /dev/null +++ b/src/pages/docs/thread.mdx @@ -0,0 +1,9 @@ +```python +def print(word): + to_print = list(word) + for i in to_print: + print(i) + return false +``` + +More verbose explanation \ No newline at end of file diff --git a/src/pages/learn/_meta.json b/src/pages/learn/_meta.json new file mode 100644 index 0000000..18a5aaf --- /dev/null +++ b/src/pages/learn/_meta.json @@ -0,0 +1,11 @@ +{ + "index": { + "title": "Introduction" + }, + "python_thread": { + "title": "Learn Python Threading" + }, + "thread": { + "title": "Learn Thread" + } +} \ No newline at end of file diff --git a/src/pages/learn/index.mdx b/src/pages/learn/index.mdx new file mode 100644 index 0000000..538bcde --- /dev/null +++ b/src/pages/learn/index.mdx @@ -0,0 +1 @@ +Pick which one you want etc. \ No newline at end of file diff --git a/src/pages/learn/python_thread/_meta.json b/src/pages/learn/python_thread/_meta.json new file mode 100644 index 0000000..ad30508 --- /dev/null +++ b/src/pages/learn/python_thread/_meta.json @@ -0,0 +1,5 @@ +{ + "index": { + "title": "Tutorial 1" + } +} \ No newline at end of file diff --git a/src/pages/learn/python_thread/index.mdx b/src/pages/learn/python_thread/index.mdx new file mode 100644 index 0000000..383cb72 --- /dev/null +++ b/src/pages/learn/python_thread/index.mdx @@ -0,0 +1 @@ +example page \ No newline at end of file diff --git a/src/pages/learn/thread/_meta.json b/src/pages/learn/thread/_meta.json new file mode 100644 index 0000000..ad30508 --- /dev/null +++ b/src/pages/learn/thread/_meta.json @@ -0,0 +1,5 @@ +{ + "index": { + "title": "Tutorial 1" + } +} \ No newline at end of file diff --git a/src/pages/learn/thread/index.mdx b/src/pages/learn/thread/index.mdx new file mode 100644 index 0000000..83f213b --- /dev/null +++ b/src/pages/learn/thread/index.mdx @@ -0,0 +1,5 @@ +```python +print("Hey I am some example code!") +``` + +Click [here](/docs/thread) to read more. \ No newline at end of file