-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
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
Generate docs for only the staged/changed model(s) #196
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature you'd like
Be able to generate documentation only for the staged model(s).
Additional context
On big code bases,
dbt docs generate
could be extremely long (several minutes). When you have to run a particular hook, let's say check-model-has-all-columns, you have to executedbt run
anddbt docs generate
before (it is a prerequisite). So, we can imagine to succession of hooks:dbt-run
will default to run only changed files. Butdbt-docs-generate
will not, that is why, I want to add this feature. This will streamline "doc-related" hooks for big codebases.The text was updated successfully, but these errors were encountered: