diff --git a/docs/docset.yml b/docs/docset.yml index 86665e9e..e1e5eb8b 100644 --- a/docs/docset.yml +++ b/docs/docset.yml @@ -5,3 +5,4 @@ toc: - toc: reference subs: es: "Elasticsearch" + version: "9.0.0-alpha.1" diff --git a/docs/reference/index.md b/docs/reference/index.md index d074996d..25f531aa 100644 --- a/docs/reference/index.md +++ b/docs/reference/index.md @@ -31,7 +31,7 @@ The Elasticsearch Rust client is forward compatible; meaning that the client sup ## Create a client [_create_a_client] -To create a client to make API calls to Elasticsearch running on `\https://localhost:9200` +To create a client to make API calls to Elasticsearch running on `https://localhost:9200` ```rust let client = Elasticsearch::default(); diff --git a/docs/reference/installation.md b/docs/reference/installation.md index e75f51ed..15037ef8 100644 --- a/docs/reference/installation.md +++ b/docs/reference/installation.md @@ -7,15 +7,15 @@ mapped_pages: Add `elasticsearch` crate and version to Cargo.toml. Choose the version that is compatible with the version of {{es}} you are using: -```toml +```toml subs=true [dependencies] -elasticsearch = "8.7.0-alpha.1" +elasticsearch = "{{version}}" ``` The following *optional* dependencies may also be useful to create requests and read responses: ```toml -serde = "~1" -serde_json = "~1" +serde = "1" +serde_json = "1" ```