Commit 7d23dbe6 authored by Julien Palard's avatar Julien Palard Committed by GitHub

Doc: Bump Sphinx verison. (#13785)

To reflect the one we're using in production.
parent 552ace74
...@@ -12,7 +12,7 @@ steps: ...@@ -12,7 +12,7 @@ steps:
inputs: inputs:
versionSpec: '>=3.6' versionSpec: '>=3.6'
- script: python -m pip install sphinx==1.8.2 blurb python-docs-theme - script: python -m pip install sphinx==2.0.1 blurb python-docs-theme
displayName: 'Install build dependencies' displayName: 'Install build dependencies'
- ${{ if ne(parameters.latex, 'true') }}: - ${{ if ne(parameters.latex, 'true') }}:
......
...@@ -55,7 +55,7 @@ matrix: ...@@ -55,7 +55,7 @@ matrix:
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures. # 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.) # (Updating the version is fine as long as no warnings are raised by doing so.)
# The theme used by the docs is stored separately, so we need to install that as well. # The theme used by the docs is stored separately, so we need to install that as well.
- python -m pip install sphinx==1.8.2 blurb python-docs-theme - python -m pip install sphinx==2.0.1 blurb python-docs-theme
script: script:
- make check suspicious html SPHINXOPTS="-q -W -j4" - make check suspicious html SPHINXOPTS="-q -W -j4"
- name: "Documentation tests" - name: "Documentation tests"
......
...@@ -133,7 +133,7 @@ clean: ...@@ -133,7 +133,7 @@ clean:
venv: venv:
$(PYTHON) -m venv $(VENVDIR) $(PYTHON) -m venv $(VENVDIR)
$(VENVDIR)/bin/python3 -m pip install -U pip setuptools $(VENVDIR)/bin/python3 -m pip install -U pip setuptools
$(VENVDIR)/bin/python3 -m pip install -U Sphinx blurb python-docs-theme $(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.0.1 blurb python-docs-theme
@echo "The venv has been created in the $(VENVDIR) directory" @echo "The venv has been created in the $(VENVDIR) directory"
dist: dist:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment