From f52294abe70ba7e1fc706e41b59e94e8a9054c10 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Wed, 30 Aug 2023 17:35:28 +0100 Subject: [PATCH 1/4] adding more weight to test --- website/docs/docs/build/groups.md | 2 +- website/docs/docs/build/projects.md | 1 + website/docs/docs/build/tests.md | 6 ++++-- website/sidebars.js | 10 +++++----- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/website/docs/docs/build/groups.md b/website/docs/docs/build/groups.md index aa33db07ccc..7ac5337ba0d 100644 --- a/website/docs/docs/build/groups.md +++ b/website/docs/docs/build/groups.md @@ -1,6 +1,6 @@ --- title: "Add groups to your DAG" -sidebar_title: "Groups" +sidebar_label: "Groups" id: "groups" description: "When you define groups in dbt projects, you turn implicit relationships into an explicit grouping." keywords: diff --git a/website/docs/docs/build/projects.md b/website/docs/docs/build/projects.md index a7ca3638590..0d7dd889fa6 100644 --- a/website/docs/docs/build/projects.md +++ b/website/docs/docs/build/projects.md @@ -18,6 +18,7 @@ At a minimum, all a project needs is the `dbt_project.yml` project configuration | [sources](/docs/build/sources) | A way to name and describe the data loaded into your warehouse by your Extract and Load tools. | | [exposures](/docs/build/exposures) | A way to define and describe a downstream use of your project. | | [metrics](/docs/build/metrics) | A way for you to define metrics for your project. | +| [groups](/docs/build/groups) | Groups enable collaborative node organization in restricted collections. | | [analysis](/docs/build/analyses) | A way to organize analytical SQL queries in your project such as the general ledger from your QuickBooks. | When building out the structure of your project, you should consider these impacts on your organization's workflow: diff --git a/website/docs/docs/build/tests.md b/website/docs/docs/build/tests.md index 1a40dd42b53..e40d180ee9f 100644 --- a/website/docs/docs/build/tests.md +++ b/website/docs/docs/build/tests.md @@ -1,10 +1,12 @@ --- title: "Add tests to your DAG" -sidebar_title: "Tests" +sidebar_label: "Tests" description: "Read this tutorial to learn how to use tests when building in dbt." id: "tests" +keywords: + - test, tests, testing --- - +# Add tests to your DAG ## Related reference docs * [Test command](/reference/commands/test) * [Test properties](/reference/resource-properties/tests) diff --git a/website/sidebars.js b/website/sidebars.js index d1a6c4664e7..20071752310 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -228,7 +228,6 @@ const sidebarSettings = { label: "Build your DAG", collapsed: true, items: [ - "docs/build/sources", { type: "category", label: "Models", @@ -238,11 +237,15 @@ const sidebarSettings = { "docs/build/python-models", ], }, - "docs/build/seeds", "docs/build/snapshots", + "docs/build/seeds", + "docs/build/tests", + "docs/build/jinja-macros", + "docs/build/sources", "docs/build/exposures", "docs/build/metrics", "docs/build/groups", + "docs/build/analyses", ], }, { @@ -291,7 +294,6 @@ const sidebarSettings = { label: "Enhance your models", collapsed: true, items: [ - "docs/build/tests", "docs/build/materializations", "docs/build/incremental-models", ], @@ -301,11 +303,9 @@ const sidebarSettings = { label: "Enhance your code", collapsed: true, items: [ - "docs/build/jinja-macros", "docs/build/project-variables", "docs/build/environment-variables", "docs/build/packages", - "docs/build/analyses", "docs/build/hooks-operations", ], }, From 1d88c9d6ec3ae79d3100b12b2330c404c6815bdb Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Wed, 30 Aug 2023 18:16:42 +0100 Subject: [PATCH 2/4] add keyword --- website/docs/docs/build/tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/build/tests.md b/website/docs/docs/build/tests.md index e40d180ee9f..aff8b469b6b 100644 --- a/website/docs/docs/build/tests.md +++ b/website/docs/docs/build/tests.md @@ -4,7 +4,7 @@ sidebar_label: "Tests" description: "Read this tutorial to learn how to use tests when building in dbt." id: "tests" keywords: - - test, tests, testing + - test, tests, testing, dag --- # Add tests to your DAG ## Related reference docs From 8b5ba8607db8062dd4e808e7eb80e9eaf8e24428 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 31 Aug 2023 16:50:33 +0100 Subject: [PATCH 3/4] Update website/docs/docs/build/tests.md Co-authored-by: Ly Nguyen <107218380+nghi-ly@users.noreply.github.com> --- website/docs/docs/build/tests.md | 1 - 1 file changed, 1 deletion(-) diff --git a/website/docs/docs/build/tests.md b/website/docs/docs/build/tests.md index aff8b469b6b..2cc73847667 100644 --- a/website/docs/docs/build/tests.md +++ b/website/docs/docs/build/tests.md @@ -6,7 +6,6 @@ id: "tests" keywords: - test, tests, testing, dag --- -# Add tests to your DAG ## Related reference docs * [Test command](/reference/commands/test) * [Test properties](/reference/resource-properties/tests) From c62bd35af4d9c72b569c7becae7ec784dbd9bc39 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 31 Aug 2023 16:51:59 +0100 Subject: [PATCH 4/4] Update tests.md add weight for search --- website/docs/docs/build/tests.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/docs/build/tests.md b/website/docs/docs/build/tests.md index 2cc73847667..c107dacf7b2 100644 --- a/website/docs/docs/build/tests.md +++ b/website/docs/docs/build/tests.md @@ -2,6 +2,7 @@ title: "Add tests to your DAG" sidebar_label: "Tests" description: "Read this tutorial to learn how to use tests when building in dbt." +search_weight: "heavy" id: "tests" keywords: - test, tests, testing, dag