Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into dark_theme
Browse files Browse the repository at this point in the history
* upstream/main:
  Unpin theme (SciTools#5129)
  link percentile as lazy option (SciTools#5128)
  • Loading branch information
tkknight committed Jan 5, 2023
2 parents d2024e7 + e1fae5e commit 163b56f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/src/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div id="slim-red-box-banner">
You are viewing the <b>latest</b> unreleased documentation
<b>v{{ version }}</b>. You can switch to a <b>stable</b> version
via the flyout menu in the bottom-right of the screen.
via the flyout menu in the bottom corner of the screen.
</div>
<p></p>
{%- endif %}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,14 +331,14 @@ def _dotv(version):
"github_user": "scitools",
"github_version": "main",
"doc_path": "docs/src",
"default_mode": "auto",
# custom
"on_rtd": on_rtd,
"rtd_version": rtd_version,
"rtd_version_type": rtd_version_type,
"version": version,
"copyright_years": copyright_years,
"python_version": build_python_version,
"default_mode": "auto",
"commit_sha": commit_sha,
}

Expand Down
7 changes: 7 additions & 0 deletions docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ This document explains the changes made to Iris for this release
================

#. `@rcomer`_ clarified instructions for updating gallery tests. (:pull:`5100`)
#. `@tkknight`_ unpinned ``pydata-sphinx-theme`` and set the default to use
the light version (not dark) while we make the docs dark mode friendly
(:pull:`5129`)

#. `@rcomer`_ linked the :obj:`~iris.analysis.PERCENTILE` aggregator from the
:obj:`~iris.analysis.MEDIAN` docstring, noting that the former handles lazy
data. (:pull:`5128`)


💼 Internal
Expand Down
3 changes: 2 additions & 1 deletion lib/iris/analysis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,8 @@ def interp_order(length):
result = cube.collapsed('longitude', iris.analysis.MEDIAN)
This aggregator handles masked data, but NOT lazy data.
This aggregator handles masked data, but NOT lazy data. For lazy aggregation,
please try :obj:`~.PERCENTILE`.
"""

Expand Down
2 changes: 1 addition & 1 deletion requirements/ci/py310.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies:
- sphinx-copybutton
- sphinx-gallery >=0.11.0
- sphinx-panels
- pydata-sphinx-theme = 0.8.1
- pydata-sphinx-theme

# Temporary minimum pins.
# See https://github.com/SciTools/iris/pull/5051
Expand Down
1 change: 0 additions & 1 deletion requirements/ci/py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ dependencies:
- sphinx-gallery >=0.11.0
- sphinx-panels
- pydata-sphinx-theme
- sphinx-togglebutton

2 changes: 1 addition & 1 deletion requirements/ci/py39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies:
- sphinx-copybutton
- sphinx-gallery >=0.11.0
- sphinx-panels
- pydata-sphinx-theme = 0.8.1
- pydata-sphinx-theme

# Temporary minimum pins.
# See https://github.com/SciTools/iris/pull/5051
Expand Down

0 comments on commit 163b56f

Please sign in to comment.