Skip to content

Commit 3cf19dc

Browse files
authored
Update subs documentation (#2066)
* Update substitutions.md * Edit frontmatter.md
1 parent d47f425 commit 3cf19dc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/syntax/frontmatter.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ applies_to: <3>
1515
products: <4>
1616
- id: apm-agent
1717
- id: edot-sdk
18+
sub: <5>
19+
key: value
1820
---
1921
```
2022

2123
1. [`navigation_title`](#navigation-title)
2224
2. [`description`](#description)
2325
3. [`applies_to`](#applies-to)
2426
4. [`products`](#products)
27+
5. [`sub`](#subs)
2528

2629
## Navigation Title
2730

@@ -83,3 +86,7 @@ The products frontmatter is a list of objects, each object has an `id` field.
8386
| `search-ui` | Search UI |
8487
| `security` | Elastic Security |
8588
| `winlogbeat` | Winlogbeat |
89+
90+
## Subs
91+
92+
Use the `sub` field to define local substitutions. Refer to [Substitutions](substitutions.md) for more information.

docs/syntax/substitutions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In both cases the yaml to define them is as followed:
1818

1919

2020
```yaml
21-
subs:
21+
sub:
2222
key: value
2323
another-var: Another Value
2424
```

0 commit comments

Comments
 (0)