From 305ff20b8f7bc9608501dcf5c6f271da4df25e3a Mon Sep 17 00:00:00 2001 From: Ugo Sangiorgi Date: Wed, 26 Jan 2022 14:00:40 -0500 Subject: [PATCH] [DOCS] Add missing HTML anchors to CCR and ML (#80287) --- docs/reference/ccr/apis/follow/put-follow.asciidoc | 4 ++-- .../ml/anomaly-detection/apis/put-job.asciidoc | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/reference/ccr/apis/follow/put-follow.asciidoc b/docs/reference/ccr/apis/follow/put-follow.asciidoc index 3b0ec303a23a5..d09eb51534042 100644 --- a/docs/reference/ccr/apis/follow/put-follow.asciidoc +++ b/docs/reference/ccr/apis/follow/put-follow.asciidoc @@ -69,10 +69,10 @@ referenced leader index. When this API returns, the follower index exists, and [[ccr-put-follow-request-body]] ==== {api-request-body-title} -`leader_index`:: +[[ccr-put-follow-request-body-leader_index]]`leader_index`:: (Required, string) The name of the index in the leader cluster to follow. -`remote_cluster`:: +[[ccr-put-follow-request-body-remote_cluster]]`remote_cluster`:: (Required, string) The <> containing the leader index. diff --git a/docs/reference/ml/anomaly-detection/apis/put-job.asciidoc b/docs/reference/ml/anomaly-detection/apis/put-job.asciidoc index a0fca83f0b244..bcf6dd8040146 100644 --- a/docs/reference/ml/anomaly-detection/apis/put-job.asciidoc +++ b/docs/reference/ml/anomaly-detection/apis/put-job.asciidoc @@ -249,7 +249,7 @@ include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=background-persist-interval] (Optional, object) include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=custom-settings] -`daily_model_snapshot_retention_after_days`:: +[[put-dailymodelsnapshotretentionafterdays]]`daily_model_snapshot_retention_after_days`:: (Optional, long) include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=daily-model-snapshot-retention-after-days] @@ -259,7 +259,7 @@ include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=daily-model-snapshot-retention- include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=data-description] //End data_description -`datafeed_config`:: +[[put-datafeedconfig]]`datafeed_config`:: (Optional, object) The {ml-docs}/ml-dfeeds.html[{dfeed}], which retrieves data from {es} for analysis by the job. You can associate only one {dfeed} with each {anomaly-job}. @@ -375,19 +375,19 @@ include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=model-plot-config-terms] ==== //End model_plot_config -`model_snapshot_retention_days`:: +[[put-modelsnapshotretentiondays]]`model_snapshot_retention_days`:: (Optional, long) include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=model-snapshot-retention-days] -`renormalization_window_days`:: +[[put-renormalizationwindowdays]]`renormalization_window_days`:: (Optional, long) include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=renormalization-window-days] -`results_index_name`:: +[[put-resultsindexname]]`results_index_name`:: (Optional, string) include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=results-index-name] -`results_retention_days`:: +[[put-resultsretentiondays]]`results_retention_days`:: (Optional, long) include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=results-retention-days]