diff --git a/src/content/docs/programming/enabling-and-disabling-power.md b/src/content/docs/programming/enabling-and-disabling-power.md index 5f345eb..739812c 100644 --- a/src/content/docs/programming/enabling-and-disabling-power.md +++ b/src/content/docs/programming/enabling-and-disabling-power.md @@ -1,5 +1,5 @@ --- -title: Toggling 12v and5v power +title: Toggling 12v and 5v power category: Programming sidebar: order: 10 diff --git a/src/content/docs/tools/connecting.md b/src/content/docs/tools/connecting.md index 084fd17..e50e40d 100644 --- a/src/content/docs/tools/connecting.md +++ b/src/content/docs/tools/connecting.md @@ -5,7 +5,7 @@ sidebar: order: 1 --- -1. Turn on the robot by following the instructions [here](/tutorials/turning-everything-on.md). +1. Turn on the robot by following the instructions [here](/tutorials/turning-everything-on). 2. Turn on your computer and wait until you reach the Windows desktop. 3. Click on the WiFi icon in the bottom right and connect to `RoboConYYYY-TeamXX` where `YYYY` is the competition year and `XX` is your team number. Your WiFi password should be on the bottom of your BrainBox, underneath its network name. 4. Navigate to in your web browser of choice (**Chrome** or **Firefox** is recommended). You should see an interface similar to this: @@ -16,5 +16,5 @@ From now on, this will be referred to as the **Shepherd Homepage**. ## Next Steps - - [Learn to use the editor](/tools/editor.md) right here in the browser! - - [Troubleshooting](/tools/troubleshooting.md) \ No newline at end of file + - [Learn to use the editor](/tools/editor) right here in the browser! + - [Troubleshooting](/tools/troubleshooting) \ No newline at end of file diff --git a/src/content/docs/tools/editor.md b/src/content/docs/tools/editor.md index 6178d45..eeb5719 100644 --- a/src/content/docs/tools/editor.md +++ b/src/content/docs/tools/editor.md @@ -6,7 +6,7 @@ sidebar: --- We recommend you use the code editor that's included with Shepherd to program your robot. You can either program in Python or use Blockly, a powerful Scratch-like programming tool. -Assuming you've [connected to your robot](/tools/connecting.md), head to or click the orange +Assuming you've [connected to your robot](/tools/connecting), head to or click the orange editor button on the Shepherd homepage. ![Upload Button](/images/shepherd-editor.png) @@ -56,7 +56,7 @@ The create project dialog will appear: Give your project a name, then select the type of project you would like. Choose either Python or Blockly. Then click the **create** button. Your new project will open in the editor. See the sections below for more information on [Python](#python-projects) and -[Blockly](#blockly-projects) projects. Once you've read these, why not start learning [how to program your robot](/programming/init-robot.md). +[Blockly](#blockly-projects) projects. Once you've read these, why not start learning [how to program your robot](/programming/init-robot). ## Python Projects diff --git a/src/content/docs/tools/running-code-from-a-usb.md b/src/content/docs/tools/running-code-from-a-usb.md index eec5b1f..3fd54ff 100644 --- a/src/content/docs/tools/running-code-from-a-usb.md +++ b/src/content/docs/tools/running-code-from-a-usb.md @@ -26,7 +26,7 @@ When started, using the start button the robot will default to running the last 4. Press the black start button :::caution -Code copied from USB sticks is not [Linted](https://en.wikipedia.org/wiki/Lint_%28software%29), sufficiently broken code may crash not just the user code, but also the web interface preventing the robot from reaching "Blinky". See [troubleshooting](/troubleshooting.html#troubleshooting) for details about what the LEDs mean. It is highly recommended for users to export working code from the editor to the USB stick rather than editing code directly. See [troubleshooting](/troubleshooting.html#the-brainbox-appears-to-power-up-but-i-can-t-connect-to-the-website-and-the-blue-led-lights-but-never-starts-flashing) for how to recover a robot which does not boot to Blinky. +Code copied from USB sticks is not [Linted](https://en.wikipedia.org/wiki/Lint_%28software%29), sufficiently broken code may crash not just the user code, but also the web interface preventing the robot from reaching "Blinky". See [troubleshooting](/tools/troubleshooting.html#troubleshooting) for details about what the LEDs mean. It is highly recommended for users to export working code from the editor to the USB stick rather than editing code directly. See [troubleshooting](/tools/troubleshooting.html#the-brainbox-appears-to-power-up-but-i-can-t-connect-to-the-website-and-the-blue-led-lights-but-never-starts-flashing) for how to recover a robot which does not boot to Blinky. ::: diff --git a/src/content/docs/tools/troubleshooting.md b/src/content/docs/tools/troubleshooting.md index 976f1ee..b383219 100644 --- a/src/content/docs/tools/troubleshooting.md +++ b/src/content/docs/tools/troubleshooting.md @@ -54,7 +54,7 @@ Calling `R.see()` at a high rate (with a sleep of less than 2 seconds between ea ## Can you post a kit to or from Hills Road -We can post kits from Hills Road however you will need to cover the costs of shipping. To return kits, see [Kit List of Parts](/hardware/kit-list-of-parts) +We can post kits from Hills Road however you will need to cover the costs of shipping. To return kits, see [Kit List of Parts](/hardware/kit-list-of-parts). ## What is the patch and how do I install it? diff --git a/src/content/docs/tutorials/hello-gpio.md b/src/content/docs/tutorials/hello-gpio.md index a7772c7..aeb6a85 100644 --- a/src/content/docs/tutorials/hello-gpio.md +++ b/src/content/docs/tutorials/hello-gpio.md @@ -51,7 +51,7 @@ while True: Note that `INPUT_PULLUP` returns inverted values - `True` when it isn't pressed and `False` when it is. This means we use `not` to invert the output we get back to something more sensible for our use. -Try making a light turn on or off depending on if a button is pressed. An explanation of why it is needed to use `INPUT_PULLUP` can be found in the [GPIO documentation](/gpio/#pull-ups). +Try making a light turn on or off depending on if a button is pressed. An explanation of why it is needed to use `INPUT_PULLUP` can be found in the [GPIO documentation](/programming/gpio/#pull-ups). ## Potentiometers diff --git a/src/content/docs/tutorials/hello-motors.md b/src/content/docs/tutorials/hello-motors.md index a9fae49..6ebc281 100644 --- a/src/content/docs/tutorials/hello-motors.md +++ b/src/content/docs/tutorials/hello-motors.md @@ -86,7 +86,7 @@ R.motors[1] = 0 A final note, even if you set both motors the same power, your robot probably won't drive in a perfectly straight line. This is due to defects in the motors, and unless you get specialised motors, no two motors will have the same offset. How your robot deals with this is up to you! ## Troubleshooting and Further Reading -[Connecting to the robot](/connecting.html)
-[Uploading and running code](/uploading.html)
-[Using the editor](/editor.html)
-[Motors](/motors.html) +[Connecting to the robot](/tools/connecting)
+[Uploading and running code](/tools/uploading)
+[Using the editor](/tools/editor)
+[Motors](/programming/motors) diff --git a/src/content/docs/tutorials/hello-vision.md b/src/content/docs/tutorials/hello-vision.md index dbe6cf2..ee151a1 100644 --- a/src/content/docs/tutorials/hello-vision.md +++ b/src/content/docs/tutorials/hello-vision.md @@ -10,7 +10,7 @@ Your robot can use its camera to see markers to identify tokens and walls. This Create a new script called "VisionTest". -Unlike in the previous tutorial, [Hello World](/challenges/hello-world), the use of the first couple lines of code is important here. So let's break them down: +Unlike in the previous tutorial, [Hello World](/tutorials/hello-world), the use of the first couple lines of code is important here. So let's break them down: ```python import robot diff --git a/src/content/docs/tutorials/turning-everything-on.md b/src/content/docs/tutorials/turning-everything-on.md index 44e92ba..6fff5cf 100644 --- a/src/content/docs/tutorials/turning-everything-on.md +++ b/src/content/docs/tutorials/turning-everything-on.md @@ -8,7 +8,7 @@ The BrainBox is the core of the kit which we provide. In it is all of the electr ![Diagram showing the pinout of the top of the BrainBox](/images/BrainBox%20power%20input%20side%20profile%20labelled.png) -Pressing the start button will cause the blue status LED on the front of the BrainBox to turn on. When the light starts flashing your BrainBox is ready to run code. You can now turn on your tablet by pressing the power button on the left-hand side and [connect to your robot](/connecting.md). The status LED will go solid while code is running. +Pressing the start button will cause the blue status LED on the front of the BrainBox to turn on. When the light starts flashing your BrainBox is ready to run code. You can now turn on your tablet by pressing the power button on the left-hand side and [connect to your robot](/tools/connecting). The status LED will go solid while code is running. # How to turn everything off