Skip to content

Commit 7e8d6f4

Browse files
committed
try using astropy's config
1 parent 59789ba commit 7e8d6f4

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

.readthedocs.yaml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
11
version: 2
22

33
build:
4-
os: ubuntu-22.04
5-
tools:
6-
python: "3.10"
4+
os: "ubuntu-20.04"
5+
tools:
6+
python: "mambaforge-4.10"
77

8-
python:
9-
system_packages: false
10-
install:
11-
- method: pip
12-
path: .
13-
extra_requirements:
14-
- docs
8+
conda:
9+
environment: docs/rtd_environment.yaml
1510

1611
sphinx:
17-
fail_on_warning: true
18-
configuration: docs/conf.py
12+
builder: html
13+
configuration: docs/conf.py
14+
fail_on_warning: true
15+
16+
# Install regular dependencies.
17+
# Then, install special pinning for RTD.
18+
python:
19+
system_packages: false
20+
install:
21+
- method: pip
22+
path: .
23+
extra_requirements:
24+
- docs
25+
- all
26+
27+
# Don't build any extra formats
28+
formats: []

0 commit comments

Comments
 (0)