monero-docs/main.py
2024-09-20 12:13:14 +00:00

9 lines
199 B
Python

def define_env(env):
"""
This is the hook for the variables, macros and filters.
"""
@env.macro
def multiply(arg1, arg2):
"Multiply 2 numbers"
return arg1 * arg2