mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
[DOCS] Note doc links should be live in REST API JSON specs (#53871)
Downstream Elasticsearch clients, such as the Elaticsearch-JS client, use the documentation links in our REST API JSON specifications to create their docs. Using a broken link or linking to yet-to-be-created doc pages can break the docs build for these clients. This PR adds a related note to the README for the REST API JSON Specs.
This commit is contained in:
parent
23cccf0888
commit
1df73828ed
1 changed files with 6 additions and 1 deletions
|
@ -43,7 +43,12 @@ Example for the ["Create Index"](https://www.elastic.co/guide/en/elasticsearch/r
|
|||
The specification contains:
|
||||
|
||||
* The _name_ of the API (`indices.create`), which usually corresponds to the client calls
|
||||
* Link to the documentation at the <http://elastic.co> website
|
||||
* Link to the documentation at the <http://elastic.co> website.
|
||||
|
||||
**IMPORANT:** This should be a _live_ link. Several downstream ES clients use
|
||||
this link to generate their documentation. Using a broken link or linking to
|
||||
yet-to-be-created doc pages can break the [Elastic docs
|
||||
build](https://github.com/elastic/docs#building-documentation).
|
||||
* `stability` indicating the state of the API, has to be declared explicitly or YAML tests will fail
|
||||
* `experimental` highly likely to break in the near future (minor/patch), no bwc guarantees.
|
||||
Possibly removed in the future.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue