Skip to content

Commit

Permalink
Fix 2.14.0 redirects (#1346)
Browse files Browse the repository at this point in the history
* Fix 2.14.0 redirects

Check for hash in anchormap

* Add release notes

* Add note about conda-forge release
  • Loading branch information
joshmoore committed Feb 12, 2023
1 parent 76fce14 commit 87c48d8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_static/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

let hash = window.location.hash.substring(1);
if (hash) {
window.location.replace(anchorMap[hash]);
if (hash && hash in anchorMap) {
window.location.replace(anchorMap[hash]);
}
})();
14 changes: 14 additions & 0 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ Release notes
# .. warning::
# Pre-release! Use :command:`pip install --pre zarr` to evaluate this release.
.. _release_2.14.1:

2.14.1
------

Documentation
~~~~~~~~~~~~~

* Fix API links.
By :user:`Josh Moore <joshmoore>` :issue:`1346`.

* Fix unit tests which prevented the conda-forge release.
By :user:`Josh Moore <joshmoore>` :issue:`1348`.

.. _release_2.14.0:

2.14.0
Expand Down

0 comments on commit 87c48d8

Please sign in to comment.