Skip to content

Commit 8e7a472

Browse files
committed
No more system default packages on readthedocs
1 parent 015c915 commit 8e7a472

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.readthedocs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
version: 2
22

3+
# Set the OS, Python version and other tools you might need
4+
build:
5+
os: ubuntu-22.04
6+
tools:
7+
python: "3.12"
8+
39
python:
4-
version: 3.7
10+
version: "3.12"
511
install:
612
- method: pip
713
path: .
@@ -10,5 +16,9 @@ python:
1016
- requirements: docs/requirements.txt
1117
- requirements: requirements.txt
1218

19+
# Build documentation in the "docs/" directory with Sphinx
20+
sphinx:
21+
configuration: docs/conf.py
22+
1323
# The only extra format to build is PDF
1424
formats: [pdf]

docs/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ numpydoc
22
recommonmark==0.6.0
33
sphinx==1.8.4
44
numba>=0.49.1
5+
numpy
6+
scipy
7+
tqdm

0 commit comments

Comments
 (0)