Skip to content

Commit

Permalink
[DOCS] Fix JS client attribute in docs
Browse files Browse the repository at this point in the history
The Elasticsearch-JS client only produces documentation for major
versions (e.g., n.x, 7.x, 6.x).

However, the `{jsclient}` attribute uses the current `{branch}`, which
can result in broken links in minor version docs.

This swaps the `{jsclient}` attribute for `{jsclient-current}`,
which is less likely to break across versions.
  • Loading branch information
jrodewig committed May 19, 2020
1 parent 0e98652 commit 59fa4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/docs/bulk.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Python::

JavaScript::

See {jsclient}/client-helpers.html[client.helpers.*]
See {jsclient-current}/client-helpers.html[client.helpers.*]

[float]
[[bulk-curl]]
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/search/request/scroll.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Python::
JavaScript::
See {jsclient}/client-helpers.html[client.helpers.*]
See {jsclient-current}/client-helpers.html[client.helpers.*]
*********************************************

Expand Down

0 comments on commit 59fa4cc

Please sign in to comment.