__init__
This module has everything that turns type info into html.
It also has a lot of type-lookup and type-discovery logic woven into into it, what we'd call a bad separation of concerns.