You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-14 18:14:29 +02:00
Add support for right-to-left languages (#1165)
This updates our `mdbook` version to the latest version in Git. I copied the `index.hbs` file from that version and back-ported our changes into it. I checked English and Danish locally and they both look fine. The new version has support for right-to-left languages: https://github.com/rust-lang/mdBook/pull/1641. We have an in-progress Persian translation. Download the `fa.zip` artifact after building the PR to check how it looks. I checked Persian locally and it looks mirrored like I expect (but we will need someone who can read Persian to actually verify this). Fixes #1164.
This commit is contained in:
5
.github/workflows/install-mdbook/action.yml
vendored
5
.github/workflows/install-mdbook/action.yml
vendored
@ -8,7 +8,10 @@ runs:
|
||||
# The --locked flag is important for reproducible builds. It also
|
||||
# avoids breakage due to skews between mdbook and mdbook-svgbob.
|
||||
- name: Install mdbook
|
||||
run: cargo install mdbook --locked --version 0.4.34
|
||||
# See https://github.com/google/comprehensive-rust/issues/1164.
|
||||
# We will revert to a released version of mdbook as soon as the
|
||||
# commit referenced here is released.
|
||||
run: cargo install --git https://github.com/rust-lang/mdbook/ --rev 09f222b mdbook
|
||||
shell: bash
|
||||
|
||||
- name: Install mdbook-svgbob
|
||||
|
Reference in New Issue
Block a user