Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing generic examples on group page #4455

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions website/docs/reference/resource-configs/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Support for grouping models was added in dbt Core v1.5
version: 2

models:
- name: model_name
group: finance
- name: MODEL_NAME
group: GROUP_NAME
```

</File>
Expand All @@ -46,7 +46,7 @@ models:
```yml
models:
[<resource-path>](resource-path):
+group: finance
+group: GROUP_NAME
```


Expand All @@ -57,7 +57,7 @@ models:
```sql

{{ config(
group='finance'
group='GROUP_NAME'
) }}

select ...
Expand Down Expand Up @@ -85,7 +85,7 @@ Support for grouping seeds was added in dbt Core v1.5
```yml
models:
[<resource-path>](resource-path):
+group: finance
+group: GROUP_NAME
```

</File>
Expand All @@ -94,8 +94,8 @@ models:

```yml
seeds:
- name: [<seed-name>]
group: finance
- name: [SEED_NAME]
group: GROUP_NAME
```

</File>
Expand All @@ -120,7 +120,7 @@ Support for grouping snapshots was added in dbt Core v1.5
```yml
snapshots:
[<resource-path>](resource-path):
+group: finance
+group: GROUP_NAME
```

</File>
Expand All @@ -131,7 +131,7 @@ snapshots:
{% snapshot [snapshot_name](snapshot_name) %}

{{ config(
group='finance'
group='GROUP_NAME'
) }}

select ...
Expand Down Expand Up @@ -161,7 +161,7 @@ Support for grouping tests was added in dbt Core v1.5
```yml
tests:
[<resource-path>](resource-path):
+group: finance
+group: GROUP_NAME
```

</File>
Expand All @@ -176,7 +176,7 @@ version: 2
tests:
- <test_name>:
config:
group: finance
group: GROUP_NAME
```

</File>
Expand All @@ -187,7 +187,7 @@ version: 2
{% test <testname>() %}

{{ config(
group='finance'
group='GROUP_NAME'
) }}

select ...
Expand All @@ -202,7 +202,7 @@ select ...

```sql
{{ config(
group='finance'
group='GROUP_NAME'
) }}
```

Expand All @@ -220,8 +220,8 @@ select ...
version: 2

analyses:
- name: <analysis_name>
group: finance
- name: ANALYSIS_NAME
group: GROUP_NAME
```

</File>
Expand All @@ -244,7 +244,7 @@ Support for grouping metrics was added in dbt Core v1.5
```yaml
metrics:
[<resource-path>](resource-path):
[+](plus-prefix)group: finance
[+](plus-prefix)group: GROUP_NAME
```

</File>
Expand All @@ -255,8 +255,8 @@ metrics:
version: 2

metrics:
- name: [<metric-name>]
group: finance
- name: [METRIC_NAME]
group: GROUP_NAME

```

Expand All @@ -281,8 +281,8 @@ Support for grouping semantic models has been added in dbt Core v1.7.

```yaml
semantic_models:
- name: <semantic_model_name>
group: <group_name>
- name: SEMANTIC_MODEL_NAME
group: GROUP_NAME

```

Expand All @@ -293,7 +293,7 @@ semantic_models:
```yaml
semantic-models:
[<resource-path>](resource-path):
[+](plus-prefix)group: <group_name>
[+](plus-prefix)group: GROUP_NAME
```

</File>
Expand Down
Loading