Skip to main content

docs

models/schema.yml
version: 2
models:  - name: model_name    docs:      show: true | false

Definition#

The docs field can be used to provide documentation-specific configuration to models. The only currently supported docs attribute is show, which controls whether or not models are shown in the auto-generated documentation website.

Note: hidden models will still appear in the dbt DAG visualization, but will be identified as "hidden".

Changelog

Default#

The default value for show is true.

Examples#

Mark a model as hidden#

models:  - name: sessions__tmp    docs:      show: false