From 39e870c2359daba4797aa54b42c29616d8341d4d Mon Sep 17 00:00:00 2001 From: debadair Date: Wed, 9 Nov 2022 14:52:45 -0800 Subject: [PATCH] [DOCS] Replace dependencies list with a link. Closes #84863 (#90694) (#91480) * [DOCS] Replace dependencies list with a link to the generated dependencies list. Closes #84863 * Made conditional based on the release state. * Fixed missing end statement --- docs/reference/dependencies-versions.asciidoc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/reference/dependencies-versions.asciidoc b/docs/reference/dependencies-versions.asciidoc index 87f6f0c0942fc..8c0d3e3c572bf 100644 --- a/docs/reference/dependencies-versions.asciidoc +++ b/docs/reference/dependencies-versions.asciidoc @@ -1,7 +1,10 @@ ["appendix",id="dependencies-versions"] = Dependencies and versions -[source, text] ----- -include::{dependencies-dir}/version.properties[] ----- +ifeval::["{release-state}"=="unreleased"] +See https://artifacts.elastic.co/reports/dependencies/dependencies-current.html[Elastic Stack Third-party Dependencices] for the complete list of dependencies for {es}. +endif::[] + +ifeval::["{release-state}"=="released"] +See https://artifacts.elastic.co/reports/dependencies/dependencies-{elasticsearch_version}.html[Elastic Stack Third-party Dependencices] for the complete list of dependencies for {es} {elasticsearch_version}. +endif::[]