You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contribute/cumulative-docs.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,12 @@ This tagging system is mandatory for all of the public-facing documentation. We
35
35
36
36
All documentation pages **must** include an `applies_to` tag in the YAML frontmatter. Use YAML frontmatter to indicate each deployment target's availability and lifecycle status.
37
37
38
-
* The `applies_to` attribute is used to display contextual badges on each page.
39
-
* The `products` attribute is used by the search to let users filter their results when searching the docs.
38
+
The `applies_to` attribute is used to display contextual badges on each page. For the full list of supported keys and values, refer to [frontmatter](https://elastic.github.io/docs-builder/syntax/frontmatter).
40
39
41
-
For the full list of supported keys and values, refer to [frontmatter](https://elastic.github.io/docs-builder/syntax/frontmatter).
42
40
41
+
:::{tip}
42
+
Docs V3 frontmatter also supports a `products` attribute. This attribute is not surfaced to users on docs pages. Instead, it's used by the elastic.co search to let users filter their docs search results.
Copy file name to clipboardExpand all lines: docs/syntax/_snippets/page-level-applies-examples.md
+1-21Lines changed: 1 addition & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,6 @@ There are 3 typical scenarios to start from:
7
7
applies_to:
8
8
stack: ga
9
9
serverless: ga
10
-
products:
11
-
- id: kibana
12
-
- id: elasticsearch
13
-
- id: elastic-stack
14
10
---
15
11
```
16
12
@@ -24,11 +20,6 @@ There are 3 typical scenarios to start from:
24
20
ess: ga
25
21
ece: ga
26
22
eck: ga
27
-
products:
28
-
- id: cloud-serverless
29
-
- id: cloud-hosted
30
-
- id: cloud-enterprise
31
-
- id: cloud-kubernetes
32
23
---
33
24
34
25
```
@@ -38,12 +29,9 @@ There are 3 typical scenarios to start from:
38
29
```yml
39
30
---
40
31
applies_to:
41
-
product: ga
42
-
products:
43
-
- id: edot-collector
32
+
edot_ios: ga
44
33
---
45
34
```
46
-
% changing soon
47
35
48
36
It can happen that it’s relevant to identify several or all of these dimensions for a page. Use your own judgement and check existing pages in similar contexts.
49
37
@@ -56,14 +44,6 @@ applies_to:
56
44
ess: ga
57
45
ece: ga
58
46
eck: ga
59
-
products:
60
-
- id: kibana
61
-
- id: elasticsearch
62
-
- id: elastic-stack
63
-
- id: cloud-serverless
64
-
- id: cloud-hosted
65
-
- id: cloud-enterprise
66
-
- id: cloud-kubernetes
67
47
---
68
48
```
69
49
% I don't know what this example is supposed to show
0 commit comments