dbt docs not showing macros?

I’ve got a .yml file (located under the macros directory) set up as described in:

dbt docs generate and dbt docs serve both run without errors, but the macros don’t show up anywhere in the resulting documents.

I also tried setting

docs:
      show: true

on each of the macros, based on Macro properties | dbt Developer Hub, but that didn’t do anything.

Is there a step I’m missing? Something we need to configure dbt_projects.yml to specify that we have schema files under macros/ as well as models/?

Figured out what I was doing wrong: I needed to dbt compile the whole project. After that, macros show up as a section under “Projects > [our project name”.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.