Made docs config rtd aware [skip ci].