Fixed issues with generation of documents on readthedocs.