Move events.py docs into Sphinx.