Skip to content

Commit 38d37a7

Browse files
authored
Merge pull request #2029 from elementary-data/update-snippet-syntax
Update snippet syntax
2 parents af7d783 + 35752da commit 38d37a7

File tree

211 files changed

+765
-225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+765
-225
lines changed

docs/_snippets/cloud/integrations/cards-groups/cloud-integrations-cards.mdx

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/_snippets/dwh/bigquery/cli_service_account.mdx

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/_snippets/dwh/bigquery/cloud_service_account.mdx

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/_snippets/faq/question-schema.mdx

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/cloud/features.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ title: "Platform features"
33
icon: "browsers"
44
---
55

6-
<Snippet file="cloud/features.mdx" />
6+
import Features from '/snippets/cloud/features.mdx';
7+
8+
9+
10+
<Features />

docs/cloud/features/alerts-and-incidents/alert-rules.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
title: "Alert rules"
33
---
44

5-
<Snippet file="/_snippets/cloud/cloud-feature-tag.mdx" />
5+
import CloudFeatureTag from '/snippets/cloud/cloud-feature-tag.mdx';
6+
7+
8+
9+
<CloudFeatureTag />
610

711
**Alert Rules** help you control where alerts are sent and when they are triggered, so you can stay focused on the incidents that matter most. In Elementary Cloud, each rule combines **filters** (what to alert on) and **destinations** (where to send the alert).
812

docs/cloud/features/alerts-and-incidents/alerts-and-incidents-overview.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ title: Alerts and Incidents Overview
33
sidebarTitle: Alerts & incidents overview
44
---
55

6+
import AlertTypes from '/snippets/cloud/features/alerts-and-incidents/alert-types.mdx';
7+
import AlertsDestinationCards from '/snippets/cloud/integrations/cards-groups/alerts-destination-cards.mdx';
8+
9+
10+
611
Alerts and incidents in Elementary are designed to shorten your time to response and time to resolution when data issues occur.
712

813
- **Alert -** Notification about an event that indicates a data issue.
@@ -51,8 +56,8 @@ you will be able to track all open and historical incidents, and get metrics on
5156

5257
## Alert types
5358

54-
<Snippet file="cloud/features/alerts-and-incidents/alert-types.mdx" />
59+
<AlertTypes />
5560

5661
## Supported alert integrations
5762

58-
<Snippet file="cloud/integrations/cards-groups/alerts-destination-cards.mdx" />
63+
<AlertsDestinationCards />

docs/cloud/features/alerts-and-incidents/incident-management.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ title: Incident Management
33
sidebarTitle: Incident management
44
---
55

6-
<Snippet file="cloud/cloud-feature-tag.mdx" />
6+
import CloudFeatureTag from '/snippets/cloud/cloud-feature-tag.mdx';
7+
8+
9+
10+
<CloudFeatureTag />
711

812
The `Incidents` page is designed to enable your team to stay on top of open incidents and collaborate on resolving them.
913
The page gives a comprehensive overview of all current and previous incidents, where users can view the status, prioritize, assign and resolve incidents.

docs/cloud/features/alerts-and-incidents/incidents.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ title: Incidents in Elementary
33
sidebarTitle: Incidents
44
---
55

6-
<Snippet file="cloud/cloud-feature-tag.mdx" />
6+
import CloudFeatureTag from '/snippets/cloud/cloud-feature-tag.mdx';
7+
8+
9+
10+
<CloudFeatureTag />
711

812
One of the challenges data teams face is tracking and understand and collaborate on the status of data issues.
913
Tests fail daily, pipelines are executed frequently, alerts are sent to different channels.

docs/cloud/features/alerts-and-incidents/owners-and-subscribers.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
title: "Owners and subscribers"
33
---
44

5+
import Owner from '/snippets/alerts/owner.mdx';
6+
import Subscribers from '/snippets/alerts/subscribers.mdx';
7+
8+
9+
510
We highly recommend configuring owners and subscribers for your models and/or tests.
611
An owner is the person responsible for the model, and subscribers are the people who are interested in getting the alerts on the model or test.
712
Owners and subscribers will be mentioned (tagged) in the Slack alerts. Also their name will appear in the alerts and the UI.
@@ -12,8 +17,8 @@ configuring owners and subscribers:
1217
Owners can be easily added or edited in the Catalog screen. [Learn more about managing your assets' metadata.](/cloud/features/data-governance/manage-metadata)
1318

1419
#### Configuting owners in code:
15-
<Snippet file="alerts/owner.mdx" />
20+
<Owner />
1621

1722
### Subscribers
1823

19-
<Snippet file="alerts/subscribers.mdx" />
24+
<Subscribers />

0 commit comments

Comments
 (0)