mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-24 16:42:36 +02:00
Add redirects for all broken links to book.toml (#814)
This should clean up the list of 404 errors in the Search Console.
This commit is contained in:
parent
53fff52b60
commit
0e09a1c569
11
book.toml
11
book.toml
@ -45,9 +45,16 @@ line-numbers = true
|
||||
[output.html.redirect]
|
||||
# Redirects in the form of "old-path" = "new-path", where the new path
|
||||
# is relative to the old path.
|
||||
"android.md" = "android.html"
|
||||
"async/concurrency/channels.html" = "../channels.html"
|
||||
"async/pitfall/async-traits.html" = "../pitfalls/async-traits.html"
|
||||
"bare-metal.md" = "bare-metal.html"
|
||||
"concurrency.md" = "concurrency.html"
|
||||
"control-flow/while-let-expression.html" = "while-let-expressions.html"
|
||||
"exercises/day-1/soluções-tarde.html" = "solutions-afternoon.html"
|
||||
"exercises/day-2/soluções-tarde.html" = "solutions-afternoon.html"
|
||||
"exercises/day-3/soluções-tarde.html" = "solutions-afternoon.html"
|
||||
"exercises/day-3/simples-gui.html" = "simple-gui.html"
|
||||
"exercises/day-4/afternoon.html" = "../android/morning.html"
|
||||
"exercises/day-4/android.html" = "../android/morning.html"
|
||||
"exercises/day-4/dining-philosophers.html" = "../concurrency/dining-philosophers.html"
|
||||
@ -60,11 +67,15 @@ line-numbers = true
|
||||
"generics/impl-trait.html" = "../traits/impl-trait.html"
|
||||
"generics/trait-bounds.html" = "../traits/trait-bounds.html"
|
||||
"generics/trait-objects.html" = "../traits/trait-objects.html"
|
||||
"outros-recursos.html" = "other-resources.html"
|
||||
"running-the-course/day-4.html" = "course-structure.html"
|
||||
"sintaxe-básica/funções-interlude.html" = "../basic-syntax/functions-interlude.html"
|
||||
"structure.html" = "running-the-course/course-structure.html"
|
||||
"unsafe/mutable-static-variables.md" = "mutable-static-variables.html"
|
||||
"unsafe/unsafe-functions.html" = "calling-unsafe-functions.html"
|
||||
"welcome-bare-metal.html" = "bare-metal.html"
|
||||
"welcome-day-4.html" = "concurrency.html"
|
||||
"LICENSE" = "https://github.com/google/comprehensive-rust/blob/main/LICENSE"
|
||||
|
||||
[output.exerciser]
|
||||
output-directory = "comprehensive-rust-exercises"
|
||||
|
Loading…
x
Reference in New Issue
Block a user