How to restrict docs generate to @mymodel

The problem I’m having

My dbt project has more than 1000 documented sources.

I want to generate documentation that targets only certain models of my project and only the useful sources dependencies of these models.

The docs generate --select “@tag:mytaggedmodel” command is not limited to documenting only the dependencies of this selection, the result presents unnecessarily my 1000 data sources while only a few are concerned by the scope that I wish to document.

The context of why I’m trying to do this

docs generate with different --select parameter

What I’ve already tried

Different syntaxes associated with the --select parameters

Some example code or error messages


Tx for help