mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-11-29 02:12:05 +02:00
d7efbbbe8a
This makes it easier to refer to a specific line of code while teaching or collaborating on a code snippet.
69 lines
2.3 KiB
TOML
69 lines
2.3 KiB
TOML
[book]
|
|
authors = ["Martin Geisler"]
|
|
language = "en"
|
|
multilingual = false
|
|
src = "src"
|
|
title = "Comprehensive Rust 🦀"
|
|
|
|
[rust]
|
|
edition = "2021"
|
|
|
|
[build]
|
|
extra-watch-dirs = ["po", "third_party"]
|
|
|
|
[preprocessor.gettext]
|
|
after = ["links"]
|
|
|
|
[preprocessor.svgbob]
|
|
renderers = ["html"]
|
|
after = ["gettext"]
|
|
class = "bob"
|
|
|
|
# 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"
|
|
|
|
[output.html]
|
|
curly-quotes = true
|
|
additional-js = ["speaker-notes.js"]
|
|
additional-css = ["svgbob.css", "speaker-notes.css", "language-picker.css"]
|
|
site-url = "/comprehensive-rust/"
|
|
git-repository-url = "https://github.com/google/comprehensive-rust"
|
|
edit-url-template = "https://github.com/google/comprehensive-rust/edit/main/{path}"
|
|
|
|
[output.html.fold]
|
|
enable = true
|
|
level = 0
|
|
|
|
[output.html.playground]
|
|
editable = true
|
|
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.
|
|
"async/concurrency/channels.html" = "../channels.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"
|
|
"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"
|
|
"exercises/concurrency/elevator.html" = "chat-app.html"
|
|
"generics/closures.html" = "../traits/closures.html"
|
|
"generics/impl-trait.html" = "../traits/impl-trait.html"
|
|
"generics/trait-bounds.html" = "../traits/trait-bounds.html"
|
|
"generics/trait-objects.html" = "../traits/trait-objects.html"
|
|
"running-the-course/day-4.html" = "course-structure.html"
|
|
"structure.html" = "running-the-course/course-structure.html"
|
|
"unsafe/unsafe-functions.html" = "calling-unsafe-functions.html"
|
|
"welcome-bare-metal.html" = "bare-metal.html"
|
|
"welcome-day-4.html" = "concurrency.html"
|
|
|
|
[output.exerciser]
|
|
output-directory = "comprehensive-rust-exercises"
|