Skip to content

Commit

Permalink
Merge pull request #160 from brian-rose/fix-docs
Browse files Browse the repository at this point in the history
Fix doc builds on readthedocs
  • Loading branch information
brian-rose committed Feb 4, 2022
2 parents 0328fec + 4750faf commit 637321d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 9 additions & 5 deletions readthedocs.yml → .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
version: 2

build:
image: latest
os: "ubuntu-20.04"
tools:
python: "mambaforge-4.10"

conda:
environment: docs/environment.yml
environment: docs/environment.yml

python:
version: 3.7
install:
- method: pip
- method: setuptools
path: .
formats: []

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
2 changes: 2 additions & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ dependencies:
- xarray
- pooch
- sphinx
- fortran-compiler
- toolchain3
- ipython
- jupyter
- future
Expand Down

0 comments on commit 637321d

Please sign in to comment.