Skip to content

Commit

Permalink
Merge pull request #110 from djhoese/doc-config
Browse files Browse the repository at this point in the history
Add readthedocs config file to force newer dependencies
  • Loading branch information
mraspaud committed Nov 7, 2022
2 parents 93e547a + bffedb4 commit c0a30db
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .readthedocs.yml
@@ -0,0 +1,13 @@
version: 2

build:
os: "ubuntu-20.04"
tools:
python: "3.10"
sphinx:
configuration: doc/conf.py
python:
install:
- requirements: rtd_requirements.txt
- method: pip
path: .
2 changes: 1 addition & 1 deletion doc/conf.py
Expand Up @@ -121,7 +121,7 @@ def __getattr__(cls, name):

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
3 changes: 3 additions & 0 deletions rtd_requirements.txt
Expand Up @@ -3,3 +3,6 @@ rasterio
xarray
dask[array]
docutils<0.18
sphinx>=5,<6
sphinx-rtd-theme>=1.1.0,<2.0

2 changes: 2 additions & 0 deletions setup.cfg
Expand Up @@ -7,6 +7,8 @@ universal=1

[flake8]
max-line-length = 120
exclude =
doc/conf.py

[versioneer]
VCS = git
Expand Down

0 comments on commit c0a30db

Please sign in to comment.