Skip to content

Commit

Permalink
[DOCS] Add temporary redirect for missing Component Template API docs (
Browse files Browse the repository at this point in the history
…#53735)

The following API spec files contain a link to a not-yet-created
doc page for the component template APIs:

* [cluster.delete_component_template.json][0]
* [cluster.get_component_template.json][1]
* [cluster.put_component_template.json][2]

The Elaticsearch-js client uses these spec files to create their docs.
This created a broken link in the Elaticsearch-js, which has broken
the docs build.

This PR adds a temporary redirect for the docs page. This redirect
should be removed when the actual API docs are added.

[0]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json
[1]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json
[2]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json
  • Loading branch information
jrodewig authored Mar 18, 2020
1 parent ddaf353 commit c89ba8a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/reference/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -380,3 +380,8 @@ See <<ccs-gateway-seed-nodes>> and <<ccs-min-roundtrips>>.
=== Asynchronous search

coming::[7.x]

[role="exclude",id="indices-component-templates"]
=== Component template APIs

coming::[7.x]

0 comments on commit c89ba8a

Please sign in to comment.