Skip to content

Commit

Permalink
Fix doc builds (#622)
Browse files Browse the repository at this point in the history
* Update test_env.yaml

* try using main yaml

* use mamba to build env

* Update test_env.yaml

* Update test_env.yaml

lets see if we can still drop parmed here
  • Loading branch information
mikemhenry authored Sep 8, 2022
1 parent 961b2ee commit 2e64980
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
- numba
- numpy
- openmm >=7.5.0
#- parmed # Test to see if this fixes the docs
- pip
- pymbar <4
- python
Expand All @@ -27,3 +28,8 @@ dependencies:
- nose-timer
- pytest
- pytest-cov

# docs
- numpydoc
- sphinxcontrib-bibtex

4 changes: 3 additions & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
conda:
file: docs/environment.yml
file: devtools/conda-envs/test_env.yaml

# 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
tools:
python: mambaforge-4.10

python:
version: 3.6
Expand Down

0 comments on commit 2e64980

Please sign in to comment.