Skip to content

Commit 52c36d4

Browse files
DOC: Fix "latest" version displayed on landing page (#11119)
* DOC: Fix "latest" version displayed on landing page * Update .readthedocs.yaml
1 parent e403da8 commit 52c36d4

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.readthedocs.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ build:
1717
post_checkout:
1818
- (git --no-pager log --pretty="tformat:%s" -1 | grep -vqF "[skip-rtd]") || exit 183
1919
- git fetch --unshallow || true
20-
pre_install:
21-
- git update-index --assume-unchanged doc/conf.py
2220
install:
2321
- pixi install -e doc
2422
build:

doc/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@
192192
project = "xarray"
193193
copyright = f"2014-{datetime.datetime.now().year}, xarray Developers"
194194

195-
# The short Y.M.D version.
196-
v = packaging.version.parse(xarray.__version__)
197-
version = ".".join(str(p) for p in v.release)
195+
version = xarray.__version__
198196

199197
# There are two options for replacing |today|: either, you set today to some
200198
# non-false value, then it is used:

0 commit comments

Comments
 (0)