From 01382c8e0a9a8a2049739248f46fc431b58aa755 Mon Sep 17 00:00:00 2001 From: icarus Date: Sat, 21 Feb 2026 02:26:03 +0800 Subject: [PATCH] refactor: Format book.toml with consistent indentation --- book.toml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/book.toml b/book.toml index 2d84b18f..3a9b06c8 100644 --- a/book.toml +++ b/book.toml @@ -1,18 +1,13 @@ [book] title = "Rust 程序设计语言 简体中文版" -authors = [ - "Steve Klabnik", - "Carol Nichols", - "Chris Krycho", - "来自 Rust 社区的贡献(Rust 中文社区翻译)", -] +authors = ["Steve Klabnik", "Carol Nichols", "Chris Krycho", "来自 Rust 社区的贡献(Rust 中文社区翻译)"] [output.html] additional-css = [ - "ferris.css", - "theme/2018-edition.css", - "theme/semantic-notes.css", - "theme/listing.css", + "ferris.css", + "theme/2018-edition.css", + "theme/semantic-notes.css", + "theme/listing.css", ] additional-js = ["ferris.js"] git-repository-url = "https://github.com/KaiserY/trpl-zh-cn/tree/main" @@ -25,6 +20,7 @@ custom-template = "custom-template.typ" pdf = true section-number = true rust-book = true +optional = true [rust] edition = "2024"