瀏覽代碼

[DOCS] Add missing HTML anchors to CCR and ML (#80287)

Ugo Sangiorgi 3 年之前
父節點
當前提交
305ff20b8f

+ 2 - 2
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 <<remote-clusters,remote cluster>> containing
   the leader index.
 

+ 6 - 6
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]