We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the following stack:
This is my dbt_project.yml:
dbt_project.yml
models: bind: false my_project: +full_refresh: false +on_schema_change: "append_new_columns" ... dbt_utils: +docs: show: false
This is my packages.yml:
packages.yml
packages: - package: dbt-labs/dbt_utils version: 1.1.1
When I run any of these commands:
poetry run dbt docs generate --project-dir my_project --profiles-dir my_project
poetry run dbt docs generate --select my_project --exclude dbt_utils --project-dir my_project --profiles-dir my_project
cd my_project && poetry run dbt docs generate
cd my_project && poetry run dbt docs generate --select my_project --exclude dbt_utils
Or any other combination, when I render the documentation, the package's docs are shown under Projects.
Create a dummy project and try:
dbt init
profiles.yml
dbt_utils
dbt deps
models: ... dbt_utils: +docs: show: false
dbt docs generate
dbt docs serve --browser --port 8888
The package's documentation is not shown in the rendered HTML.
N/A
The text was updated successfully, but these errors were encountered:
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
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 dbt-labs/dbt-core#8061, so I'm going to close this one as a duplicate.
Sorry, something went wrong.
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).
No branches or pull requests
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
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
The text was updated successfully, but these errors were encountered: