Add --features to CI recipe (#1103)
This commit is contained in:
parent
49b7f08164
commit
e3717ad47b
|
@ -42,10 +42,14 @@ There are multiple ways to install mdBook.
|
||||||
|
|
||||||
This will constrain the server to install the latest **non-breaking**
|
This will constrain the server to install the latest **non-breaking**
|
||||||
version of mdBook and will prevent your books from failing to build because
|
version of mdBook and will prevent your books from failing to build because
|
||||||
we released a new version. For example:
|
we released a new version.
|
||||||
|
|
||||||
|
You can also disable default features to speed up compile time.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
cargo install mdbook --vers "^0.1.0"
|
cargo install mdbook --no-default-features --features output --vers "^0.1.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **From Git**
|
3. **From Git**
|
||||||
|
|
Loading…
Reference in New Issue