You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/reference/resource-configs/docs.md
+48-8Lines changed: 48 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,24 @@ default_value: {show: true}
20
20
21
21
<TabItemvalue="models">
22
22
23
-
<Filename='models/schema.yml'>
23
+
You can configure `docs` behavior for many resources at once by setting in `dbt_project.yml`. You can also use the `docs` config in `properties.yaml` files, to set or override documentation behaviors for specific resources:
You can use the docs property in YAML files, _except_ in `dbt_project.yml`. Refer to [Analysis properties](/reference/analysis-properties) for more info.
122
+
123
+
80
124
<File name='analysis/schema.yml'>
81
125
82
126
```yml
@@ -93,9 +137,7 @@ analyses:
93
137
94
138
<TabItem value="macros">
95
139
96
-
<!----
97
-
To-do: check this
98
-
--->
140
+
You can use the docs property in YAML files, _except_ in `dbt_project.yml`. Refer to [Macro properties](/reference/macro-properties) for more info.
99
141
100
142
<File name='macros/schema.yml'>
101
143
@@ -109,16 +151,14 @@ macros:
109
151
```
110
152
</File>
111
153
112
-
Also refer to [macro properties](/reference/macro-properties).
113
-
114
154
</TabItem>
115
155
116
156
</Tabs>
117
157
118
158
## Definition
119
159
The docs field can be used to provide documentation-specific configuration to models. It supports the doc attribute `show`, which controls whether or not models are shown in the auto-generated documentation website. It also supports `node_color` for some node types.
120
160
121
-
**Note:** hidden models will still appear in the dbt DAG visualization but will be identified as "hidden.”
161
+
**Note:** Hidden models will still appear in the dbt DAG visualization but will be identified as "hidden.”
0 commit comments