Skip to content

Commit ef3858f

Browse files
committed
Update mdbook and preprocessors
1 parent 632f3de commit ef3858f

3 files changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
# Use MDBOOK_VERSION environment variable for better control
2121
- name: Set mdbook version
22-
run: echo "MDBOOK_VERSION=0.4.52" >> $GITHUB_ENV
22+
run: echo "MDBOOK_VERSION=0.5.1" >> $GITHUB_ENV
2323

2424
# Directly download prebuilt binaries instead of using cargo install
2525
- name: Install mdBook
@@ -38,14 +38,11 @@ jobs:
3838
# Install plugins only if not in cache
3939
- name: Install mdbook plugins
4040
run: |
41-
if ! command -v mdbook-alerts &> /dev/null; then
42-
cargo install mdbook-alerts --version 0.7.0
43-
fi
4441
if ! command -v mdbook-mermaid &> /dev/null; then
45-
cargo install mdbook-mermaid --version 0.15.0
42+
cargo install mdbook-mermaid --version 0.17.0
4643
fi
4744
if ! command -v mdbook-langtabs &> /dev/null; then
48-
cargo install mdbook-langtabs --version 0.1.1
45+
cargo install mdbook-langtabs --version 0.2.0
4946
fi
5047
5148
# Setup and build

book.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
[book]
22
authors = []
33
language = "en"
4-
multilingual = false
54
src = "src"
65
title = "Styx Book"
76

8-
[preprocessor.alerts]
9-
107
[preprocessor.mermaid]
118
command = "mdbook-mermaid"
129

langtabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function loadDeviconCSS() {
22
const link = document.createElement('link');
33
link.rel = 'stylesheet';
4-
link.href = 'https://cdn.jsdelivr.net/gh/devicons/devicon@v2.16.0/devicon.min.css';
4+
link.href = 'https://cdn.jsdelivr.net/gh/devicons/devicon@v2.17.0/devicon.min.css';
55
document.head.appendChild(link);
66
})();
77

0 commit comments

Comments
 (0)