From c5fc7899e1ae47ee51b32398df95cdc0cba01d9b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 28 Jul 2023 21:41:36 +0100 Subject: [PATCH 1/6] Move labs under a section --- docs/tutorials/{python-lab.md => labs/python.md} | 2 +- mkdocs.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename docs/tutorials/{python-lab.md => labs/python.md} (83%) diff --git a/docs/tutorials/python-lab.md b/docs/tutorials/labs/python.md similarity index 83% rename from docs/tutorials/python-lab.md rename to docs/tutorials/labs/python.md index cf97dcc6..e665a60e 100644 --- a/docs/tutorials/python-lab.md +++ b/docs/tutorials/labs/python.md @@ -3,6 +3,6 @@ The Python Lab is used in the general Python programming workshop. It's designed to help develop your Python skills through a series of tasks to add features to an existing application. !!! info - This lab assumes a basic knowledge of Python. If you're not familiar with Python, check out the [Whirlwind Tour](./python-whirlwind-tour.md). + This lab assumes a basic knowledge of Python. If you're not familiar with Python, check out the [Whirlwind Tour](../python-whirlwind-tour.md). [View Python Lab :material-file-document:](https://sourcebots.github.io/python-lab/){ .md-button .md-button--primary target="_blank" } diff --git a/mkdocs.yml b/mkdocs.yml index 2b6732a9..f381f602 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -10,6 +10,7 @@ theme: - navigation.tabs.sticky - toc.follow - navigation.top + - navigation.sections palette: primary: deep purple accent: purple From d01d4cb05b671056d7b84770b452cd507ba66420 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 28 Jul 2023 21:42:27 +0100 Subject: [PATCH 2/6] Add skeleton electronics labs --- docs/tutorials/labs/electronics.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/tutorials/labs/electronics.md diff --git a/docs/tutorials/labs/electronics.md b/docs/tutorials/labs/electronics.md new file mode 100644 index 00000000..51397c21 --- /dev/null +++ b/docs/tutorials/labs/electronics.md @@ -0,0 +1,5 @@ +# Electronics Lab + +Whilst your robot has a brain, and an eye, it might need some other sensors to navigate around the arena. To do this, you will need to build some sensors yourself, using the electronics equipment in front of you. + +[View Electronics Lab :material-file-document:](){ .md-button .md-button--primary target="_blank" } From 879cdc7547ca06be528fdd45d592883bf479e244 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 29 Jul 2023 15:35:18 +0100 Subject: [PATCH 3/6] Fix resources link to labs --- docs/resources/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/resources/index.md b/docs/resources/index.md index 560c3826..a6348db3 100644 --- a/docs/resources/index.md +++ b/docs/resources/index.md @@ -21,4 +21,5 @@ Each PDF contains a single marker, which when printed on a single page will be t ## Labs -- [Python Lab](../tutorials/python-lab.md) +- [Python Lab](../tutorials/labs/python.md) +- [Electronics Lab](../tutorials/labs/electronics.md) From 1ef7021cf86ea7157cc0356c0465b680a4de5903 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 29 Jul 2023 15:35:26 +0100 Subject: [PATCH 4/6] Let mkdocs order the lab files --- docs/tutorials/.pages | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/tutorials/.pages b/docs/tutorials/.pages index 990f2a79..09b15d9e 100644 --- a/docs/tutorials/.pages +++ b/docs/tutorials/.pages @@ -1,7 +1,6 @@ nav: - index.md - python-whirlwind-tour.md - - python-lab.md - getting-code-on-the-robot.md - basic-movement.md - ... From 0728db7942fcdb8b02acd17cbdb8babafcaf9ded Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 2 Aug 2023 10:29:50 +0100 Subject: [PATCH 5/6] Add link to electronics labs --- docs/tutorials/labs/electronics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/labs/electronics.md b/docs/tutorials/labs/electronics.md index 51397c21..2b0ba6b6 100644 --- a/docs/tutorials/labs/electronics.md +++ b/docs/tutorials/labs/electronics.md @@ -2,4 +2,4 @@ Whilst your robot has a brain, and an eye, it might need some other sensors to navigate around the arena. To do this, you will need to build some sensors yourself, using the electronics equipment in front of you. -[View Electronics Lab :material-file-document:](){ .md-button .md-button--primary target="_blank" } +[View Electronics Lab :material-file-document:](https://drive.google.com/file/d/1ODmE7lN0RNxrbLAxTccsVmdArf_WCrxV/view?usp=sharing){ .md-button .md-button--primary target="_blank" } From 3b158393fd8f6c78c3663ac99f4b90ee90f15759 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 7 Aug 2023 20:53:10 +0100 Subject: [PATCH 6/6] Update electronics labs --- docs/tutorials/labs/electronics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/labs/electronics.md b/docs/tutorials/labs/electronics.md index 2b0ba6b6..328afb3b 100644 --- a/docs/tutorials/labs/electronics.md +++ b/docs/tutorials/labs/electronics.md @@ -2,4 +2,4 @@ Whilst your robot has a brain, and an eye, it might need some other sensors to navigate around the arena. To do this, you will need to build some sensors yourself, using the electronics equipment in front of you. -[View Electronics Lab :material-file-document:](https://drive.google.com/file/d/1ODmE7lN0RNxrbLAxTccsVmdArf_WCrxV/view?usp=sharing){ .md-button .md-button--primary target="_blank" } +[View Electronics Lab :material-file-document:](https://drive.google.com/file/d/1VgYDOR6KKcVP0n-qm3b1wheDpZSkpjgS/view?usp=sharing){ .md-button .md-button--primary target="_blank" }