Skip to content

Commit 3c2bd6e

Browse files
committed
[DOCS] Remove unneeded ifdef::asciidoctor[] conditionals (#42758)
Several `ifdef::asciidoctor` conditionals were added so that AsciiDoc and Asciidoctor doc builds rendered consistently. With elastic/docs#827, Elasticsearch Reference documentation migrated completely to Asciidoctor. We no longer need to support AsciiDoc so we can remove these conditionals. Resolves #41722
1 parent 9cf4510 commit 3c2bd6e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
[[search-aggregations-pipeline-movavg-aggregation]]
22
=== Moving Average Aggregation
33

4-
ifdef::asciidoctor[]
54
deprecated:[6.4.0, "The Moving Average aggregation has been deprecated in favor of the more general <<search-aggregations-pipeline-movfn-aggregation,Moving Function Aggregation>>. The new Moving Function aggregation provides all the same functionality as the Moving Average aggregation, but also provides more flexibility."]
6-
endif::[]
7-
ifndef::asciidoctor[]
8-
deprecated[6.4.0, The Moving Average aggregation has been deprecated in favor of the more general
9-
<<search-aggregations-pipeline-movfn-aggregation,Moving Function Aggregation>>. The new Moving Function aggregation provides
10-
all the same functionality as the Moving Average aggregation, but also provides more flexibility.]
11-
endif::[]
125

136
Given an ordered series of data, the Moving Average aggregation will slide a window across the data and emit the average
147
value of that window. For example, given the data `[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]`, we can calculate a simple moving

0 commit comments

Comments
 (0)