Skip to content

Commit 4ae1589

Browse files
committed
chore: update build instructions to account for new dependencies
1 parent b714ff5 commit 4ae1589

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,29 @@ information on how contributing to this repository works.
2525
This book is built with [mdbook](https://rust-lang.github.io/mdBook/). You can
2626
install it by running `cargo install mdbook`.
2727

28+
### Additional dependencies
29+
30+
- `cargo install mdbook-last-changed` for date changes in the footer
31+
32+
- `cargo install mdbook-pandoc` for rendering the book to PDF
33+
34+
- `cargo install mdbook-i18n-helpers` for translation and i8n support
35+
36+
#### Texlive
37+
38+
```sh
39+
# Source the .env file to get the PANDOC_VERSION
40+
. ./.env
41+
42+
sudo apt-get update
43+
44+
sudo apt-get install -y texlive texlive-latex-extra texlive-luatex texlive-lang-cjk librsvg2-bin fonts-noto
45+
46+
curl -LsSf https://github.com/jgm/pandoc/releases/download/$PANDOC_VERSION/pandoc-$PANDOC_VERSION-linux-amd64.tar.gz | tar zxf -
47+
```
48+
49+
### Building the book
50+
2851
If you want to build it locally you can run one of these two commands in the
2952
root directory of the repository:
3053

0 commit comments

Comments
 (0)