Skip to main content

How do I document macros?


To document macros, use a schema file and nest the configurations under a macros: key


version: 2
macros:  - name: cents_to_dollars    description: A macro to convert cents to dollars    arguments:      - name: column_name        type: string        description: The name of the column you want to convert      - name: precision        type: integer        description: Number of decimal places. Defaults to 2.