Skip to content

Commit d6b9c2a

Browse files
authored
[DOCS] Add redirects for authentication and migration guide (#1634) (#1641)
* [DOCS] Add redirects for authentication and migration guide * Update auth refs (cherry picked from commit 6d2774d)
1 parent 40c4d98 commit d6b9c2a

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

docs/basic-config.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ node: {
4848
|`auth`
4949
a|Your authentication data. You can use both basic authentication and
5050
{ref}/security-api-create-api-key.html[ApiKey]. +
51-
See https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/auth-reference.html[Authentication]
52-
for more details. +
51+
See <<authentication,Authentication>> for more details. +
5352
_Default:_ `null`
5453

5554
Basic authentication:

docs/connecting.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ This page contains the information you need to connect and use the Client with
66

77
**On this page**
88

9-
* <<auth-reference, Authentication options>>
9+
* <<authentication, Authentication options>>
1010
* <<client-usage, Using the client>>
1111
* <<client-faas-env, Using the Client in a Function-as-a-Service Environment>>
1212
* <<client-connect-proxy, Connecting through a proxy>>
1313
* <<client-error-handling, Handling errors>>
1414
* <<product-check, Automatic product check>>
1515

16-
[[auth-reference]]
16+
[[authentication]]
1717
[discrete]
1818
=== Authentication
1919

docs/index.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ include::typescript.asciidoc[]
1919
include::reference.asciidoc[]
2020
include::examples/index.asciidoc[]
2121
include::helpers.asciidoc[]
22+
include::redirects.asciidoc[]

docs/redirects.asciidoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
["appendix",role="exclude",id="redirects"]
2+
= Deleted pages
3+
4+
The following pages have moved or been deleted.
5+
6+
[role="exclude",id="auth-reference"]
7+
== Authentication
8+
9+
This page has moved. See <<client-connecting>>.
10+
11+
[role="exclude",id="breaking-changes"]
12+
== Breaking changes
13+
14+
For information about migrating from the legacy elasticsearch.js client to the
15+
new Elasticsearch JavaScript client, refer to the
16+
https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/7.17/breaking-changes.html[7.17
17+
JavaScript client migration guide].

0 commit comments

Comments
 (0)