tools: enable search feature for mdbook

This will generate the search index and in-browser search for the book.

BUG=None
TEST=mdbook build docs/book

Change-Id: Ibaf67002c5b5d5cf1aafd19ab66a05b9116b14a0
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3792098
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Daniel Verkamp 2022-07-29 13:50:05 -07:00 committed by crosvm LUCI
parent dd7ef550dc
commit a77c40ec06
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{
"image": "gcr.io/crosvm-infra/crosvm_dev:r0014",
"image": "gcr.io/crosvm-infra/crosvm_dev:r0015",
"extensions": [
"rust-lang.rust-analyzer",
"bungcip.better-toml",

View file

@ -1 +1 @@
r0014
r0015

View file

@ -18,6 +18,6 @@ sudo apt install --yes --no-install-recommends \
protobuf-compiler
# The mdbook and mdbook-mermaid tools are used to build the crosvm book.
cargo install mdbook --no-default-features --version "^0.4.10"
cargo install mdbook --no-default-features --features search --version "^0.4.10"
cargo install mdbook-mermaid --version "^0.8.3"
cargo install mdbook-linkcheck --version "^0.7.6"