ci: downgrade sphinx to v3.x

Sphinx 4.0 was recently released, but sadly the theme we're using is not
yet compatible with Sphinx 4.0.

So let's limit the sphinx-version we're using to a version before Sphinx
4.0 for now.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4843
Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11005>
This commit is contained in:
Erik Faye-Lund 2021-05-26 15:27:27 +02:00 committed by Marge Bot
parent f8f963f800
commit a545b6eda0
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ stages:
- .ci-run-policy
script:
- apk --no-cache add graphviz
- pip3 install sphinx sphinx_rtd_theme
- pip3 install "sphinx<4.0" sphinx_rtd_theme
- sphinx-build -W -b html docs public
pages: