Skip to content

Commit 87c48d8

Browse files
authored
Fix 2.14.0 redirects (#1346)
* Fix 2.14.0 redirects Check for hash in anchormap * Add release notes * Add note about conda-forge release
1 parent 76fce14 commit 87c48d8

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

docs/_static/custom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
let hash = window.location.hash.substring(1);
15-
if (hash) {
16-
window.location.replace(anchorMap[hash]);
15+
if (hash && hash in anchorMap) {
16+
window.location.replace(anchorMap[hash]);
1717
}
1818
})();

docs/release.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ Release notes
1515
# .. warning::
1616
# Pre-release! Use :command:`pip install --pre zarr` to evaluate this release.
1717
18+
.. _release_2.14.1:
19+
20+
2.14.1
21+
------
22+
23+
Documentation
24+
~~~~~~~~~~~~~
25+
26+
* Fix API links.
27+
By :user:`Josh Moore <joshmoore>` :issue:`1346`.
28+
29+
* Fix unit tests which prevented the conda-forge release.
30+
By :user:`Josh Moore <joshmoore>` :issue:`1348`.
31+
1832
.. _release_2.14.0:
1933

2034
2.14.0

0 commit comments

Comments
 (0)