diff --git a/docs/environment.yml b/docs/environment.yml deleted file mode 100644 index 17435753..00000000 --- a/docs/environment.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: dask-jobqueue-docs -channels: - - conda-forge -dependencies: - - python=3.8 - - distributed - - numpydoc - - ipython - - sphinx - - pip: - - dask-sphinx-theme>=3.0.0 diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt new file mode 100644 index 00000000..b4923de1 --- /dev/null +++ b/docs/requirements-docs.txt @@ -0,0 +1,14 @@ +distributed +numpydoc +ipython +sphinx +dask-sphinx-theme>=3.0.0 +# FIXME: This workaround is required until we have sphinx>=5, as enabled by +# dask-sphinx-theme no longer pinning sphinx-book-theme==0.2.0. This is +# tracked in https://github.com/dask/dask-sphinx-theme/issues/68. +# +sphinxcontrib-applehelp<1.0.5 +sphinxcontrib-devhelp<1.0.6 +sphinxcontrib-htmlhelp<2.0.5 +sphinxcontrib-serializinghtml<1.1.10 +sphinxcontrib-qthelp<1.0.7 diff --git a/readthedocs.yml b/readthedocs.yml index 19834bf8..cdd057b1 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,12 +1,22 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + version: 2 +build: + os: "ubuntu-22.04" + tools: + python: "3.10" + sphinx: configuration: docs/source/conf.py - -conda: - environment: docs/environment.yml - + python: install: + - requirements: docs/requirements-docs.txt - method: pip path: . + +submodules: + include: all