Skip to content

Commit

Permalink
Merge branch 'current' into remove-future
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewshaver authored Nov 13, 2023
2 parents 1168fa3 + bd154df commit d770c67
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 41 deletions.
48 changes: 24 additions & 24 deletions website/docs/reference/resource-configs/enabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ default_value: true
}>
<TabItem value="models">

<File name='dbt_project.yml'>

```yml
models:
[<resource-path>](/reference/resource-configs/resource-path):
+enabled: true | false

```

</File>

<File name='models/<modelname>.sql'>

```sql
Expand All @@ -35,10 +46,15 @@ select ...

</File>

</TabItem>


<TabItem value="seeds">

<File name='dbt_project.yml'>

```yml
models:
seeds:
[<resource-path>](/reference/resource-configs/resource-path):
+enabled: true | false

Expand All @@ -48,24 +64,19 @@ models:

</TabItem>


<TabItem value="seeds">
<TabItem value="snapshots">

<File name='dbt_project.yml'>

```yml
seeds:
snapshots:
[<resource-path>](/reference/resource-configs/resource-path):
+enabled: true | false

```

</File>

</TabItem>

<TabItem value="snapshots">

<File name='snapshots/<filename>.sql'>

```sql
Expand All @@ -83,21 +94,21 @@ select ...

</File>

</TabItem>

<TabItem value="tests">

<File name='dbt_project.yml'>

```yml
snapshots:
tests:
[<resource-path>](/reference/resource-configs/resource-path):
+enabled: true | false

```

</File>

</TabItem>

<TabItem value="tests">

<File name='tests/<filename>.sql'>

```sql
Expand Down Expand Up @@ -125,17 +136,6 @@ select ...

</File>

<File name='dbt_project.yml'>

```yml
tests:
[<resource-path>](/reference/resource-configs/resource-path):
+enabled: true | false

```

</File>

</TabItem>

<TabItem value="sources">
Expand Down
41 changes: 24 additions & 17 deletions website/docs/reference/resource-configs/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,29 @@ Support for grouping models was added in dbt Core v1.5

<VersionBlock firstVersion="1.5">

<File name='models/schema.yml'>
<File name='dbt_project.yml'>

```yml
version: 2

models:
- name: MODEL_NAME
group: GROUP_NAME

[<resource-path>](resource-path):
+group: GROUP_NAME

```


</File>

<File name='dbt_project.yml'>
<File name='models/schema.yml'>

```yml
version: 2

models:
[<resource-path>](resource-path):
+group: GROUP_NAME
```
- name: MODEL_NAME
group: GROUP

```

</File>

Expand Down Expand Up @@ -277,23 +280,27 @@ Support for grouping semantic models has been added in dbt Core v1.7.

<VersionBlock firstVersion="1.7">

<File name='models/semantic_models.yml'>
<File name='dbt_project.yml'>

```yaml
semantic_models:
- name: SEMANTIC_MODEL_NAME
group: GROUP_NAME

semantic-models:
[<resource-path>](resource-path):
[+](plus-prefix)group: GROUP_NAME

```

</File>

<File name='dbt_project.yml'>
<File name='models/semantic_models.yml'>

```yaml
semantic-models:
[<resource-path>](resource-path):
[+](plus-prefix)group: GROUP_NAME

semantic_models:
- name: SEMANTIC_MODEL_NAME
group: GROUP_NAME


```

</File>
Expand Down

0 comments on commit d770c67

Please sign in to comment.