Skip to content

Commit

Permalink
Update rtd config to v2 (#320)
Browse files Browse the repository at this point in the history
* Update rtd config to v2

* Bump Python version to 3.9. Remove usage os system_packages

* Added installation of graphviz to RTD build
  • Loading branch information
rashidnhm authored Aug 10, 2023
1 parent 6d61d16 commit 2aec977
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
20 changes: 13 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
requirements_file: doc/requirements.txt
version: 2

build:
image: latest
sphinx:
configuration: doc/conf.py

python:
version: 3.8
install:
- requirements: doc/requirements.txt
- method: pip
path: .

# Don't build any extra formats
formats:
- none
build:
os: ubuntu-22.04
tools:
python: "3.9"
apt_packages:
- graphviz
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
appdirs==1.4.4
autograd==1.4
autoray==0.2.5
autoray==0.3.2
cachetools==5.0.0
certifi==2023.7.22
cffi==1.15.1
Expand Down Expand Up @@ -43,4 +43,4 @@ sympy==1.10.1
toml==0.10.2
tweedledum==1.1.1
urllib3==1.26.9
websocket-client==1.3.2
websocket-client==1.3.2

0 comments on commit 2aec977

Please sign in to comment.