diff --git a/ci/requirements/doc.yml b/ci/requirements/doc.yml index d8823e7cbbc..cc6f13e7086 100644 --- a/ci/requirements/doc.yml +++ b/ci/requirements/doc.yml @@ -4,7 +4,7 @@ channels: - conda-forge - nodefaults dependencies: - - python=3.9 + - python=3.10 - bottleneck - cartopy - cfgrib>=0.9 @@ -23,7 +23,6 @@ dependencies: - pandas>=1.4 - pooch - pip - - pydata-sphinx-theme>=0.4.3 - pyproj - rasterio>=1.1 - scipy!=1.10.0 @@ -31,10 +30,10 @@ dependencies: - setuptools - sparse - sphinx-autosummary-accessors - - sphinx-book-theme >= 0.0.38 + - sphinx-book-theme >= 0.3.0 - sphinx-copybutton - sphinx-design - - sphinx!=4.4.0 + - sphinx>=5.0 - zarr>=2.10 - pip: - sphinxext-rediraffe diff --git a/doc/conf.py b/doc/conf.py index c916fde5760..0b6c6766c3b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -97,8 +97,8 @@ extlinks = { - "issue": ("https://github.com/pydata/xarray/issues/%s", "GH"), - "pull": ("https://github.com/pydata/xarray/pull/%s", "PR"), + "issue": ("https://github.com/pydata/xarray/issues/%s", "GH%s"), + "pull": ("https://github.com/pydata/xarray/pull/%s", "PR%s"), } # sphinx-copybutton configurations @@ -244,12 +244,11 @@ use_repository_button=True, use_issues_button=True, home_page_in_toc=False, - extra_navbar="", - navbar_footer_text="", extra_footer="""

Xarray is a fiscally sponsored project of NumFOCUS, a nonprofit dedicated to supporting the open-source scientific computing community.
Theme by the Executable Book Project

""", twitter_url="https://twitter.com/xarray_devs", + icon_links=[], # workaround for pydata/pydata-sphinx-theme#1220 ) diff --git a/doc/user-guide/interpolation.rst b/doc/user-guide/interpolation.rst index 2dc47e9f591..7b40962e826 100644 --- a/doc/user-guide/interpolation.rst +++ b/doc/user-guide/interpolation.rst @@ -50,7 +50,7 @@ array-like, which gives the interpolated result as an array. # interpolation da.interp(time=[2.5, 3.5]) -To interpolate data with a :py:doc:`numpy.datetime64 ` coordinate you can pass a string. +To interpolate data with a :py:doc:`numpy.datetime64 ` coordinate you can pass a string. .. ipython:: python