diff --git a/ci/deps/travis-36-doc.yaml b/ci/deps/travis-36-doc.yaml index a3c9f27f72d7e..9419543e601e2 100644 --- a/ci/deps/travis-36-doc.yaml +++ b/ci/deps/travis-36-doc.yaml @@ -33,8 +33,8 @@ dependencies: - pytz - scipy - seaborn - # recursion error with sphinx 2.1.0. https://github.com/pandas-dev/pandas/issues/26723 - - sphinx==2.0.1 + # some styling is broken with sphinx >= 2 (https://github.com/pandas-dev/pandas/issues/26058) + - sphinx=1.8.5 - sqlalchemy - statsmodels - xarray diff --git a/environment.yml b/environment.yml index 897fd34ebb803..200aa0428f1e1 100644 --- a/environment.yml +++ b/environment.yml @@ -26,7 +26,8 @@ dependencies: # documentation - gitpython # obtain contributors from git for whatsnew - - sphinx + # some styling is broken with sphinx >= 2 (https://github.com/pandas-dev/pandas/issues/26058) + - sphinx=1.8.5 - numpydoc>=0.9.0 # documentation (jupyter notebooks) diff --git a/requirements-dev.txt b/requirements-dev.txt index f5309df5aa6ce..46e857f2e9e0f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -11,7 +11,7 @@ isort mypy pycodestyle gitpython -sphinx +sphinx==1.8.5 numpydoc>=0.9.0 nbconvert>=5.4.1 nbsphinx