{% extends "default/module.html.jinja2" %} {# To document all event hooks, we do a bit of hackery: 1. scripts/api-events.py auto-generates generated/events.py. 2. scripts/api-render.py renders generated/events.py together with the remaining API docs. 3. This templates hides some elements of the default pdoc template. #} {% if module.name == "events" %} {% macro module_name() %} {% endmacro %} {% macro class(cls) %}