How do I document macros?
▶Changelog
To document macros, use a schema file and nest the configurations under a macros:
key
Example:
models/schema.yml
version: 2macros:- name: cents_to_dollarsdescription: A macro to convert cents to dollarsarguments:- name: column_nametype: stringdescription: The name of the column you want to convert- name: precisiontype: integerdescription: Number of decimal places. Defaults to 2.