-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilitiesTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team
Description
In the rest-api-spec the we have an entry like:
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html",
The trouble with these is that we don't tend to update them in release branches. The 5.6 branch has:
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/5.x/docs-get.html",
That link is dead now. Further, 6.4 has:
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html",
If we're going to have these urls we should probably keep them up to date. This comes up when folks like @delvedor use those URLs in their generated documentation. They cause the docs build to fail because the referenced page doesn't exist.
Another option is to drop the prefix part of the url an rely on clients to "know" it. That'd be fine when generating documentation because we already have that prefix sitting around in an asciidoc variable but it'd be less nice for other folks that use the documentation.
delvedor
Metadata
Metadata
Assignees
Labels
:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilitiesTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team