You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`--no-default-features` --- Disables features like the HTTP server used by `mdbook serve` that is likely not needed on CI.
55
55
This will speed up the build time significantly.
56
56
*`--features search` --- Disabling default features means you should then manually enable features that you want, such as the built-in [search] capability.
57
-
*`--vers "^0.4"` --- This will install the most recent version of the `0.4` series.
58
-
However, versions after like `0.5.0` won't be installed, as they may break your build.
57
+
*`--vers "^{{ mdbook-version }}"` --- This will install the most recent version of the `{{ mdbook-semver }}` version series.
58
+
However, semver-incompatible versions after like `{{ mdbook-semver-break }}` won't be installed, as they may break your build.
59
59
Cargo will automatically upgrade mdBook if you have an older version already installed.
60
+
If you want to stick to a specific version of mdBook, replace the `^` with an `=`.
60
61
*`--locked` --- This will use the dependencies that were used when mdBook was released.
61
62
Without `--locked`, it will use the latest version of all dependencies, which may include some fixes since the last release, but may also (rarely) cause build problems.
0 commit comments