Skip to content

Commit e78a7d3

Browse files
committed
Fixed more broken URLs
After switching to relative URLs, linkchecker still encountered some broken links. This commit fixes those broken links and now the only broken links detected are in print.html itself. I will work on fixing those in a later commit. I also renamed some URLs from .html extensions to .md extensions since they get renamed to .html by mdbook and it allows GitHub renderings of these pages to end up going to the correct place when you click on the links. They work in VSCode preview as well.
1 parent 35b0343 commit e78a7d3

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

src/03-setup/linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ If you had any board plugged to your laptop, unplug them and then plug them in a
115115

116116
Now, go to the [next section].
117117

118-
[next section]: /03-setup/verify.html
118+
[next section]: verify.md

src/03-setup/macos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Caskroom/tap` first and try again.
1515

1616
That's all! Go to the [next section].
1717

18-
[next section]: /03-setup/verify.html
18+
[next section]: verify.md

src/03-setup/verify.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ crw-rw-rw- 1 root root 189, 20 Sep 13 00:00 /dev/bus/usb/003/004
2929
The permissions should be `crw-rw-rw-`. If it's not ... then check your [udev
3030
rules] and try re-loading them with:
3131

32-
[udev rules]: /03-setup/linux.html#udev%20rules
32+
[udev rules]: linux.md#udev-rules
3333

3434
``` console
3535
$ sudo udevadm control --reload-rules
@@ -104,7 +104,7 @@ Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints
104104

105105
(If you don't ... then check the [general troubleshooting] instructions.)
106106

107-
[general troubleshooting]: /appendix/1-general-troubleshooting/README.html
107+
[general troubleshooting]: ../appendix/1-general-troubleshooting/index.html
108108

109109
`openocd` will block the terminal. That's fine.
110110

src/03-setup/windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ instructions and make sure you install the right (32-bit or 64-bit) version of t
4747

4848
That's all! Go to the [next section].
4949

50-
[next section]: /03-setup/verify.html
50+
[next section]: verify.md

src/05-led-roulette/debug-it.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ mode, on the GDB shell enter the following command:
3939
> **NOTE** Apologies Windows users. The GDB shipped with the GNU ARM Embedded Toolchain doesn't
4040
> support this TUI mode `:-(`.
4141
42-
![GDB session](/assets/gdb-layout-src.png "GDB TUI")
42+
![GDB session](../assets/gdb-layout-src.png "GDB TUI")
4343

4444
At any point you can leave the TUI mode using the following command:
4545

@@ -118,7 +118,7 @@ source code view later by issuing the `layout src` command again.
118118
(gdb) layout asm
119119
```
120120

121-
![GDB session](/assets/gdb-layout-asm.png "GDB disassemble")
121+
![GDB session](../assets/gdb-layout-asm.png "GDB disassemble")
122122

123123
If you are not using the TUI mode, you can use the `disassemble /m` command to disassemble the
124124
program around the line you are currently at.

src/05-led-roulette/flash-it.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $ openocd \
2929
> **NOTE** Older revisions of the board need to pass slightly different arguments to
3030
> `openocd`. Review [this section] for the details.
3131
32-
[this section]: /03-setup/verify.html#First%20OpenOCD%20connection
32+
[this section]: ../03-setup/verify.md#first-openocd-connection
3333

3434
The program will block; leave that terminal open.
3535

src/06-hello-world/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To retrieve the original string, OpenOCD's output file will have to be parsed. W
4646

4747
You should have already installed the `itmdump` program during the [installation chapter].
4848

49-
[installation chapter]: /03-setup/README.html#itmdump
49+
[installation chapter]: ../03-setup/index.html#itmdump
5050

5151
In a new terminal, run this command inside the `/tmp` directory, if you are using a *nix OS, or from
5252
within the `%TEMP%` directory, if you are running Windows. This should be the same directory from

src/10-serial-communication/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ will see the microcontroller as a virtual serial device.
4747
Now, let's get familiar with the serial module and the serial communication tools that your OS
4848
offers. Pick a route:
4949

50-
- [*nix](/10-serial-communication/nix-tooling.html)
51-
- [Windows](/10-serial-communication/windows-tooling.html)
50+
- [*nix](nix-tooling.md)
51+
- [Windows](windows-tooling.md)

src/12-bluetooth-setup/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ is 1234.
3333

3434
Linux users will have to follow (some of) [these instructions].
3535

36-
[these instructions]: /12-bluetooth-setup/linux.html
36+
[these instructions]: linux.md

src/12-bluetooth-setup/linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
If you have a graphical Bluetooth manager, you can use that to pair your laptop to the Bluetooth
44
module and skip most of these steps. You'll probably still have to [this step] though.
55

6-
[this step]: /12-bluetooth-setup/linux.html#rfcomm%20device
6+
[this step]: #rfcomm-device
77

88
## Power up
99

0 commit comments

Comments
 (0)