From 5b63bbe52204ed676281f530c78825723ceff27b Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:42:13 -0600 Subject: [PATCH 1/2] Improve the readability of the sentence --- website/docs/reference/resource-configs/enabled.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/reference/resource-configs/enabled.md b/website/docs/reference/resource-configs/enabled.md index 552777c5c81..51756ec0fdc 100644 --- a/website/docs/reference/resource-configs/enabled.md +++ b/website/docs/reference/resource-configs/enabled.md @@ -302,7 +302,7 @@ If you are disabling models because they are no longer being used, but you want ## Examples ### Disable a model in a package in order to use your own version of the model. This could be useful if you want to change the logic of a model in a package. For example, if you need to change the logic in the `segment_web_page_views` from the `segment` package ([original model](https://github.com/dbt-labs/segment/blob/main/models/base/segment_web_page_views.sql)): -1. Add a model named `segment_web_page_views` the same name to your own project. +1. Add a model named `segment_web_page_views` (the same name) to your own project. 2. To avoid a compilation error due to duplicate models, disable the segment package's version of the model like so: From 09dc02241d1307ccb319c0c4aa0160b3d4426de4 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:45:39 -0600 Subject: [PATCH 2/2] Use a permalink to the relevant code example --- website/docs/reference/resource-configs/enabled.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/reference/resource-configs/enabled.md b/website/docs/reference/resource-configs/enabled.md index 51756ec0fdc..66e34cc0fa7 100644 --- a/website/docs/reference/resource-configs/enabled.md +++ b/website/docs/reference/resource-configs/enabled.md @@ -301,7 +301,7 @@ If you are disabling models because they are no longer being used, but you want ## Examples ### Disable a model in a package in order to use your own version of the model. -This could be useful if you want to change the logic of a model in a package. For example, if you need to change the logic in the `segment_web_page_views` from the `segment` package ([original model](https://github.com/dbt-labs/segment/blob/main/models/base/segment_web_page_views.sql)): +This could be useful if you want to change the logic of a model in a package. For example, if you need to change the logic in the `segment_web_page_views` from the `segment` package ([original model](https://github.com/dbt-labs/segment/blob/a8ff2f892b009a69ec36c3061a87e437f0b0ea93/models/base/segment_web_page_views.sql)): 1. Add a model named `segment_web_page_views` (the same name) to your own project. 2. To avoid a compilation error due to duplicate models, disable the segment package's version of the model like so: