From 6eddb01b5de996c3f2aa6be785ecce9604b34705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Tue, 14 Feb 2023 14:39:26 +0100 Subject: [PATCH] [DOCS] References shared/version and adds doctype to index file (#1280) (#1285) * [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 8d67dfa9c..0cd4a21a2 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -1,6 +1,9 @@ = Elasticsearch-PHP +: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 6e42b3d9a..9850a359b 100644 --- a/docs/release-notes.asciidoc +++ b/docs/release-notes.asciidoc @@ -311,7 +311,7 @@ online document for more information. 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