mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-23 05:54:59 +02:00
031cb4fb89
This version has much improved support for the translation of code blocks. See https://github.com/google/mdbook-i18n-helpers/issues/95 for details. Most PO files won’t need any update since most of them don’t translate the comments in the code blocks. Those that do, can run `mdbook-i18n-normalize` when they feel like it.
29 lines
843 B
YAML
29 lines
843 B
YAML
name: Install mdbook and dependencies
|
|
|
|
description: Install mdbook with the dependencies we need.
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
# 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.35
|
|
shell: bash
|
|
|
|
- name: Install mdbook-svgbob
|
|
run: cargo install mdbook-svgbob --locked --version 0.2.1
|
|
shell: bash
|
|
|
|
- name: Install mdbook-i18n-helpers
|
|
run: cargo install mdbook-i18n-helpers --locked --version 0.3.0
|
|
shell: bash
|
|
|
|
- name: Install mdbook-exerciser
|
|
run: cargo install --path mdbook-exerciser --locked
|
|
shell: bash
|
|
|
|
- name: Install mdbook-course
|
|
run: cargo install --path mdbook-course --locked
|
|
shell: bash
|