Skip to content

Instantly share code, notes, and snippets.

@zonca
Last active May 28, 2020 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zonca/c6f29060a2e77cffcfb155dd4ef1a558 to your computer and use it in GitHub Desktop.
Save zonca/c6f29060a2e77cffcfb155dd4ef1a558 to your computer and use it in GitHub Desktop.
Minimal example of readthedocs configuration with conda
version: 2
conda:
environment: docs/environment.yml
build:
image: latest
# This part is necessary otherwise the project is not built
python:
version: 3.7
install:
- method: pip
path: .
# By default readthedocs does not checkout git submodules
submodules:
include: all
name: readthedocs
dependencies:
- python=3.7
- astropy
- numpy
- cython
- matplotlib
- pytest
- scipy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment