From eb731a12a5094b13b688ff5302732dcacff7634b Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Thu, 21 Sep 2023 19:53:11 -0600 Subject: [PATCH 1/4] Update dbt-project-yml-context.md --- .../dbt-jinja-functions/dbt-project-yml-context.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md b/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md index e0701e5d091..7a311c6140d 100644 --- a/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md +++ b/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md @@ -1,5 +1,5 @@ --- -title: " About dbt_project.yml context variables" +title: " About dbt_project.yml context" sidebar_label: "dbt_project.yml context" id: "dbt-project-yml-context" description: "The context variables and methods are available when configuring resources in the dbt_project.yml file." @@ -11,11 +11,13 @@ and `snapshots:` keys in the `dbt_project.yml` file. **Available context variables:** - [target](/reference/dbt-jinja-functions/target) -- [env_var](/reference/dbt-jinja-functions/env_var) -- [vars](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_) - [builtins](/reference/dbt-jinja-functions/builtins) - [dbt_version](/reference/dbt-jinja-functions/dbt_version) +**Available context methods:** +- [env_var](/reference/dbt-jinja-functions/env_var) +- [var](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_) + ### Example configuration From 01180a5703d2ca3403b361349ec0ad1daea45343 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Thu, 21 Sep 2023 19:53:36 -0600 Subject: [PATCH 2/4] Update profiles-yml-context.md --- .../dbt-jinja-functions/profiles-yml-context.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/reference/dbt-jinja-functions/profiles-yml-context.md b/website/docs/reference/dbt-jinja-functions/profiles-yml-context.md index 037a129476e..2a6390c3d12 100644 --- a/website/docs/reference/dbt-jinja-functions/profiles-yml-context.md +++ b/website/docs/reference/dbt-jinja-functions/profiles-yml-context.md @@ -1,16 +1,16 @@ --- -title: "About profiles.yml context variable" +title: "About profiles.yml context" sidebar_label: "profiles.yml context" id: "profiles-yml-context" -description: "Use these context variables to configure resources in `profiles.yml` file." +description: "Use these context methods to configure resources in `profiles.yml` file." --- -The following context variables and methods are available when configuring +The following context methods are available when configuring resources in the `profiles.yml` file. -**Available context variables:** +**Available context methods:** - [env_var](/reference/dbt-jinja-functions/env_var) -- [vars](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_) +- [var](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_) ### Example usage From 2d15910e01d1ed79b0c380e1f90f7268c0093bc5 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:04:06 -0600 Subject: [PATCH 3/4] Swap the order of context methods and variables --- .../dbt-jinja-functions/dbt-project-yml-context.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md b/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md index 7a311c6140d..8ad228f7780 100644 --- a/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md +++ b/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md @@ -2,22 +2,21 @@ title: " About dbt_project.yml context" sidebar_label: "dbt_project.yml context" id: "dbt-project-yml-context" -description: "The context variables and methods are available when configuring resources in the dbt_project.yml file." +description: "The context methods and variables available when configuring resources in the dbt_project.yml file." --- The following context variables and methods are available when configuring resources in the `dbt_project.yml` file. This applies to the `models:`, `seeds:`, and `snapshots:` keys in the `dbt_project.yml` file. -**Available context variables:** -- [target](/reference/dbt-jinja-functions/target) -- [builtins](/reference/dbt-jinja-functions/builtins) -- [dbt_version](/reference/dbt-jinja-functions/dbt_version) - **Available context methods:** - [env_var](/reference/dbt-jinja-functions/env_var) - [var](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_) +**Available context variables:** +- [target](/reference/dbt-jinja-functions/target) +- [builtins](/reference/dbt-jinja-functions/builtins) +- [dbt_version](/reference/dbt-jinja-functions/dbt_version) ### Example configuration From e8c86b66d4119bbc397e64012dd6a7346957a245 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Fri, 22 Sep 2023 07:13:59 -0600 Subject: [PATCH 4/4] Swap the order of context methods and variables --- .../reference/dbt-jinja-functions/dbt-project-yml-context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md b/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md index 8ad228f7780..0d377d29cef 100644 --- a/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md +++ b/website/docs/reference/dbt-jinja-functions/dbt-project-yml-context.md @@ -5,7 +5,7 @@ id: "dbt-project-yml-context" description: "The context methods and variables available when configuring resources in the dbt_project.yml file." --- -The following context variables and methods are available when configuring +The following context methods and variables are available when configuring resources in the `dbt_project.yml` file. This applies to the `models:`, `seeds:`, and `snapshots:` keys in the `dbt_project.yml` file.