[DOCS] Fix broken deprecated macros (#54466)

Updates formatting for `deprecated` macros in the translog and
synced flush docs.

Previously, these macros were rendering literally.
This commit is contained in:
James Rodewig 2020-03-30 17:16:27 -04:00 committed by GitHub
parent b4b54efa73
commit ce7539ce6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -80,9 +80,7 @@ update, or bulk request. This setting accepts the following parameters:
[[index-modules-translog-retention]] [[index-modules-translog-retention]]
==== Translog retention ==== Translog retention
deprecated::[7.4.0, translog retention settings are deprecated in favor of deprecated::[7.4.0, "Translog retention settings are deprecated in favor of <<index-modules-history-retention,soft deletes>>. These settings are effectively ignored since 7.4 and will be removed in a future version."]
<<index-modules-history-retention,soft deletes>>. These settings are
effectively ignored since 7.4 and will be removed in a future version].
If an index is not using <<index-modules-history-retention,soft deletes>> to If an index is not using <<index-modules-history-retention,soft deletes>> to
retain historical operations then {es} recovers each replica shard by replaying retain historical operations then {es} recovers each replica shard by replaying

View File

@ -4,9 +4,7 @@
<titleabbrev>Synced flush</titleabbrev> <titleabbrev>Synced flush</titleabbrev>
++++ ++++
deprecated::[7.6, synced-flush is deprecated and will be removed in 8.0. deprecated::[7.6, "Synced-flush is deprecated and will be removed in 8.0. Use <<indices-flush,flush>> instead. A flush has the same effect as a synced flush on Elasticsearch 7.6 or later."]
Use <<indices-flush,flush>> instead. A <<indices-flush,flush>> has the
same effect as a synced flush on Elasticsearch 7.6 or later]
Performs a synced flush on one or more indices. Performs a synced flush on one or more indices.