Skip to content

Commit

Permalink
Merge pull request #301 from will-moore/rtd_fix
Browse files Browse the repository at this point in the history
Add sphinx_rtd_theme to docs dependencies
  • Loading branch information
jburel authored Sep 12, 2023
2 parents 30f55fc + 17ee62a commit f9e5dfc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -29,5 +29,4 @@ sphinx:
# Optionally declare the Python requirements required to build your docs
python:
install:
- method: pip
path: .
- requirements: docs/requirements.txt
8 changes: 8 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sphinx==7.1.2
sphinx-rtd-theme==1.3.0
fsspec==2023.6.0
zarr
dask
numpy
scipy
scikit-image
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"sphinx.ext.doctest",
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx_rtd_theme",
]

# use index.rst instead of contents.rst
Expand All @@ -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"
1 change: 1 addition & 0 deletions requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fsspec==2023.6.0
black
cython >= 0.29.16
numpy >= 1.16.0
Expand Down

0 comments on commit f9e5dfc

Please sign in to comment.