Skip to content

Commit

Permalink
Merge pull request #13 from inducer/sphinx-ver-spec
Browse files Browse the repository at this point in the history
Add CI_SUPPORT_SPHINX_VERSION_SPECIFIER
  • Loading branch information
inducer committed May 9, 2021
2 parents 72cff13 + f9fcc19 commit bf9cc33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci-support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,12 @@ run_examples()

build_docs()
{
# >=3.2.1 for https://github.com/sphinx-doc/sphinx/issues/8084
with_echo $PY_EXE -m pip install "sphinx>=3.2.1" furo sphinx-copybutton
if test "$CI_SUPPORT_SPHINX_VERSION_SPECIFIER" = ""; then
# >=3.2.1 for https://github.com/sphinx-doc/sphinx/issues/8084
CI_SUPPORT_SPHINX_VERSION_SPECIFIER=">=3.2.1"
fi
with_echo $PY_EXE -m pip install "sphinx$CI_SUPPORT_SPHINX_VERSION_SPECIFIER" \
furo sphinx-copybutton

cd doc

Expand Down

0 comments on commit bf9cc33

Please sign in to comment.