Thanks for the test cases. Please check my comments.
I applied your comments.
Thanks! May I ask what you're going to do with the event? :)
@Georg Brandl please refer to Force the order to read the documents - sphinx-dev ML
Thanks! I've renamed it to "env-before-read-docs" and fixed the test failure I caused by my recent reorganization of the test suite.