From f61d3d8f68095cd88287b50ad9a5692f6eca0bcc Mon Sep 17 00:00:00 2001 From: Brandon Morelli Date: Mon, 11 May 2020 13:42:22 -0700 Subject: [PATCH] docs: [apm] link to master in n.x branches (#56538) --- docs/Versions.asciidoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/Versions.asciidoc b/docs/Versions.asciidoc index cea33e18e00ed..c31771db0f92c 100644 --- a/docs/Versions.asciidoc +++ b/docs/Versions.asciidoc @@ -73,3 +73,12 @@ Shared attribute values are pulled from elastic/docs /////// include::{asciidoc-dir}/../../shared/attributes.asciidoc[] + +/////// +APM does not build n.x documentation. Links from .x branches should point to master instead +/////// +ifeval::["{source_branch}"=="7.x"] +:apm-server-ref: {apm-server-ref-m} +:apm-server-ref-v: {apm-server-ref-m} +:apm-overview-ref-v: {apm-overview-ref-m} +endif::[]