Merge pull request #4140 from Gallaecio/docs-py38

Use the latest Python version to build the documentation
This commit is contained in:
Andrey Rahmatullin 2019-12-19 14:09:02 +05:00 committed by GitHub
commit c841a1f3e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

7
.readthedocs.yml Normal file
View File

@ -0,0 +1,7 @@
version: 2
sphinx:
configuration: docs/conf.py
python:
version: 3.8
install:
- requirements: docs/requirements.txt

View File

@ -25,7 +25,7 @@ matrix:
- env: TOXENV=extra-deps
python: 3.8
- env: TOXENV=docs
python: 3.6
python: 3.8
install:
- |
if [ "$TOXENV" = "pypy3" ]; then

View File

@ -77,18 +77,21 @@ deps =
-rdocs/requirements.txt
[testenv:docs]
basepython = python3
changedir = {[docs]changedir}
deps = {[docs]deps}
commands =
sphinx-build -W -b html . {envtmpdir}/html
[testenv:docs-coverage]
basepython = python3
changedir = {[docs]changedir}
deps = {[docs]deps}
commands =
sphinx-build -b coverage . {envtmpdir}/coverage
[testenv:docs-links]
basepython = python3
changedir = {[docs]changedir}
deps = {[docs]deps}
commands =