Skip to content

Commit

Permalink
Include autoscaling APIs in API docs (elastic#54603)
Browse files Browse the repository at this point in the history
This commit adds a top-level link to the autoscaling API reference page
to the API docs. Additionally, we add a conditional guard on the API
pages to only include them in development builds of the docs.
  • Loading branch information
jasontedor authored Apr 1, 2020
1 parent f4a96f5 commit 06ded13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/reference/rest-api/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ We are working on including more {es} APIs in this section. Some content might
not be included yet.

* <<api-conventions, API conventions>>
ifdef::permanently-unreleased-branch[]
* <<autoscaling-apis, Autoscaling APIs>>
endif::[]
* <<cat, cat APIs>>
* <<cluster, Cluster APIs>>
* <<ccr-apis,{ccr-cap} APIs>>
Expand All @@ -36,7 +39,9 @@ not be included yet.
--

include::{es-repo-dir}/api-conventions.asciidoc[]
ifdef::permanently-unreleased-branch[]
include::{es-repo-dir}/autoscaling/apis/autoscaling-apis.asciidoc[]
endif::[]
include::{es-repo-dir}/cat.asciidoc[]
include::{es-repo-dir}/cluster.asciidoc[]
include::{es-repo-dir}/ccr/apis/ccr-apis.asciidoc[]
Expand Down

0 comments on commit 06ded13

Please sign in to comment.