Added check on environment variable 'READTHEDOCS'.