Skip to content

Change Install to pip in .readthedocs.yaml #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Sep 16, 2021
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: black

- repo: https://github.com/keewis/blackdoc
rev: v0.3.3
rev: v0.3.4
hooks:
- id: blackdoc

Expand Down
5 changes: 3 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ version: 2
build:
image: latest

conda:
environment: ci/environment.yml
python:
install:
- requirements: ci/environment_pip.txt

sphinx:
configuration: portal/conf.py
Expand Down
7 changes: 7 additions & 0 deletions ci/environment_pip.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
myst-nb==0.12.3
sphinx-book-theme
sphinx-panels
matplotlib
pandas
pyyaml
pre-commit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually need precommit for readthedocs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question, I just copied all of the dependencies from the environment.yaml but maybe if we're having 2 locations for dependencies anyway - they can be different?