diff --git a/docs/basic-config.asciidoc b/docs/basic-config.asciidoc index 363326f20..536dfead4 100644 --- a/docs/basic-config.asciidoc +++ b/docs/basic-config.asciidoc @@ -48,8 +48,7 @@ node: { |`auth` a|Your authentication data. You can use both basic authentication and {ref}/security-api-create-api-key.html[ApiKey]. + -See https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/auth-reference.html[Authentication] -for more details. + +See <> for more details. + _Default:_ `null` Basic authentication: diff --git a/docs/connecting.asciidoc b/docs/connecting.asciidoc index 57510ae12..282e12512 100644 --- a/docs/connecting.asciidoc +++ b/docs/connecting.asciidoc @@ -6,14 +6,14 @@ This page contains the information you need to connect and use the Client with **On this page** -* <> +* <> * <> * <> * <> * <> * <> -[[auth-reference]] +[[authentication]] [discrete] === Authentication diff --git a/docs/index.asciidoc b/docs/index.asciidoc index 9997b4ab9..f57b2f8d5 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -19,3 +19,4 @@ include::typescript.asciidoc[] include::reference.asciidoc[] include::examples/index.asciidoc[] include::helpers.asciidoc[] +include::redirects.asciidoc[] diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc new file mode 100644 index 000000000..f2d0aecbb --- /dev/null +++ b/docs/redirects.asciidoc @@ -0,0 +1,17 @@ +["appendix",role="exclude",id="redirects"] += Deleted pages + +The following pages have moved or been deleted. + +[role="exclude",id="auth-reference"] +== Authentication + +This page has moved. See <>. + +[role="exclude",id="breaking-changes"] +== Breaking changes + +For information about migrating from the legacy elasticsearch.js client to the +new Elasticsearch JavaScript client, refer to the +https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/7.17/breaking-changes.html[7.17 +JavaScript client migration guide].