Skip to content

Commit 125404d

Browse files
authored
Small doc fixes (#249)
1 parent a828b65 commit 125404d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

docs/docset.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ toc:
55
- toc: reference
66
subs:
77
es: "Elasticsearch"
8+
version: "9.0.0-alpha.1"

docs/reference/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The Elasticsearch Rust client is forward compatible; meaning that the client sup
3131

3232
## Create a client [_create_a_client]
3333

34-
To create a client to make API calls to Elasticsearch running on `\https://localhost:9200`
34+
To create a client to make API calls to Elasticsearch running on `https://localhost:9200`
3535

3636
```rust
3737
let client = Elasticsearch::default();

docs/reference/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ mapped_pages:
77

88
Add `elasticsearch` crate and version to Cargo.toml. Choose the version that is compatible with the version of {{es}} you are using:
99

10-
```toml
10+
```toml subs=true
1111
[dependencies]
12-
elasticsearch = "8.7.0-alpha.1"
12+
elasticsearch = "{{version}}"
1313
```
1414

1515
The following *optional* dependencies may also be useful to create requests and read responses:
1616

1717
```toml
18-
serde = "~1"
19-
serde_json = "~1"
18+
serde = "1"
19+
serde_json = "1"
2020
```
2121

0 commit comments

Comments
 (0)