Update cascading front matter to use sequence form (#67094)

* Update cascading front matter to use sequence form

The map form does not override the sequence form that is used in the website repository to specify the default labels.
For more information, refer to https://github.com/grafana/writers-toolkit/pull/234.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Remove useless alias

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Update labels for pages noted in code review

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Move all product labeling to the project index file

All changes can be made in a single place.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Move all individual page product labels to project index file

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Shorten YAML

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add newlines to aid readability

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Document front matter ordering

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Rewrite labels for breaking-changes pages

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* updated labels for whats new and breaking changes

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
This commit is contained in:
Jack Baldry 2023-05-31 16:52:03 +01:00 committed by GitHub
parent fd7f2d4a5e
commit f29b058927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 193 additions and 125 deletions

View File

@ -3,6 +3,199 @@ aliases:
- /docs/grafana/v1.1/
- /docs/grafana/v3.1/
- guides/reference/admin/
cascade:
# Until a better mechanism for arrangement is thought of, the following sequence should be ordered alphabetically by the `_target.path` value.
- _target: { path: /docs/grafana/** } # Default to every page having "Enterprise" and "Open source" labels.
labels:
products:
- enterprise
- oss
- _target: { path: /docs/grafana/** }
labels:
products:
- enterprise
- oss
- _target: { path: /docs/grafana/*/administration/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/administration/enterprise-licensing/** }
labels:
products:
- enterprise
- _target: { path: /docs/grafana/*/administration/organization-management/** }
labels:
products:
- enterprise
- oss
- _target: { path: /docs/grafana/*/administration/provisioning/** }
labels:
products:
- enterprise
- oss
- _target: { path: /docs/grafana/*/administration/recorded-queries/** }
labels:
products:
- cloud
- enterprise
- _target: { path: /docs/grafana/*/administration/roles-and-permissions/access-control/** }
labels:
products:
- cloud
- enterprise
- _target: { path: /docs/grafana/*/administration/stats-and-license/** }
labels:
products:
- enterprise
- oss
- _target: { path: /docs/grafana/*/alerting/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/breaking-changes/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/dashboards/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/datasources/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/explore/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/fundamentals/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/introduction/grafana-cloud/** }
labels:
products:
- cloud
- _target: { path: /docs/grafana/*/introduction/grafana-enterprise/** }
labels:
products:
- enterprise
- _target: { path: /docs/grafana/*/panels-visualizations/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/release-notes/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/search/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/setup-grafana/configure-security/audit-grafana/** }
labels:
products:
- cloud
- enterprise
- _target: { path: /docs/grafana/*/setup-grafana/configure-security/configure-authentication/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/setup-grafana/configure-security/configure-authentication/enhanced-ldap/** }
labels:
products:
- cloud
- enterprise
- _target: { path: /docs/grafana/*/setup-grafana/configure-security/configure-authentication/saml/** }
labels:
products:
- cloud
- enterprise
- _target:
path: /docs/grafana/*/setup-grafana/configure-security/configure-database-encryption/encrypt-secrets-using-hashicorp-key-vault/**
labels:
products:
- cloud
- enterprise
- _target: { path: /docs/grafana/*/setup-grafana/configure-security/configure-request-security/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/setup-grafana/configure-security/configure-team-sync/** }
labels:
products:
- cloud
- enterprise
- _target: { path: /docs/grafana/*/setup-grafana/configure-security/export-logs/** }
labels:
products:
- cloud
- oss
- _target: { path: /docs/grafana/*/troubleshooting/** }
labels:
products:
- cloud
- enterprise
- oss
- _target: { path: /docs/grafana/*/whatsnew/** }
labels:
products:
- cloud
- enterprise
- oss
description: Guides, installation, and feature documentation
keywords:
- grafana

View File

@ -1,10 +1,4 @@
---
cascade:
labels:
products:
- cloud
- enterprise
- oss
description: Administration
title: Administration
weight: 40

View File

@ -8,10 +8,6 @@ aliases:
- ../enterprise/license/license-expiration/
- ../enterprise/license/license-restrictions/
- license-restrictions/
cascade:
labels:
products:
- enterprise
description: Activate and manage a Grafana Enterprise license
keywords:
- grafana

View File

@ -8,10 +8,6 @@ description: Describes how to use organizations to isolate dashboard to users an
keywords:
- organizations
- dashboards
labels:
products:
- enterprise
- oss
menuTitle: Manage organizations
title: Manage organizations
weight: 200

View File

@ -5,10 +5,6 @@ description: Describes provisioning settings for Grafana using configuration fil
keywords:
- grafana
- provisioning
labels:
products:
- enterprise
- oss
title: Provision Grafana
weight: 600
---

View File

@ -7,10 +7,6 @@ keywords:
- query
- queries
- recorded
labels:
products:
- cloud
- enterprise
title: Recorded queries
weight: 300
---

View File

@ -3,11 +3,6 @@ aliases:
- ../../enterprise/access-control/
- ../../enterprise/access-control/about-rbac/
- ../../enterprise/access-control/roles/
cascade:
labels:
products:
- cloud
- enterprise
description: Role-based access control (RBAC) provides a standardized way of granting,
changing, and revoking access so that users can view and modify Grafana resources,
such as users and reports.

View File

@ -11,10 +11,6 @@ keywords:
- configuration
- server
- settings
labels:
products:
- enterprise
- oss
title: View server statistics and license
weight: 400
---

View File

@ -3,11 +3,6 @@ aliases:
- about-alerting/
- unified-alerting/alerting/
description: Intro to key benefits and features of Grafana Alerting
cascade:
labels:
products:
- cloud
- oss
title: Alerting
weight: 114
---

View File

@ -1,11 +1,6 @@
---
aliases:
- guides/
cascade:
labels:
products:
- cloud
- oss
title: Breaking changes
weight: 2
---

View File

@ -1,12 +1,6 @@
---
aliases:
- features/dashboard/dashboards/
cascade:
labels:
products:
- cloud
- enterprise
- oss
title: Dashboards
weight: 70
---

View File

@ -2,12 +2,6 @@
aliases:
- data-sources/
- overview/
cascade:
labels:
products:
- cloud
- enterprise
- oss
title: Data sources
weight: 60
---

View File

@ -1,12 +1,6 @@
---
aliases:
- features/explore/
cascade:
labels:
products:
- cloud
- enterprise
- oss
keywords:
- explore
- loki

View File

@ -1,12 +1,6 @@
---
aliases:
- basics/
cascade:
labels:
products:
- cloud
- enterprise
- oss
title: Fundamentals
description: Learn about the basics of observability.
weight: 8

View File

@ -1,7 +1,4 @@
---
labels:
products:
- cloud
title: Grafana Cloud
description: Learn about Grafana Cloud.
weight: 300

View File

@ -1,9 +1,6 @@
---
aliases:
- ../enterprise/
labels:
products:
- enterprise
description: Grafana Enterprise overview
title: Grafana Enterprise
weight: 200

View File

@ -3,12 +3,6 @@ aliases:
- dashboards/configure-panels-visualizations/
- features/panels/panels/
- panels/
cascade:
labels:
products:
- cloud
- enterprise
- oss
keywords:
- grafana
- configure

View File

@ -1,10 +1,4 @@
---
cascade:
labels:
products:
- cloud
- enterprise
- oss
title: Release notes
weight: 10000
---

View File

@ -1,12 +1,4 @@
---
aliases:
- ./
cascade:
labels:
products:
- cloud
- enterprise
- oss
description: Learn how to search for Grafana dashboards
keywords:
- search

View File

@ -7,10 +7,6 @@ keywords:
- auditing
- audit
- logs
labels:
products:
- cloud
- enterprise
title: Audit a Grafana instance
weight: 800
---

View File

@ -2,12 +2,6 @@
aliases:
- ../../auth/
- ../../auth/overview/
cascade:
labels:
products:
- cloud
- enterprise
- oss
description: Learn about all the ways in which you can configure Grafana to authenticate
users.
labels:

View File

@ -4,11 +4,6 @@ aliases:
description: Request security enables you to limit requests from the Grafana server
by targeting requests generated by users, such as data source metric queries and
alert notifications.
labels:
products:
- cloud
- enterprise
- oss
title: Configure request security
weight: 1100
---

View File

@ -4,10 +4,6 @@ aliases:
- ../../enterprise/team-sync/
description: Learn how to use Team Sync to synchronize between your authentication
provider teams and Grafana teams.
labels:
products:
- cloud
- enterprise
title: Configure Team Sync
weight: 1000
---

View File

@ -7,10 +7,6 @@ keywords:
- export
- usage-insights
- enterprise
labels:
products:
- cloud
- oss
title: Export logs of usage insights
weight: 900
---

View File

@ -1,12 +1,6 @@
---
aliases:
- troubleshoot-dashboards/
cascade:
labels:
products:
- cloud
- enterprise
- oss
description: Guide to troubleshooting Grafana problems
keywords:
- grafana

View File

@ -53,11 +53,6 @@ aliases:
- whats-new-in-v6-5/
- whats-new-in-v6-6/
- whats-new-in-v6-7/
cascade:
labels:
products:
- cloud
- oss
menuTitle: What's new
title: What's new in Grafana
weight: 1