[docs] add setup.py for readthedocs and virtualenv for api.rst page