From 6ed20ff8eb7d8e68b24259b3866276969f0e35ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Fri, 10 Feb 2023 13:05:40 +0100 Subject: [PATCH] [DOCS] References shared/version and adds doctype to index file (#1280) * [DOCS] Adds doctype to index file. * [DOCS] Adds shared/versions to include in index. --- docs/index.asciidoc | 3 +++ docs/release-notes.asciidoc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/index.asciidoc b/docs/index.asciidoc index 5d91df689..c41e38ecf 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -1,6 +1,9 @@ = Elasticsearch PHP Client +:doctype: book + +include::{docs-root}/shared/versions/stack/{source_branch}.asciidoc[] include::{asciidoc-dir}/../../shared/attributes.asciidoc[] include::overview.asciidoc[] diff --git a/docs/release-notes.asciidoc b/docs/release-notes.asciidoc index 9cb6e3616..f4efe846b 100644 --- a/docs/release-notes.asciidoc +++ b/docs/release-notes.asciidoc @@ -255,7 +255,7 @@ the phpdoc section (for example, https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/Client.php[$client->rankEval()]). For more information read the - https://www.elastic.co/guide/en/elasticsearch/client/php-api/master/experimental_and_beta_apis.html[experimental and beta APIs] + https://www.elastic.co/guide/en/elasticsearch/client/php-api/{branch}/experimental_and_beta_apis.html[experimental and beta APIs] section in the documentation. https://github.com/elastic/elasticsearch-php/pull/966[#966] * Removed `AlreadyExpiredException` since it has been removed