File tree 5 files changed +57
-377
lines changed
5 files changed +57
-377
lines changed Original file line number Diff line number Diff line change 27
27
- name : Install mdbook
28
28
run : |
29
29
mkdir bin
30
- curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.42 /mdbook-v0.4.42 -x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
30
+ curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.46 /mdbook-v0.4.46 -x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
31
31
echo "$(pwd)/bin" >> ${GITHUB_PATH}
32
32
33
33
- name : Install mdbook-i18n-helpers
Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ enable = true
13
13
14
14
[output .html ]
15
15
git-repository-url = " https://github.com/rust-lang/rust-by-example"
16
+ hash-files = true
16
17
additional-css = [
17
18
" theme/css/language-picker.css" ,
18
19
]
20
+ additional-js = [" theme/js/language-picker.js" ]
19
21
20
22
[rust ]
21
23
edition = " 2021"
Original file line number Diff line number Diff line change
1
+ <script >
2
+ const mdbookPath = " {{ path }}" ;
3
+ const mdbookPathToRoot = " {{ path_to_root }}" ;
4
+ </script >
You can’t perform that action at this time.
0 commit comments