Skip to content

Commit

Permalink
theme: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Dec 2, 2024
1 parent 2f4bdea commit 32f9496
Show file tree
Hide file tree
Showing 5 changed files with 355 additions and 392 deletions.
20 changes: 10 additions & 10 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ title = "The Little Book of Rust Macros (Rust 宏小册)"
# [rust]
# edition = "2021"

# [preprocessor.theme]
# pagetoc = true
# pagetoc-width = "12%"
# content-max-width = "78%"
# sidebar-width = "255px"
# sidebar-font-size = "0.85em"
# content-main-margin-left = "4%"
# content-main-margin-right = "4%"
# nav-chapters-max-width = "3%"
# nav-chapters-min-width = "3%"
[preprocessor.theme]
pagetoc = true
pagetoc-width = "12%"
content-max-width = "78%"
sidebar-width = "255px"
sidebar-font-size = "0.85em"
content-main-margin-left = "4%"
content-main-margin-right = "4%"
nav-chapters-max-width = "3%"
nav-chapters-min-width = "3%"

[build]
create-missing = true
Expand Down
Loading

0 comments on commit 32f9496

Please sign in to comment.