Skip to content

Commit

Permalink
Fix rendering of config-version: 2 (and its link) (#3972)
Browse files Browse the repository at this point in the history
[Preview](https://deploy-preview-3972--docs-getdbt-com.netlify.app/reference/resource-configs/plus-prefix)

## What are you changing in this pull request and why?

The end of the second sentence on the ["Using the +
prefix"](https://docs.getdbt.com/reference/resource-configs/plus-prefix)
page is not rendering correctly, and this PR fixes it.

## 🎩 

### Before

<img width="622" alt="image"
src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/67d9e18e-eeee-4f0a-a6e5-80042cbddc44">

### After (option A)

I prefer this option since
[config-version](https://docs.getdbt.com/reference/project-configs/config-version)
is optional beginning in dbt v1.5:

<img width="635" alt="image"
src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/0d57b3cf-81f8-475a-a929-2429d1d28be5">

### After (option B)

<img width="640" alt="image"
src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/4f52a4c5-1abc-40f1-96bd-f1deeda36d84">


## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
  • Loading branch information
mirnawong1 authored Aug 24, 2023
2 parents 94eaa94 + a8413fd commit 1817a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/reference/resource-configs/plus-prefix.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Using the + prefix

The `+` prefix is a dbt syntax feature, introduced in dbt v0.17.0, which helps disambiguate between [resource paths](/reference/resource-configs/resource-path) and configs in `dbt_project.yml` files.

It is only compatible with `dbt_project.yml` files that use [`config-version](/reference/project-configs/config-version): 2`
It is not compatible with `dbt_project.yml` files that use [`config-version`](/reference/project-configs/config-version) 1.

For example:

Expand Down

0 comments on commit 1817a51

Please sign in to comment.