diff --git a/.readthedocs.yml b/.readthedocs.yml index cf582778..e8c9fc98 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,9 +4,6 @@ # Required version: 2 -conda: - file: environment.yml - # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py @@ -22,4 +19,14 @@ build: tools: python: "3.10" -# +# Optionally set the version of Python and requirements required to build your docs +python: + install: + - method: conda + path: . + extra_requirements: + - docs + +conda: + file: environment.yml +