You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-16 06:10:26 +02:00
Add more tools to install instructions. (#2756)
Install mdbook-linkcheck2 via xtask, rather than separate step.
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -161,12 +161,6 @@ jobs:
|
||||
MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' mdbook build -d po
|
||||
msgfmt -o /dev/null --statistics po/messages.pot
|
||||
|
||||
- name: Install mdbook-linkcheck2
|
||||
if: contains(fromJSON(env.LINK_CHECKED_LANGUAGES), matrix.language)
|
||||
run: |
|
||||
cargo uninstall mdbook-linkcheck || true
|
||||
cargo install mdbook-linkcheck2 --locked --version 0.9.1
|
||||
|
||||
- name: Build ${{ matrix.language }} translation
|
||||
run: |
|
||||
.github/workflows/build.sh ${{ matrix.language }} book/comprehensive-rust-${{ matrix.language }}
|
||||
|
@ -59,10 +59,12 @@ Install `dprint` using their
|
||||
[installation instructions](https://dprint.dev/install/) and install `rustfmt`
|
||||
via `rustup`.
|
||||
|
||||
Install [pandoc 3.7.0.1](https://github.com/jgm/pandoc/releases/tag/3.7.0.1).
|
||||
|
||||
On Debian, you can install the other tools using:
|
||||
|
||||
```sh
|
||||
sudo apt install yapf3 gettext
|
||||
sudo apt install yapf3 gettext texlive texlive-luatex texlive-lang-cjk texlive-lang-arabic librsvg2-bin fonts-noto
|
||||
```
|
||||
|
||||
### MacOS
|
||||
|
@ -84,6 +84,7 @@ fn install_tools() -> Result<()> {
|
||||
vec!["mdbook-pandoc", "--locked", "--version", "0.10.4"],
|
||||
vec!["mdbook-i18n-helpers", "--locked", "--version", "0.3.6"],
|
||||
vec!["i18n-report", "--locked", "--version", "0.2.0"],
|
||||
vec!["mdbook-linkcheck2", "--locked", "--version", "0.9.1"],
|
||||
// Mdbook-exerciser and mdbook-course are located in this repository.
|
||||
// To make it possible to install them from any directory we need to
|
||||
// specify their path from the workspace root.
|
||||
|
Reference in New Issue
Block a user