From e4c3fd6d9624882abb97ec5b4d67141d80428635 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Wed, 26 Sep 2018 14:59:31 -0700 Subject: [PATCH] [DOCS] Moves graph to docs folder (#33472) --- docs/build.gradle | 1 + .../docs/en/rest-api => docs/reference}/graph/explore.asciidoc | 1 + docs/reference/rest-api/index.asciidoc | 2 +- x-pack/docs/build.gradle | 1 - 4 files changed, 3 insertions(+), 2 deletions(-) rename {x-pack/docs/en/rest-api => docs/reference}/graph/explore.asciidoc (99%) diff --git a/docs/build.gradle b/docs/build.gradle index 864567ba835..935149bdc84 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -100,6 +100,7 @@ buildRestTests.docs = fileTree(projectDir) { exclude 'reference/rollup/apis/delete-job.asciidoc' exclude 'reference/rollup/apis/get-job.asciidoc' exclude 'reference/rollup/apis/rollup-caps.asciidoc' + exclude 'reference/graph/explore.asciidoc' } listSnippets.docs = buildRestTests.docs diff --git a/x-pack/docs/en/rest-api/graph/explore.asciidoc b/docs/reference/graph/explore.asciidoc similarity index 99% rename from x-pack/docs/en/rest-api/graph/explore.asciidoc rename to docs/reference/graph/explore.asciidoc index f9902fcbe48..91b07a63129 100644 --- a/x-pack/docs/en/rest-api/graph/explore.asciidoc +++ b/docs/reference/graph/explore.asciidoc @@ -1,4 +1,5 @@ [role="xpack"] +[testenv="platinum"] [[graph-explore-api]] == Explore API diff --git a/docs/reference/rest-api/index.asciidoc b/docs/reference/rest-api/index.asciidoc index b80e8badf5b..c6243ab2598 100644 --- a/docs/reference/rest-api/index.asciidoc +++ b/docs/reference/rest-api/index.asciidoc @@ -19,7 +19,7 @@ directly to configure and access {xpack} features. include::info.asciidoc[] -include::{xes-repo-dir}/rest-api/graph/explore.asciidoc[] +include::{es-repo-dir}/graph/explore.asciidoc[] include::{es-repo-dir}/licensing/index.asciidoc[] include::{es-repo-dir}/migration/migration.asciidoc[] include::{es-repo-dir}/ml/apis/ml-api.asciidoc[] diff --git a/x-pack/docs/build.gradle b/x-pack/docs/build.gradle index f027493b0ab..59d89024db5 100644 --- a/x-pack/docs/build.gradle +++ b/x-pack/docs/build.gradle @@ -92,7 +92,6 @@ buildRestTests.docs = fileTree(projectDir) { exclude 'build' // These file simply doesn't pass yet. We should figure out how to fix them. exclude 'en/watcher/reference/actions.asciidoc' - exclude 'en/rest-api/graph/explore.asciidoc' } Map setups = buildRestTests.setups