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-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-02-06 18:10:01 +02:00
|
|
|
"structure.html" = "running-the-course/course-structure.html"
|
2023-05-02 08:02:28 +02:00
|
|
|
"running-the-course/day-4.html" = "course-structure.html"
|
2023-03-10 16:07:36 +02:00
|
|
|
"exercises/day-4/afternoon.html" = "exercises/day-4/android.html"
|
2023-02-06 18:10:01 +02:00
|
|
|
"unsafe/unsafe-functions.html" = "calling-unsafe-functions.html"
|
2023-03-30 14:25:34 +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-02 08:02:28 +02:00
|
|
|
"welcome-bare-metal.html" = "bare-metal.html"
|
|
|
|
"welcome-day-4.html" = "concurrency.html"
|
|
|
|
"exercises/day-4/android.html" = "../android/morning.html"
|
|
|
|
"exercises/day-4/morning.html" = "../concurrency/morning.html"
|
|
|
|
"exercises/day-4/solutions-morning.html" = "../concurrency/solutions-morning.html"
|
|
|
|
"exercises/day-4/dining-philosophers.html" = "../concurrency/dining-philosophers.html"
|
|
|
|
"exercises/day-4/link-checker.html" = "../concurrency/link-checker.html"
|
|
|
|
"exercises/day-4/elevator.html" = "../concurrency/elevator.html"
|
2023-04-03 17:18:32 +02:00
|
|
|
|
|
|
|
[output.exerciser]
|
2023-04-05 17:15:42 +02:00
|
|
|
output-directory = "comprehensive-rust-exercises"
|