Skip to content

Commit ccaacd0

Browse files
committed
Fix broken links
1 parent 5b2763b commit ccaacd0

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/content/docs/book/part-1-instructions/1-sequence-and-data/3-explore/03-0-explore.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Having explored this leg of the journey you are now approaching a rest stop and
88
- A [saving targets calculator](/book/part-1-instructions/1-sequence-and-data/3-explore/03-1-calculator).
99
- A [music player](/book/part-1-instructions/1-sequence-and-data/3-explore/03-2-media-player) to load and play audio.
1010
- [Draw a scene](/book/part-1-instructions/1-sequence-and-data/3-explore/03-3-drawing) using SplashKit graphics.
11-
- [Binary Calculator](/book/part-1-instructions/1-sequence-and-data/3-explore/04-4-binary-calculator/) using physical buttons on a Raspberry Pi.
11+
- [Binary Calculator](/book/part-1-instructions/1-sequence-and-data/3-explore/03-4-binary-calculator/) using physical buttons on a Raspberry Pi.

src/content/docs/book/part-1-instructions/1-sequence-and-data/3-explore/03-4-binary-calculator.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For this project, you'll need to build a simple circuit with push buttons:
4242
- Prompt: "Press your button for the most significant bit, then hit Enter:"
4343
- Read the pin value and store it in a variable (e.g., `reading1`).
4444
- Repeat for the other three pins, storing them as `reading2`, `reading3`, and `reading4`.
45-
- **Reference:** For push button reading logic, see [this guide](/book/part-1-instructions/1-sequence-and-data/0-panorama/8-read-value/).
45+
- **Reference:** For push button reading logic, see [this guide](/book/part-1-instructions/1-sequence-and-data/1-tour/03-00-button-press-counter).
4646

4747
## 3. Binary Addition Logic
4848

src/content/docs/book/part-1-instructions/3-control-flow/1-tour/1-2-events.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Accordion, AccordionItem } from 'accessible-astro-components'
77

88
Now we have the circle moving, but do we *always* want the circle to move? No, let's change it so that we *only* update the position *if* the user is holding down an arrow key.
99

10-
Add an [if statement](/book/part-1-instructions/3-control-flow/0-panorama/2-branches) that will check if the right arrow key is held down. You can put the code that adds to the `playerX` value within the if statement so that it is only run *if* the arrow key is held down.
10+
Add an [if statement](/book/part-1-instructions/3-control-flow/0-panorama/02-branches) that will check if the right arrow key is held down. You can put the code that adds to the `playerX` value within the if statement so that it is only run *if* the arrow key is held down.
1111

1212
:::tip
1313

src/content/docs/book/part-1-instructions/3-control-flow/1-tour/3-03-fly-move.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Steps:
183183
Code this up, and test it to ensure you can move left and right. Make sure to try holding down both arrow keys. If you like, test out the alternate logic to see the difference.
184184

185185
:::tip
186-
Check out the video on the [Methods to Use](/book/part-1-instructions/3-control-flow/0-panorama/9-multimedia-methods) page. This demonstrates how to get the event loop setup, and use this to move a character around on the screen.
186+
Check out the video on the [Methods to Use](/book/part-1-instructions/3-control-flow/0-panorama/09-multimedia-methods) page. This demonstrates how to get the event loop setup, and use this to move a character around on the screen.
187187
:::
188188

189189
### Staying on the web

src/content/docs/book/part-1-instructions/3-control-flow/1-tour/4-00-potentiometer.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77

88
TODO: Update this to flow on from reading values - page will focus on reading Analog values.
99

10-
import { Accordion, AccordionItem, Steps } from "accessible-astro-components";
10+
import { Accordion, AccordionItem } from "accessible-astro-components";
1111

1212
# Overview
1313

src/content/docs/book/part-1-instructions/3-control-flow/3-explore/3-4-judgement-game.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77
---
88

99

10-
import { Accordion, AccordionItem, Steps } from 'accessible-astro-components'
10+
import { Accordion, AccordionItem } from 'accessible-astro-components'
1111

1212
# Task Overview
1313

src/content/docs/book/part-2-organised-code/1-starting-cpp/0-pano/7-raspberry-pi.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ int main()
5959
C++ uses `#include "splashkit.h"` instead of C#’s `using` statements. Also, note the use of the scope resolution operator (`::`) when referring to enums and constants.
6060

6161
- **Compilation Process:**
62-
Unlike C#, where you use `dotnet run` to compile and execute your code in one step, with C++ you compile and then run your program separately. See our [Compiling C++ Programs](./images/compile-cpp.png) guide for more details.
62+
Unlike C#, where you use `dotnet run` to compile and execute your code in one step, with C++ you compile and then run your program separately. See our [Compiling C++ Programs](/book/part-2-organised-code/1-starting-cpp/0-pano/1-compile) guide for more details.
6363

6464
- **Project Structure:**
6565
In C#, you have a project file that manages dependencies. With C++, you simply compile your `.cpp` file(s) directly using a compiler like **clang++** or **g++**.
6666

6767
# What to Do Next
6868

6969
1. **Review the Documentation:**
70-
Visit the [SplashKit Documentation](https://splashkit.io/guides) to see detailed information about the C++ API. You'll notice that the same functions you used in C# are available in C++ with very similar usage.
70+
Visit the [SplashKit Raspberry Documentation](https://splashkit.io/api/raspberry) to see detailed information about the C++ API. You'll notice that the same functions you used in C# are available in C++ with very similar usage.
7171

7272
2. **Try Converting a Simple Program:**
7373
Take one of your simple C# projects and convert it to C++. Start by changing the syntax and compile it using:

0 commit comments

Comments
 (0)