File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 12
12
inputs :
13
13
versionSpec : ' >=3.6'
14
14
15
- - script : python -m pip install sphinx==2.0.1 blurb python-docs-theme
15
+ - script : python -m pip install sphinx==2.2.0 blurb python-docs-theme
16
16
displayName : ' Install build dependencies'
17
17
18
18
- ${{ if ne(parameters.latex, 'true') }} :
21
21
displayName : ' Build documentation'
22
22
23
23
- ${{ if eq(parameters.latex, 'true') }} :
24
- - script : sudo apt-get update && sudo apt-get install -qy --force-yes texlive-full
24
+ - script : sudo apt-get update && sudo apt-get install -qy --force-yes texlive-full
25
25
displayName : ' Install LaTeX'
26
26
27
27
- script : make dist PYTHON=python SPHINXBUILD='python -m sphinx' BLURB='python -m blurb'
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ matrix:
55
55
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
56
56
# (Updating the version is fine as long as no warnings are raised by doing so.)
57
57
# The theme used by the docs is stored separately, so we need to install that as well.
58
- - python -m pip install sphinx==2.0.1 blurb python-docs-theme
58
+ - python -m pip install sphinx==2.2.0 blurb python-docs-theme
59
59
script :
60
60
- make check suspicious html SPHINXOPTS="-q -W -j4"
61
61
- name : " Documentation tests"
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ clean:
143
143
venv :
144
144
$(PYTHON ) -m venv $(VENVDIR )
145
145
$(VENVDIR ) /bin/python3 -m pip install -U pip setuptools
146
- $(VENVDIR ) /bin/python3 -m pip install -U Sphinx==2.0.1 blurb python-docs-theme
146
+ $(VENVDIR ) /bin/python3 -m pip install -U Sphinx==2.2.0 blurb python-docs-theme
147
147
@echo " The venv has been created in the $( VENVDIR) directory"
148
148
149
149
dist :
Original file line number Diff line number Diff line change 1
1
# Requirements for docs build on netlify
2
2
# Pin sphinx to version specified in .travis.yml
3
- sphinx == 2.0.1
3
+ sphinx == 2.2.0
4
4
blurb
5
5
python-docs-theme
Original file line number Diff line number Diff line change @@ -1068,7 +1068,7 @@ def buildPythonDocs():
1068
1068
runCommand ('make clean' )
1069
1069
# Create virtual environment for docs builds with blurb and sphinx
1070
1070
runCommand ('make venv' )
1071
- runCommand ('venv/bin/python3 -m pip install -U Sphinx==2.0.1 ' )
1071
+ runCommand ('venv/bin/python3 -m pip install -U Sphinx==2.2.0 ' )
1072
1072
runCommand ('make html PYTHON=venv/bin/python' )
1073
1073
os .chdir (curDir )
1074
1074
if not os .path .exists (docdir ):
You can’t perform that action at this time.
0 commit comments