diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 00000000..b0a2a0d0 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,12 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "mambaforge-4.10" + +sphinx: + configuration: docs/conf.py + +conda: + environment: continuous_integration/environment-doc.yml diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index e5511b11..3789f7d1 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -47,7 +47,7 @@ conda environment for building the dask-image documentation: .. code-block:: console - $ conda env create -f environment_doc.yml + $ conda env create -f continuous_integration/environment-doc.yml $ conda activate dask_image_doc_env This conda environment contains dask-image and its dependencies, sphinx, diff --git a/continuous_integration/environment-doc.yml b/continuous_integration/environment-doc.yml new file mode 100644 index 00000000..72c4f6a5 --- /dev/null +++ b/continuous_integration/environment-doc.yml @@ -0,0 +1,19 @@ +name: dask_image_doc_env + +channels: + - conda-forge + +dependencies: + - python=3.8.* + - pip==22.3 + - wheel==0.37.1 + - sphinx==5.3.0 + - jinja2==3.1.2 + - dask==2.8.1 + - numpy==1.23.4 + - scipy==1.9.2 + - scikit-image==0.19.3 + - pims==0.6.1 + - slicerator==1.1.0 + - pip: + - dask-sphinx-theme>=3.0.0 diff --git a/environment_doc.yml b/environment_doc.yml deleted file mode 100644 index e8e73306..00000000 --- a/environment_doc.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: dask_image_doc_env - -channels: - - conda-forge - -dependencies: - - pip==20.2.4 - - wheel==0.35.1 - - sphinx==3.2.1 - - jinja2<3.1 - - dask==2.8.1 - - numpy==1.15.4 - - pims==0.4.1 - - slicerator==0.9.8 - - pip: - - slicerator==0.9.8 - - dask-sphinx-theme>=3.0.0 diff --git a/readthedocs.yml b/readthedocs.yml deleted file mode 100644 index e87e3eb4..00000000 --- a/readthedocs.yml +++ /dev/null @@ -1,2 +0,0 @@ -conda: - file: environment_doc.yml