Skip to content

Commit

Permalink
Update base path in book (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdittr authored Aug 28, 2024
1 parent 8b24e13 commit 7cccfcf
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion book/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ build-dir = "./target"

[output.html]
git-repository-url = "https://github.com/tweedegolf/rust-training/"
site-url = "/rust-training/"
site-url = "/"
2 changes: 1 addition & 1 deletion book/src/advanced-syntax.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 2.3 - Advanced Syntax

<a href="/rust-training/slides/2_3-advanced-syntax/" target="_blank">Slides</a>
<a href="/slides/2_3-advanced-syntax/" target="_blank">Slides</a>

## Exercise 2.3.1: Error propagation

Expand Down
2 changes: 1 addition & 1 deletion book/src/async-on-embedded.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 8.3 - Async on Embedded

<a href="/rust-training/slides/8_3-async-on-embedded/" target="_blank">Slides</a>
<a href="/slides/8_3-async-on-embedded/" target="_blank">Slides</a>

## Exercise 8.3.1: Compass
In this exercise, we'll use the [`lsm303agr`](https://docs.rs/lsm303agr) driver. Although the documentation doesn't show it, it supports async if you enable its `async` [feature](https://doc.rust-lang.org/cargo/reference/features.html)
Expand Down
2 changes: 1 addition & 1 deletion book/src/asynchronous-multitasking.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 4.3 - Asynchronous Multitasking

<a href="/rust-training/slides/4_3-asynchronous-multitasking/" target="_blank">Slides</a>
<a href="/slides/4_3-asynchronous-multitasking/" target="_blank">Slides</a>

## Exercise 4.3.1: Async Channels

Expand Down
2 changes: 1 addition & 1 deletion book/src/basic-syntax.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 2.1 - Basic Syntax

<a href="/rust-training/slides/2_1-basic-syntax/" target="_blank">Slides</a>
<a href="/slides/2_1-basic-syntax/" target="_blank">Slides</a>

## Exercise 2.1.1: Basic Syntax

Expand Down
2 changes: 1 addition & 1 deletion book/src/closures-and-dynamic-dispatch.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 2.5 - Closures and Dynamic dispatch

<a href="/rust-training/slides/2_5-closures-and-dynamic-dispatch/" target="_blank">Slides</a>
<a href="/slides/2_5-closures-and-dynamic-dispatch/" target="_blank">Slides</a>

## Exercise 2.5.1: Config Reader

Expand Down
2 changes: 1 addition & 1 deletion book/src/crate-engineering.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 3.1 - Crate Engineering

<a href="/rust-training/slides/3_1-crate-engineering/" target="_blank">Slides</a>
<a href="/slides/3_1-crate-engineering/" target="_blank">Slides</a>

## Exercise 3.1.1: My Serde App

Expand Down
2 changes: 1 addition & 1 deletion book/src/embassy-framework.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 8.4 - The Embassy Framework

<a href="/rust-training/slides/8_4-embassy-framework/" target="_blank">Slides</a>
<a href="/slides/8_4-embassy-framework/" target="_blank">Slides</a>

## Exercise 8.4.1: Embassy project

Expand Down
2 changes: 1 addition & 1 deletion book/src/embedded-ecosystem.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 8.1 - The Rust embedded ecosystem

<a href="/rust-training/slides/8_1-embedded-ecosystem/" target="_blank">Slides</a>
<a href="/slides/8_1-embedded-ecosystem/" target="_blank">Slides</a>

## Exercise 8.1.1: LSM303AGR ID
Use our newly gained knowledge to get our first application running and read out the ID of the LSM303AGR accelerometer.
Expand Down
2 changes: 1 addition & 1 deletion book/src/foreign-function-interface.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 6.1 - Foreign Function Interface

<a href="/rust-training/slides/6_1-foreign-function-interface/" target="_blank">Slides</a>
<a href="/slides/6_1-foreign-function-interface/" target="_blank">Slides</a>

## Exercise 6.1.1: CRC in C

Expand Down
2 changes: 1 addition & 1 deletion book/src/introduction-to-multitasking.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Unit 4.1 - Introduction to Multitasking

<a href="/rust-training/slides/4_1-introduction-to-multitasking/" target="_blank">Slides</a>
<a href="/slides/4_1-introduction-to-multitasking/" target="_blank">Slides</a>

*There are no exercises for this unit*
2 changes: 1 addition & 1 deletion book/src/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 1.1 - Introduction

<a href="/rust-training/slides/1_1-introduction/" target="_blank">Slides</a>
<a href="/slides/1_1-introduction/" target="_blank">Slides</a>

On these pages you will find open source Rust training material designed and maintained by the Rust experts working at Tweede golf.
It comprises several modules that we use in our multi-day (embedded) training courses.
Expand Down
2 changes: 1 addition & 1 deletion book/src/ownership-and-references.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 2.2 - Ownership and References

<a href="/rust-training/slides/2_2-ownership-and-references/" target="_blank">Slides</a>
<a href="/slides/2_2-ownership-and-references/" target="_blank">Slides</a>

## Exercise 2.2.1: Move Semantics

Expand Down
2 changes: 1 addition & 1 deletion book/src/parallel-multitasking.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 4.2 - Parallel Multitasking

<a href="/rust-training/slides/4_2-parallel-multitasking/" target="_blank">Slides</a>
<a href="/slides/4_2-parallel-multitasking/" target="_blank">Slides</a>

## Exercise 4.2.1: TF-IDF

Expand Down
2 changes: 1 addition & 1 deletion book/src/portable-drivers.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 8.2 - Portable Rust drivers

<a href="/rust-training/slides/8_2-portable-drivers/" target="_blank">Slides</a>
<a href="/slides/8_2-portable-drivers/" target="_blank">Slides</a>

## Exercise 8.2.1: LSM303AGR Driver

Expand Down
2 changes: 1 addition & 1 deletion book/src/rust-for-web.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 5.1 - Rust for Web

<a href="/rust-training/slides/5_1-rust-for-web/" target="_blank">Slides</a>
<a href="/slides/5_1-rust-for-web/" target="_blank">Slides</a>

## Exercise 5.1.1: Pastebin

Expand Down
2 changes: 1 addition & 1 deletion book/src/rust-from-python.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 7.1 - Rust from Python

<a href="/rust-training/slides/7_1-rust-from-python.md/" target="_blank">Slides</a>
<a href="/slides/7_1-rust-from-python.md/" target="_blank">Slides</a>

## Exercise 7.1.1: Test your environment

Expand Down
2 changes: 1 addition & 1 deletion book/src/traits-and-generics.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unit 2.4 - Traits and Generics

<a href="/rust-training/slides/2_4-traits-and-generics/" target="_blank">Slides</a>
<a href="/slides/2_4-traits-and-generics/" target="_blank">Slides</a>

## Exercise 2.4.1: Local Storage Vec

Expand Down
2 changes: 1 addition & 1 deletion book/src/wrap-up.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Wrap-up

<a href="/rust-training/slides/Z-wrap-up/" target="_blank">Slides</a>
<a href="/slides/Z-wrap-up/" target="_blank">Slides</a>

## Evaluation form

Expand Down

0 comments on commit 7cccfcf

Please sign in to comment.