Whoops---readthedocs.yml v2 is not released yet.
-# .readthedocs.yml
+conda:
+ file: docs/environment.yml
-version: 2
+# The default for requirements_file is null, but for some reason we get an error with this message if it's not set:
+# "Problem parsing YAML configuration. Invalid "requirements_file": path docs/requirements.txt does not exist"
+requirements_file: null
build:
image: latest
python:
- version: 3.7
- install:
- - method: setuptools
- path: .
-
-conda:
- environment: docs/environment.yml
-
-sphinx:
- builder: html
- configuration: docs/conf.py
- fail_on_warning: false
+ version: 3.6
+ setup_py_install: true
