File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 env :
3232 MDBOOK_VERSION : 0.4.21
3333 SITEMAP_GEN_VERSION : 0.2.0
34+ ALERTS_VERSION : 0.6.7
3435 PUBLISH_DOMAIN : component-model.bytecodealliance.org
3536 steps :
3637 - uses : actions/checkout@v3
4041 rustup update
4142 cargo install --version ${MDBOOK_VERSION} mdbook
4243 cargo install --version ${SITEMAP_GEN_VERSION} mdbook-sitemap-generator
44+ cargo install --version ${ALERTS_VERSION} mdbook-alerts
4345 - name : Setup Pages
4446 id : pages
4547 uses : actions/configure-pages@v3
Original file line number Diff line number Diff line change @@ -10,6 +10,16 @@ You can run the website locally using the [mdBook](https://rust-lang.github.io/m
1010
1111To use this repository, you need [ mdBook] ( https://rust-lang.github.io/mdBook/guide/installation.html ) installed on your workstation.
1212
13+ This repository also makes use of mdBook plugins. To install mdBook and the plugins for this project, you can use [ ` cargo ` ] [ cargo ] :
14+
15+ ``` console
16+ cargo install --version 0.4.21 mdbook
17+ cargo install --version 0.2.0 mdbook-sitemap-generator
18+ cargo install --version 0.6.7 mdbook-alerts
19+ ```
20+
21+ [ cargo ] : https://doc.rust-lang.org/cargo
22+
1323### Running the website locally
1424
1525After installing mdBook, you'll need to clone the code via git and navigate to the directory.
Original file line number Diff line number Diff line change @@ -8,4 +8,6 @@ title = "The WebAssembly Component Model"
88[output .html ]
99git-repository-url = " https://github.com/bytecodealliance/component-docs/tree/main/component-model"
1010edit-url-template = " https://github.com/bytecodealliance/component-docs/tree/main/component-model/{path}"
11- additional-css = [" theme/head.hbs" ]
11+ additional-css = [" theme/head.hbs" ]
12+
13+ [preprocessor .alerts ]
You can’t perform that action at this time.
0 commit comments