Skip to content

Commit dbd44c1

Browse files
committed
setup readthedocs with conda
1 parent 4149342 commit dbd44c1

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.readthedocs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
3+
conda:
4+
environment: docs/environment.yml
5+
6+
build:
7+
image: latest
8+
9+
# This part is necessary otherwise the project is not built
10+
python:
11+
version: 3.7
12+
install:
13+
- method: pip
14+
path: .
15+
16+
# By default readthedocs does not checkout git submodules
17+
submodules:
18+
include: all

doc/environment.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- python=3.7
5+
- ffmpeg
6+
- matplotlib
7+
- netCDF4
8+
- numba
9+
- numpy
10+
- opencv-python
11+
- pint
12+
- polygon3
13+
- pyyaml
14+
- requests
15+
- scipy
16+
- zarr
17+
- sphinx-gallery
18+
- pyeddytrackersample
19+
- sphinx_rtd_theme
20+
- sphinx>=3.1
21+

0 commit comments

Comments
 (0)