Unverified Commit bf9cc33b authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

Merge pull request #13 from inducer/sphinx-ver-spec

Add CI_SUPPORT_SPHINX_VERSION_SPECIFIER
parents 72cff133 f9fcc190
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -387,8 +387,12 @@ run_examples()

build_docs()
{
  if test "$CI_SUPPORT_SPHINX_VERSION_SPECIFIER" = ""; then
    # >=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
    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