mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-02 11:03:18 +02:00
46f25ac891
This fixes the 404 page on GitHub Pages: the default is `/`, but we’re hosting the site from a subdirectory because of how the repository is setup. Fixes #178.
38 lines
730 B
TOML
38 lines
730 B
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"
|
|
|
|
[output.html]
|
|
curly-quotes = true
|
|
additional-js = ["ga4.js", "speaker-notes.js"]
|
|
additional-css = ["svgbob.css", "speaker-notes.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
|