Update docs/customization/excluding-packages-and-paths.md

This commit is contained in:
Jonathan Wolf
2025-04-21 17:39:11 -05:00
parent a02aba8af8
commit 2bfb1115f1

View File

@@ -39,7 +39,7 @@ vars:
```yaml title="dbt_project.yml" ```yaml title="dbt_project.yml"
vars: vars:
exclude_paths_from_project: ["/models/legacy/"] exclude_paths_from_project: ["models/legacy/"]
``` ```
### Example to exclude both a package and models/sources in 2 different paths ### Example to exclude both a package and models/sources in 2 different paths
@@ -47,7 +47,7 @@ vars:
```yaml title="dbt_project.yml" ```yaml title="dbt_project.yml"
vars: vars:
exclude_packages: ["upstream_package"] exclude_packages: ["upstream_package"]
exclude_paths_from_project: ["/models/legacy/", "/my_date_spine.sql"] exclude_paths_from_project: ["models/legacy/", "/my_date_spine.sql"]
``` ```
## Tips and tricks ## Tips and tricks