File tree Expand file tree Collapse file tree 4 files changed +522
-39
lines changed Expand file tree Collapse file tree 4 files changed +522
-39
lines changed Original file line number Diff line number Diff line change 31
31
env :
32
32
MDBOOK_VERSION : 0.4.21
33
33
SITEMAP_GEN_VERSION : 0.2.0
34
+ ALERTS_VERSION : 0.6.7
34
35
PUBLISH_DOMAIN : component-model.bytecodealliance.org
35
36
steps :
36
37
- uses : actions/checkout@v3
40
41
rustup update
41
42
cargo install --version ${MDBOOK_VERSION} mdbook
42
43
cargo install --version ${SITEMAP_GEN_VERSION} mdbook-sitemap-generator
44
+ cargo install --version ${ALERTS_VERSION} mdbook-alerts
43
45
- name : Setup Pages
44
46
id : pages
45
47
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
10
10
11
11
To use this repository, you need [ mdBook] ( https://rust-lang.github.io/mdBook/guide/installation.html ) installed on your workstation.
12
12
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
+
13
23
### Running the website locally
14
24
15
25
After 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"
8
8
[output .html ]
9
9
git-repository-url = " https://github.com/bytecodealliance/component-docs/tree/main/component-model"
10
10
edit-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