diff --git a/docs/.readthedocs.yaml b/.readthedocs.yaml similarity index 69% rename from docs/.readthedocs.yaml rename to .readthedocs.yaml index 647d071207..28d6dd565d 100644 --- a/docs/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,16 +1,19 @@ version: 2 -# Build from the docs/ directory with Sphinx -sphinx: - configuration: docs/source/conf.py +# Add necessary apt-get packages +build: + apt_packages: + - cmake # Explicitly set the version of Python and its requirements python: - version: 3.7 + version: "3.7" install: - - requirements: docs/requirements.txt + - method: pip + path: . + extra_requirements: + - all -# Add necessary apt-get packages -build: - apt_packages: - - cmake +# Build from the docs/ directory with Sphinx +sphinx: + configuration: docs/source/conf.py diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 8d986c3fd7..0000000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,39 +0,0 @@ -numpy>=1.14 -pandas>1.0.3,<2 -scipy>=1.0.0,<2 -tqdm>=4.31.1,<5 -matplotlib>=2.2.2,<4 -scikit-learn>=0.22.1,<1 -numba>=0.38.1,<1 -lightfm>=1.15,<2 -lightgbm>=2.2.1,<3 -memory_profiler>=0.54.0,<1 -nltk>=3.4,<4 -pydocumentdb>=2.3.3<3 -pymanopt>=0.2.5,<1 -seaborn>=0.8.1,<1 -transformers>=2.5.0,<5 -bottleneck>=1.2.1,<2 -category_encoders>=1.3.0,<2 -jinja2>=2,<3 -pyyaml>=5.4.1,<6 -requests>=2.0.0,<3 -cornac>=1.1.2,<2 -scikit-surprise>=0.19.1,<=1.1.1 -retrying>=1.3.3 -azure.mgmt.cosmosdb>=0.8.0,<1 -hyperopt>=0.1.2,<1 -ipykernel>=4.6.1,<5 -jupyter>=1,<2 -locust>=1,<2 -papermill>=2.1.2,<3 -scrapbook>=0.5.0,<1.0.0 -nvidia-ml-py3>=7.352.0 -tensorflow-gpu>=1.15.0,<2 -torch==1.2.0 -fastai>=1.0.46,<2 -databricks_cli>=0.8.6,<1 -pyarrow>=0.8.0,<1.0.0 -pyspark>=2.4.5,<3.0.0 -cmake>=3.18.4.post1 -xlearn==0.40a1