The Include module is reponsible for housing default macro definitions, starter project scaffold, and the html file used to generate the docs page.
Defines the default implementations of jinja2 macros for dbt-core
which can be overwritten in each adapter repo to work more in line with those adapter plugins. To view adapter specific jinja2 changes please check the relevant adapter repo adapter.sql
file in the include
directory or in the impl.py
file for some ex. BigQuery (truncate_relation).
Produces the default project after running the dbt init
command for the CLI. dbt-cloud
initializes the project by using dbt-starter-project.
index.html
a file generated from dbt-docs prior to new releases and replaced in thedbt-core
directory. It is used to generate the docs page after using thegenerate docs
command in dbt.