mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
bpo-30380: Pin the version of Sphinx used to build the docs (GH-1612) (GH-1617)
This commit is contained in:
parent
8fc1ff51ad
commit
5e2016dce9
1 changed files with 4 additions and 2 deletions
|
@ -37,9 +37,11 @@ matrix:
|
||||||
- TESTING=docs
|
- TESTING=docs
|
||||||
before_script:
|
before_script:
|
||||||
- cd Doc
|
- cd Doc
|
||||||
- make venv
|
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
|
||||||
|
# (Updating the version is fine as long as no warnings are raised by doing so.)
|
||||||
|
- python -m pip install sphinx~=1.6.1
|
||||||
script:
|
script:
|
||||||
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q -W"
|
- make check suspicious html SPHINXOPTS="-q -W"
|
||||||
- os: linux
|
- os: linux
|
||||||
language: c
|
language: c
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue