Skip to content

Commit 947f506

Browse files
authored
[DOCS] Includes source_branch in docs index and changes URLs. (#2166)
* [DOCS] Includes source_branc in docs index and changes URLs. * Update docs/guide/index.asciidoc
1 parent f0b0e9f commit 947f506

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/guide/connecting.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ es = Elasticsearch(
301301

302302
HTTP Bearer authentication uses the `bearer_auth` parameter by passing the token
303303
as a string. This authentication method is used by
304-
https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-create-service-token.html[Service Account Tokens]
305-
and https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-get-token.html[Bearer Tokens].
304+
https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-create-service-token.html[Service Account Tokens]
305+
and https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-get-token.html[Bearer Tokens].
306306

307307
[source,python]
308308
----

docs/guide/index.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
:doctype: book
44

5+
include::{asciidoc-dir}/../../shared/versions/stack/{source_branch}.asciidoc[]
6+
57
include::{asciidoc-dir}/../../shared/attributes.asciidoc[]
68

79
include::overview.asciidoc[]

0 commit comments

Comments
 (0)