Skip to content

Commit 52f6e8b

Browse files
committed
bump RTD to py310 & use astropy's config from now on
1 parent 011c3dc commit 52f6e8b

File tree

2 files changed

+32
-11
lines changed

2 files changed

+32
-11
lines changed

.readthedocs.yaml

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

3-
python:
4-
# Revise build version once more dependencies support python 3.9+
5-
version: 3.8
6-
system_packages: false
7-
install:
8-
- method: pip
9-
path: .
10-
extra_requirements:
11-
- docs
3+
build:
4+
os: "ubuntu-20.04"
5+
tools:
6+
python: "mambaforge-4.10"
7+
8+
conda:
9+
environment: docs/rtd_environment.yaml
1210

1311
sphinx:
14-
fail_on_warning: true
15-
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: []

docs/rtd_environment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: rtd311
2+
channels:
3+
- conda-forge
4+
- defaults
5+
dependencies:
6+
- python=3.11
7+
- pip
8+
- graphviz

0 commit comments

Comments
 (0)