Help hiding dbt package from Dbt Docs

The problem I’m having

I have followed the dbt docs on how to hide packages but to no avail. Each time I run a dbt command I get the following error:

14:58:01  [WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
There are 5 unused configuration paths:
- models.dbt_postgres
- models.codegen
- models.dbt_date
- models.dbt_expectations
- models.dbt_utils

This is my dbt_project.yml file:

models:
    data_reporting:
        +post-hook: '{{ grant_select_to_groups(this, ["data_readers", "data_team", "data_processors"]) }}'
        +on_schema_change: "sync_all_columns"
        sources:
            tags: ['source']
            bind: false
            +schema: sources
            post-hook:
                - "{{ test_late_binding_view_in_dev() }}"
            +docs:
                node_color: "#F86F73"    # red [Copper]         
        prep:
            tags: ['prep']
            bind: false
            +schema: prep
            post-hook:
                - "{{ test_late_binding_view_in_dev() }}"
            +docs:
                node_color: "#232B2B"    # soft black [Silver]
        core:
            tags: ['core']
            bind: false
            post-hook:
                - "{{ test_late_binding_view_in_dev() }}"  
            +schema: core
            +docs:
                node_color: "#D89902"   # yellow [Gold]
            dwh:
                +docs:
                    node_color: "#D89902"   # yellow [Gold]
            exports:
                tags: ['reports']
                +docs:
                    node_color: "#6E276C"  # purple [Platinum]
            reports:
                tags: ['reports']
                +docs:
                    node_color: "#6E276C"  # purple [Platinum]                          
    dbt_postgres:
        +docs:  
            show: false
    redshift:
        +docs:  
            show: false
    dbt_expectations:
        +docs:  
            show: false
    dbt_utils:
        +docs:  
            show: false                                    
    codegen:
        +docs:  
            show: false
    dbt_date:
        +docs:  
            show: false

One thing that is worth noting is that it doesn’t error for the redshift package. So I am not sure if it is related to the name I am giving these packages or something?

The context of why I’m trying to do this

To neaten up our company data dictionary … currently all packages appear for end users who needn’t explore them:
image

What I’ve already tried

I have tried numerous different YML hierarchies. The docs hierarchy is exactly what I am doing so I am wondering if there is something obvious I am missing or something different in our set up?

Some example code or error messages

There are 5 unused configuration paths:
- models.dbt_postgres
- models.codegen
- models.dbt_date
- models.dbt_expectations
- models.dbt_utils
2 Likes

hey rupert, how are you? did you find the answer? i need this too.

1 Like

Hi tptrabach, I never found the answer. Is anyone on the dbt team able to help?

I feel like this must be a common problem if there are two of us struggling?

1 Like

I’m also having this problem. Our unimaginatively named project appears above dbt_postgres which cannot be removed and isn’t referenced anywhere in our repository. How can I not show dbt_postgres?

dbt-docs-screenshot

Hey @rupert ,
I think I found the cause. It is described in this (open) feature request:

As those packages most probably contain macros, which are not excluded by the docs config in your dbt_project.yml, the packages still appear on the documentation site.

Please upvote the issue, so it would be prioritised.