2022-12-21 17:36:30 +02:00
|
|
|
[book]
|
|
|
|
authors = ["Martin Geisler"]
|
|
|
|
language = "en"
|
|
|
|
multilingual = false
|
|
|
|
src = "src"
|
|
|
|
title = "Comprehensive Rust 🦀"
|
|
|
|
|
|
|
|
[rust]
|
|
|
|
edition = "2021"
|
|
|
|
|
2023-01-20 12:36:14 +02:00
|
|
|
[build]
|
2023-03-02 19:50:37 +02:00
|
|
|
extra-watch-dirs = ["po", "third_party"]
|
2023-01-20 12:36:14 +02:00
|
|
|
|
2023-02-28 15:05:09 +02:00
|
|
|
[preprocessor.gettext]
|
2023-03-02 11:01:24 +02:00
|
|
|
after = ["links"]
|
2023-01-08 14:45:19 +02:00
|
|
|
|
2022-12-21 17:36:30 +02:00
|
|
|
[preprocessor.svgbob]
|
2023-01-08 14:45:19 +02:00
|
|
|
renderers = ["html"]
|
2023-03-02 11:01:24 +02:00
|
|
|
after = ["gettext"]
|
2022-12-21 17:36:30 +02:00
|
|
|
class = "bob"
|
|
|
|
|
2023-01-27 19:30:37 +02:00
|
|
|
# Enable this preprocessor to overlay a large red rectangle on the
|
|
|
|
# pages. This will show you an estimate of what the course
|
|
|
|
# participants can see during the presentation.
|
|
|
|
#
|
|
|
|
# [preprocessor.aspect-ratio-helper]
|
|
|
|
# command = "./aspect-ratio-helper.py"
|
|
|
|
|
2022-12-21 17:36:30 +02:00
|
|
|
[output.html]
|
|
|
|
curly-quotes = true
|
2023-03-02 19:50:37 +02:00
|
|
|
additional-js = ["speaker-notes.js"]
|
2023-02-15 16:10:16 +02:00
|
|
|
additional-css = ["svgbob.css", "speaker-notes.css", "language-picker.css"]
|
2023-01-24 13:03:46 +02:00
|
|
|
site-url = "/comprehensive-rust/"
|
2022-12-21 18:28:02 +02:00
|
|
|
git-repository-url = "https://github.com/google/comprehensive-rust"
|
2022-12-21 18:29:56 +02:00
|
|
|
edit-url-template = "https://github.com/google/comprehensive-rust/edit/main/{path}"
|
2022-12-21 17:36:30 +02:00
|
|
|
|
|
|
|
[output.html.fold]
|
|
|
|
enable = true
|
|
|
|
level = 0
|
|
|
|
|
|
|
|
[output.html.playground]
|
|
|
|
editable = true
|
2023-05-24 09:25:18 +02:00
|
|
|
line-numbers = true
|
2023-02-06 18:10:01 +02:00
|
|
|
|
|
|
|
[output.html.redirect]
|
2023-05-02 08:02:28 +02:00
|
|
|
# Redirects in the form of "old-path" = "new-path", where the new path
|
|
|
|
# is relative to the old path.
|
2023-05-15 16:05:28 +02:00
|
|
|
"async/concurrency/channels.html" = "../channels.html"
|
2023-06-13 19:26:56 +02:00
|
|
|
"async/pitfall/async-traits.html" = "../pitfalls/async-traits.html"
|
2023-06-13 19:43:08 +02:00
|
|
|
"control-flow/while-let-expression.html" = "while-let-expressions.html"
|
2023-06-14 11:21:22 +02:00
|
|
|
"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"
|
2023-05-08 16:31:54 +02:00
|
|
|
"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"
|
|
|
|
"exercises/day-4/elevator.html" = "../concurrency/elevator.html"
|
|
|
|
"exercises/day-4/link-checker.html" = "../concurrency/link-checker.html"
|
|
|
|
"exercises/day-4/morning.html" = "../concurrency/morning.html"
|
|
|
|
"exercises/day-4/solutions-morning.html" = "../concurrency/solutions-morning.html"
|
2023-05-17 19:22:11 +02:00
|
|
|
"exercises/concurrency/elevator.html" = "chat-app.html"
|
2023-05-08 16:31:54 +02:00
|
|
|
"generics/closures.html" = "../traits/closures.html"
|
|
|
|
"generics/impl-trait.html" = "../traits/impl-trait.html"
|
|
|
|
"generics/trait-bounds.html" = "../traits/trait-bounds.html"
|
2023-05-15 16:06:50 +02:00
|
|
|
"generics/trait-objects.html" = "../traits/trait-objects.html"
|
2023-06-14 11:21:22 +02:00
|
|
|
"outros-recursos.html" = "other-resources.html"
|
2023-05-02 08:02:28 +02:00
|
|
|
"running-the-course/day-4.html" = "course-structure.html"
|
2023-06-14 11:21:22 +02:00
|
|
|
"sintaxe-básica/funções-interlude.html" = "../basic-syntax/functions-interlude.html"
|
2023-05-08 16:31:54 +02:00
|
|
|
"structure.html" = "running-the-course/course-structure.html"
|
2023-06-14 11:21:22 +02:00
|
|
|
"unsafe/mutable-static-variables.md" = "mutable-static-variables.html"
|
2023-02-06 18:10:01 +02:00
|
|
|
"unsafe/unsafe-functions.html" = "calling-unsafe-functions.html"
|
2023-05-02 08:02:28 +02:00
|
|
|
"welcome-bare-metal.html" = "bare-metal.html"
|
|
|
|
"welcome-day-4.html" = "concurrency.html"
|
2023-08-25 17:42:31 +02:00
|
|
|
# Moving exercises between days
|
|
|
|
"exercises/day-2/luhn.html" = "../day-1/luhn.html"
|
|
|
|
"exercises/day-2/points-polygons.html" = "../day-3/points-polygons.html"
|
|
|
|
"exercises/day-1/book-library.html" = "../day-2/book-library.html"
|
|
|
|
"exercises/day-1/iterators-and-ownership.html" = "../day-2/iterators-and-ownership.html"
|
2023-07-28 17:27:31 +02:00
|
|
|
# Send people to canonical URL instead of index.html
|
|
|
|
"welcome.html" = "./"
|
2023-04-03 17:18:32 +02:00
|
|
|
|
|
|
|
[output.exerciser]
|
2023-04-05 17:15:42 +02:00
|
|
|
output-directory = "comprehensive-rust-exercises"
|