File tree Expand file tree Collapse file tree 5 files changed +57
-377
lines changed Expand file tree Collapse file tree 5 files changed +57
-377
lines changed Original file line number Diff line number Diff line change 2727 - name : Install mdbook
2828 run : |
2929 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
3131 echo "$(pwd)/bin" >> ${GITHUB_PATH}
3232
3333 - name : Install mdbook-i18n-helpers
Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ enable = true
1313
1414[output .html ]
1515git-repository-url = " https://github.com/rust-lang/rust-by-example"
16+ hash-files = true
1617additional-css = [
1718 " theme/css/language-picker.css" ,
1819]
20+ additional-js = [" theme/js/language-picker.js" ]
1921
2022[rust ]
2123edition = " 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