From ce7539ce6c8a52bb9a1d2cdb1eec6d9fb3aa49f6 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Mon, 30 Mar 2020 17:16:27 -0400 Subject: [PATCH] [DOCS] Fix broken deprecated macros (#54466) Updates formatting for `deprecated` macros in the translog and synced flush docs. Previously, these macros were rendering literally. --- docs/reference/index-modules/translog.asciidoc | 4 +--- docs/reference/indices/synced-flush.asciidoc | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/reference/index-modules/translog.asciidoc b/docs/reference/index-modules/translog.asciidoc index e349875d14b..e0246cd5790 100644 --- a/docs/reference/index-modules/translog.asciidoc +++ b/docs/reference/index-modules/translog.asciidoc @@ -80,9 +80,7 @@ update, or bulk request. This setting accepts the following parameters: [[index-modules-translog-retention]] ==== Translog retention -deprecated::[7.4.0, translog retention settings are deprecated in favor of -<>. These settings are -effectively ignored since 7.4 and will be removed in a future version]. +deprecated::[7.4.0, "Translog retention settings are deprecated in favor of <>. These settings are effectively ignored since 7.4 and will be removed in a future version."] If an index is not using <> to retain historical operations then {es} recovers each replica shard by replaying diff --git a/docs/reference/indices/synced-flush.asciidoc b/docs/reference/indices/synced-flush.asciidoc index 8e3a85aceca..c05c95d34ac 100644 --- a/docs/reference/indices/synced-flush.asciidoc +++ b/docs/reference/indices/synced-flush.asciidoc @@ -4,9 +4,7 @@ Synced flush ++++ -deprecated::[7.6, synced-flush is deprecated and will be removed in 8.0. -Use <> instead. A <> has the -same effect as a synced flush on Elasticsearch 7.6 or later] +deprecated::[7.6, "Synced-flush is deprecated and will be removed in 8.0. Use <> instead. A flush has the same effect as a synced flush on Elasticsearch 7.6 or later."] Performs a synced flush on one or more indices.