Skip to content

Commit

Permalink
make weight more discoverable (#3995)
Browse files Browse the repository at this point in the history
[Per slack
thread](https://dbt-labs.slack.com/archives/C02NCQ9483C/p1692979653610069),
this pr helps make 'tests' more discoverble and sits or moves the dbt
project resources under the 'build your dag' sidebar.
  • Loading branch information
mirnawong1 authored Aug 31, 2023
2 parents 074e170 + 4e7c991 commit d8bcc82
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion website/docs/docs/build/groups.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
1 change: 1 addition & 0 deletions website/docs/docs/build/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 4 additions & 2 deletions website/docs/docs/build/tests.md
Original file line number Diff line number Diff line change
@@ -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."
search_weight: "heavy"
id: "tests"
keywords:
- test, tests, testing, dag
---

## Related reference docs
* [Test command](/reference/commands/test)
* [Test properties](/reference/resource-properties/tests)
Expand Down
10 changes: 5 additions & 5 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ const sidebarSettings = {
label: "Build your DAG",
collapsed: true,
items: [
"docs/build/sources",
{
type: "category",
label: "Models",
Expand All @@ -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",
],
},
{
Expand Down Expand Up @@ -291,7 +294,6 @@ const sidebarSettings = {
label: "Enhance your models",
collapsed: true,
items: [
"docs/build/tests",
"docs/build/materializations",
"docs/build/incremental-models",
],
Expand All @@ -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",
],
},
Expand Down

0 comments on commit d8bcc82

Please sign in to comment.