Closed hvignolo87 closed 8 months ago
Thanks for reaching out @hvignolo87 !
Following your example, it looks like the documentation website includes the macros directory from dbt_utils:
Typically, disabling a particular resource type (like macros
) is accomplished like this in dbt_project.yml
:
macros:
dbt_utils:
+docs:
show: false
But the macro resource type is the one thing that is not able to be configured in dbt_project.yml
right now.
We already have an issue for that in https://github.com/dbt-labs/dbt-core/issues/8061, so I'm going to close this one as a duplicate.
Hi @dbeatty10! Hope you're doing well.
Thanks for your reply! I didn't find that issue before 😅
Good to see you again @hvignolo87. No worries... it took me a little while to find that one even though I knew it existed (somewhere).
Describe the bug
I'm using the following stack:
This is my
dbt_project.yml
:This is my
packages.yml
:When I run any of these commands:
Or any other combination, when I render the documentation, the package's docs are shown under Projects.
Steps To Reproduce
Create a dummy project and try:
dbt init
profiles.yml
dbt_utils
1.1.1 topackages.yml
dbt deps
Exclude the docs in
dbt_project.yml
by adding:dbt docs generate
dbt docs serve --browser --port 8888
Expected behavior
The package's documentation is not shown in the rendered HTML.
Screenshots and log output
N/A
Additional context
N/A