mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-02 11:03:18 +02:00
3b7123d21a
The picker is a drop-down menu using the same design as the theme picker in the top-left. There doesn’t seem to be an easy way to pass in a list of languages and descriptions, so for now we’ll have to expand the menu by hand as we add new languages. A comment has been added to `publish.yml` to remind us of this.
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[book]
|
|
authors = ["Martin Geisler"]
|
|
language = "en"
|
|
multilingual = false
|
|
src = "src"
|
|
title = "Comprehensive Rust 🦀"
|
|
|
|
[rust]
|
|
edition = "2021"
|
|
|
|
[build]
|
|
extra-watch-dirs = ["po"]
|
|
|
|
[preprocessor.links]
|
|
renderers = ["html"]
|
|
|
|
[preprocessor.index]
|
|
renderers = ["html"]
|
|
|
|
[preprocessor.svgbob]
|
|
renderers = ["html"]
|
|
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 = ["ga4.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
|
|
|
|
[output.html.redirect]
|
|
"structure.html" = "running-the-course/course-structure.html"
|
|
"unsafe/unsafe-functions.html" = "calling-unsafe-functions.html"
|