Skip to content

Commit

Permalink
Add example
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
  • Loading branch information
jdbaldry committed Jan 22, 2025
1 parent 49b6989 commit 90cdab0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/sources/write/front-matter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,21 @@ For `labels.stage`, the supported values and the resulting published labels are
- `public-preview`: <span class="badge docs-labels__stage docs-labels__item">Public preview</span>
- `general-availability`: <span class="badge docs-labels__stage docs-labels__item">General availability (GA)</span>

For example, if a _single page_ describes an experimental feature, the source file front matter should include the following:

```yaml
labels:
stage: experimental
```

For a _directory of pages_ that describe an experimental feature, the branch bundle `_index.md` file front matter should include the following:

```yaml
cascade:
labels:
stage: experimental
```

<!-- vale Grafana.Headings = NO -->
<!-- False positive due to the PascalCase that results from capitalizing camelCased shortcodes -->

Expand Down

0 comments on commit 90cdab0

Please sign in to comment.