Skip to content

Commit 6bf6b3a

Browse files
BradyBonnetteeeeebbbbrrrr
authored andcommitted
Fixes documentation generation CI (#360)
1 parent 28ccb22 commit 6bf6b3a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
echo "PATH=$HOME/.cargo/bin:$PATH" >> $GITHUB_ENV
1919
- name: Install mdbook and other preprocessors
2020
run: |
21-
cargo install mdbook mdbook-variables
21+
cargo install mdbook --version 0.4.32
22+
cargo install mdbook-variables --version 0.2.1
2223
- name: Deploy GitHub Pages
2324
run: |
2425
# This assumes your book is in the root of your repository.

doc/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
The book is built [using `mdbook`](https://rust-lang.github.io/mdBook/index.html).
44

5-
Install mdbook.
5+
Install mdbook -- exact version is required since (at the time of this writing) there were some compatibility issues.
66

77
```bash
8-
cargo install mdbook
8+
cargo install mdbook --version 0.4.32
99
```
1010

11-
Install mdbook-variables preprocessor
11+
Install mdbook-variables preprocessor -- exact version is required since (at the time of this writing) there were some compatibility issues.
1212

1313
```bash
14-
cargo install mdbook-variables
14+
cargo install mdbook-variables --version 0.2.1
1515
```
1616

1717
Serve the book locally and open your default browser.

0 commit comments

Comments
 (0)