Skip to content

Commit addc18f

Browse files
committed
Update RTD config to version 2 and use python 3.8
1 parent 293aac9 commit addc18f

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.readthedocs.yml

+14-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
requirements_file: requirements/docs.txt
1+
version: 2
2+
3+
sphinx:
4+
configuration: docs/conf.py
5+
6+
formats:
7+
- pdf
28

39
build:
410
image: latest
511

612
python:
7-
version: 3.6
8-
setup_py_install: false
9-
pip_install: true # need this for correct pyproject.toml handling
10-
extra_requirements:
11-
- validation
12-
13-
# extra formats in addition to the default HTML web docs
14-
formats:
15-
- pdf
13+
version: 3.8
14+
install:
15+
- requirements: requirements/docs.txt
16+
- method: pip
17+
path: .
18+
extra_requirements:
19+
- validation

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ cache: pip
1111

1212
matrix:
1313
include:
14-
- python: '3.6'
14+
- python: '3.8'
1515
env: TOXENV=docs
1616
- python: '3.9-dev'
1717
env: TOXENV=djmaster
1818
- python: '3.8'
1919
env: TOXENV=lint
2020

2121
- stage: publish
22-
python: '3.6'
22+
python: '3.8'
2323
before_script:
2424
# workaround for Travis' inability to build PEP517 projects; anything added to build-system.requires
2525
# will also have to be added here until Travis implements this

0 commit comments

Comments
 (0)