in plugins/extract_toc/extract_toc.py [0:0]
def register(): signals.content_object_init.connect(extract_toc)