Fix automodule generation on readthedocs