Browse Source

Fix deprecation in history retention docs (#53655)

This commit adjusts a `deprecation[...]` message in the docs since such
messages must be on a single line. It also moves this message to the start of
the description of the deprecated setting as is the case with other such
messages.
David Turner 5 năm trước cách đây
mục cha
commit
1f439a21cb
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      docs/reference/index-modules/history-retention.asciidoc

+ 1 - 2
docs/reference/index-modules/history-retention.asciidoc

@@ -54,12 +54,11 @@ reasonable recovery scenarios.
 
 `index.soft_deletes.enabled`::
 
+  deprecated:[7.6.0, Creating indices with soft-deletes disabled is deprecated and will be removed in future Elasticsearch versions.]
   Whether or not soft deletes are enabled on the index. Soft deletes can only be
   configured at index creation and only on indices created on or after 6.5.0.
   The default value is `true`.
 
-  deprecated::[7.6, Creating indices with soft-deletes disabled is
-  deprecated and will be removed in future Elasticsearch versions.]
 
 `index.soft_deletes.retention_lease.period`::