Hooked doc regeneration into source/conf.py.