Skip to content

Commit

Permalink
[8.3] [DOCS] Includes source_branch in docs index
Browse files Browse the repository at this point in the history
  • Loading branch information
szabosteve committed Feb 22, 2023
1 parent 9c79ab3 commit cac4203
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Elasticsearch JavaScript Client

:branch: master
include::{asciidoc-dir}/../../shared/versions/stack/{source_branch}.asciidoc[]
include::{asciidoc-dir}/../../shared/attributes.asciidoc[]

include::introduction.asciidoc[]
Expand Down
4 changes: 2 additions & 2 deletions docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ client.getScript(...)
=== get_script_context
Returns all script contexts.

https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html[Endpoint documentation]
https://www.elastic.co/guide/en/elasticsearch/painless/8.3/painless-contexts.html[Endpoint documentation]
[source,ts]
----
client.getScriptContext(...)
Expand Down Expand Up @@ -353,7 +353,7 @@ client.renderSearchTemplate(...)
=== scripts_painless_execute
Allows an arbitrary script to be executed and a result to be returned

https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html[Endpoint documentation]
https://www.elastic.co/guide/en/elasticsearch/painless/8.3/painless-execute-api.html[Endpoint documentation]
[source,ts]
----
client.scriptsPainlessExecute(...)
Expand Down

0 comments on commit cac4203

Please sign in to comment.