Skip to content

Commit

Permalink
Merge branch 'current' into jerco/foreign-key-refs
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 authored Oct 1, 2024
2 parents c1cf551 + 64cce9e commit 900e26b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion website/docs/docs/cloud/about-cloud-develop-defer.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The dbt Cloud CLI offers additional flexibility by letting you choose the source

<File name="dbt_cloud.yml">

```yml
```yml
context:
active-host: ...
active-project: ...
Expand Down
9 changes: 6 additions & 3 deletions website/docs/docs/collaborate/govern/model-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,12 @@ At the same time, for models with many columns, we understand that this can mean
When comparing to a previous project state, dbt will look for breaking changes that could impact downstream consumers. If breaking changes are detected, dbt will present a contract error.

Breaking changes include:
- Removing an existing column
- Changing the `data_type` of an existing column
- Removing or modifying one of the `constraints` on an existing column (dbt v1.6 or higher)
- Removing an existing column.
- Changing the `data_type` of an existing column.
- Removing or modifying one of the `constraints` on an existing column (dbt v1.6 or higher).
- Removing a contracted model by deleting, renaming, or disabling it (dbt v1.9 or higher).
- versioned models will raise an error.
- unversioned models will raise a warning.

More details are available in the [contract reference](/reference/resource-configs/contract#detecting-breaking-changes).

6 changes: 0 additions & 6 deletions website/docs/docs/dbt-cloud-apis/admin-cloud-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ Many endpoints of the Administrative API can also be called through the [dbt Clo

<div className="grid--2-col">

<Card
title="API v2 (legacy docs)"
body="Our legacy API version, with limited endpoints and features. Contains information not available in v3."
link="/dbt-cloud/api-v2-legacy"
icon="pencil-paper"/>

<Card
title="API v2"
body="Our legacy API version, with limited endpoints and features. Contains information not available in v3."
Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/project-configs/test-paths.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test-paths: [directorypath]
## Definition
Optionally specify a custom list of directories where [singular tests](/docs/build/data-tests) are located.
Optionally specify a custom list of directories where [singular tests](/docs/build/data-tests#singular-data-tests) and [custom generic tests](/docs/build/data-tests#generic-data-tests) are located.
## Default
Expand Down
5 changes: 0 additions & 5 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,11 +642,6 @@ const sidebarSettings = {
link: { type: "doc", id: "docs/dbt-cloud-apis/admin-cloud-api" },
items: [
"docs/dbt-cloud-apis/admin-cloud-api",
{
type: "link",
label: "API v2 (legacy docs)",
href: "/dbt-cloud/api-v2-legacy",
},
{
type: "link",
label: "API v2",
Expand Down
5 changes: 5 additions & 0 deletions website/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2986,6 +2986,11 @@
"destination": "/dbt-cloud/api-v2-legacy",
"permanent": true
},
{
"source": "/dbt-cloud/api-v2-legacy",
"destination": "/dbt-cloud/api-v2",
"permanent": true
},
{
"source": "/dbt-cloud/api-v4",
"destination": "/docs/dbt-cloud-apis/admin-cloud-api",
Expand Down

0 comments on commit 900e26b

Please sign in to comment.