Applies to
Elastic Stack (9.1.0) ECE Discontinued (9.2.0) ECK (9.0.0) Elastic Cloud Hosted Beta (9.1.0) Self Managed Unavailable (9.3.0) Serverless Elasticsearch Beta (9.1.0) Serverless Observability Discontinued (9.2.0) Serverless Security (9.0.0) Coming (9.5.0) Discontinued (9.7.0)
Allows you to annotate a page or section's applicability.
<life-cycle> [version], <life-cycle> [version]
Taking a mandatory life-cycle with an optional version.
preview
beta
development
deprecated
coming
discontinued
unavailable
ga
Can be in either major.minor
or major.minor.patch
format
coming 9.5, discontinued 9.7
discontinued 9.2.0
all
all
and empty string mean generally available for all active versions
applies_to:
serverless: all
all
and empty string can also be specified at a version level
applies_to:
stack: beta all
serverless: beta
Both are equivalent, note all
just means we won't be rendering the version portion in the html.
The above model is projected to the following structured yaml.
---
applies_to:
stack:
deployment:
eck:
ess:
ece:
self:
serverless:
security:
elasticsearch:
observability:
product:
---
This allows you to annotate various facets as defined in New versioning
Using yaml frontmatter pages can explicitly indicate to each deployment targets availability and lifecycle status
---
applies_to:
stack: ga 9.1
deployment:
eck: ga 9.0
ess: beta 9.1
ece: discontinued 9.2.0
self: unavailable 9.3.0
serverless:
security: ga 9.0.0
elasticsearch: beta 9.1.0
observability: discontinued 9.2.0
product: coming 9.5, discontinued 9.7
---
Elastic Stack (9.1.0) ECE Discontinued (9.2.0) ECK (9.0.0) Elastic Cloud Hosted Beta (9.1.0) Self Managed Unavailable (9.3.0) Serverless Elasticsearch Beta (9.1.0) Serverless Observability Discontinued (9.2.0) Serverless Security (9.0.0) Coming (9.5.0) Discontinued (9.7.0)
A header may be followed by an {applies_to}
directive which will contextualize the applicability
of the section further.
the {applies_to}
directive MUST be preceded by a heading directly.
Note that this directive needs triple backticks since its content is literal. See also Syntax guide > Literal directives
```{applies_to}
stack: ga 9.1
```
In order to play even better with markdown editors the following is also supported:
```yaml {applies_to}
stack: ga 9.1
```
This will allow the yaml inside the {applies-to}
directive to be fully highlighted.
Elastic Stack (9.1.0)
Elastic Stack (9.1.0) ECK (9.0.0) Elastic Cloud Hosted Beta (9.1.0)
ECE Discontinued (9.2.0) Self Managed Unavailable (9.3.0)
Serverless (9.0.0)
Serverless Elasticsearch Beta (9.1.0) Serverless Observability Discontinued (9.2.0) Serverless Security (9.0.0)
Elastic Stack (9.1.0)