[DOCS] Refactor book-scoped variables in docs/reference/index.asciidoc (#107413)

* Remove `es-test-dir` book-scoped variable

* Remove `plugins-examples-dir` book-scoped variable

* Remove `:dependencies-dir:` and `:xes-repo-dir:` book-scoped variables

- In `index.asciidoc`, two variables (`:dependencies-dir:` and `:xes-repo-dir:`) were removed.
- In `sql/index.asciidoc`, the `:sql-tests:` path was updated to fuller path
- In `esql/index.asciidoc`, the `:esql-tests:` path was updated idem

* Replace `es-repo-dir` with `es-ref-dir`

* Move `:include-xpack: true` to few files that use it, remove from index.asciidoc
This commit is contained in:
Liam Thompson 2024-04-17 14:37:07 +02:00 committed by GitHub
parent 9b91d9c072
commit 33a71e3289
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
344 changed files with 2331 additions and 2328 deletions

View file

@ -25,7 +25,7 @@ You halt and restart the {slm-init} plugin with the
==== {api-query-parms-title}
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
include::{es-ref-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
[[slm-api-get-status-prereqs]]
==== {api-prereq-title}

View file

@ -41,7 +41,7 @@ you want to create or update.
[[slm-api-put-query-params]]
==== {api-query-parms-title}
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
include::{es-ref-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
[role="child_attributes"]
[[slm-api-put-request-body]]
@ -55,7 +55,7 @@ Configuration for each snapshot created by the policy.
[%collapsible%open]
====
:page-id: put-slm-api
include::{es-repo-dir}/snapshot-restore/apis/create-snapshot-api.asciidoc[tag=snapshot-config]
include::{es-ref-dir}/snapshot-restore/apis/create-snapshot-api.asciidoc[tag=snapshot-config]
:!page-id:
====

View file

@ -30,7 +30,7 @@ Manually starting {slm-init} is only necessary if it has been stopped using the
==== {api-query-parms-title}
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
include::{es-ref-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
[[slm-api-start-example]]
==== {api-examples-title}

View file

@ -37,7 +37,7 @@ Use the <<slm-api-get-status>> to see if {slm-init} is running.
==== {api-query-parms-title}
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
include::{es-ref-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
[[slm-api-stop-example]]
==== {api-examples-title}