Skip to content

Commit fdce4d2

Browse files
committed
Update to new versions of mdbook-i18n-helpers and mdbook-linkcheck2 too.
1 parent 227ba4a commit fdce4d2

File tree

2 files changed

+5
-22
lines changed

2 files changed

+5
-22
lines changed

book.toml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,8 @@ pdf-engine = "lualatex"
3939
mainfont = "Noto Serif"
4040
sansfont = "Noto Sans"
4141
monofont = "Noto Sans Mono"
42-
mainfontfallback = [
43-
"NotoColorEmoji:mode=harf",
44-
"NotoNaskhArabic:",
45-
]
46-
sansfontfallback = [
47-
"NotoSansArabic:",
48-
]
42+
mainfontfallback = ["NotoColorEmoji:mode=harf", "NotoNaskhArabic:"]
43+
sansfontfallback = ["NotoSansArabic:"]
4944
monofontfallback = [
5045
"NotoColorEmoji:mode=harf",
5146
"NotoSansMath:",
@@ -58,10 +53,7 @@ urlcolor = "red"
5853

5954
[output.html]
6055
smart-punctuation = true
61-
additional-js = [
62-
"theme/speaker-notes.js",
63-
"theme/redbox.js",
64-
]
56+
additional-js = ["theme/speaker-notes.js", "theme/redbox.js"]
6557
additional-css = [
6658
"theme/css/svgbob.css",
6759
"theme/css/redbox.css",
@@ -293,15 +285,6 @@ use-boolean-and = true
293285
[output.exerciser]
294286
output-directory = "comprehensive-rust-exercises"
295287

296-
[output.linkcheck]
297-
optional = true
298-
follow-web-links = false # change to true to check web links
299-
exclude = [
300-
"comprehensive-rust.pdf",
301-
"comprehensive-rust-exercises.zip",
302-
# "crates.io", # uncomment when follow-web-links is true
303-
]
304-
305288
[output.linkcheck2]
306289
optional = true
307290
follow-web-links = false # change to true to check web links

xtask/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ fn install_tools(binstall: bool) -> Result<()> {
143143
("mdbook", "0.5.2"),
144144
("mdbook-svgbob", "0.2.2"),
145145
("mdbook-pandoc", "0.10.4"),
146-
("mdbook-i18n-helpers", "0.3.6"),
146+
("mdbook-i18n-helpers", "0.4.0"),
147147
("i18n-report", "0.2.0"),
148-
("mdbook-linkcheck2", "0.9.1"),
148+
("mdbook-linkcheck2", "0.11.0"),
149149
];
150150

151151
for (tool, version) in tools {

0 commit comments

Comments
 (0)