diff --git a/.readthedocs.yml b/.readthedocs.yml index 13ae5bed..fc2e4840 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.9" + python: "3.10" # You can also specify other tool versions: # nodejs: "16" # rust: "1.55" @@ -29,5 +29,4 @@ sphinx: # Optionally declare the Python requirements required to build your docs python: install: - - method: pip - path: . + - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..76aa0da8 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,8 @@ +sphinx==7.1.2 +sphinx-rtd-theme==1.3.0 +fsspec==2023.6.0 +zarr +dask +numpy +scipy +scikit-image diff --git a/docs/source/conf.py b/docs/source/conf.py index 854cc342..3825cd12 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -9,6 +9,7 @@ "sphinx.ext.doctest", "sphinx.ext.autodoc", "sphinx.ext.intersphinx", + "sphinx_rtd_theme", ] # use index.rst instead of contents.rst @@ -28,3 +29,6 @@ "numpy": ("https://numpy.org/doc/stable/", None), "zarr": ("https://zarr.readthedocs.io/en/stable/", None), } + +# https://github.com/readthedocs/sphinx_rtd_theme +html_theme = "sphinx_rtd_theme" diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index d5a00601..2931335e 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -1,3 +1,4 @@ +fsspec==2023.6.0 black cython >= 0.29.16 numpy >= 1.16.0