From a77c40ec06d72c357dcd0f519c2cf1d3c308f561 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Fri, 29 Jul 2022 13:50:05 -0700 Subject: [PATCH] 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 Commit-Queue: Daniel Verkamp Tested-by: Daniel Verkamp --- .devcontainer/devcontainer.json | 2 +- tools/impl/dev_container/version | 2 +- tools/install-docs-deps | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index fa3518b1a2..4a3de11d7c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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", diff --git a/tools/impl/dev_container/version b/tools/impl/dev_container/version index 526a6d2d67..8d1c6eebe4 100644 --- a/tools/impl/dev_container/version +++ b/tools/impl/dev_container/version @@ -1 +1 @@ -r0014 +r0015 diff --git a/tools/install-docs-deps b/tools/install-docs-deps index fef0c52206..484f26ab62 100755 --- a/tools/install-docs-deps +++ b/tools/install-docs-deps @@ -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"