Add .readthedocs.yml

master
Cristi Vîjdea 2018-12-29 17:42:12 +02:00
parent 7f3ffe80a9
commit c1d3d4fe3c
2 changed files with 17 additions and 3 deletions

15
.readthedocs.yml 100644
View File

@ -0,0 +1,15 @@
requirements_file: requirements/docs.txt
build:
image: latest
python:
version: 3.6
setup_py_install: false
pip_install: true # need this for correct pyproject.toml handling
extra_requirements:
- validation
# extra formats in addition to the default HTML web docs
formats:
- pdf

View File

@ -16,10 +16,9 @@ jobs:
dist: xenial
sudo: required
- python: '3.6'
env: TOXENV=djmaster
- # readthedocs uses python 3.5 for building
python: '3.5'
env: TOXENV=docs
- python: '3.6'
env: TOXENV=djmaster
- python: '3.6'
env: TOXENV=lint