Skip to content

Commit f128f24

Browse files
authored
RTD maintenance (#7477)
* upgrade the os * get the correct version in builds Even if we don't display it in the built documentation anymore, some functionality like `pandas.DataFrame.to_xarray` have a version check. * print the last 5 commits [skip-rtd] [skip-ci] * remove the "unshallow" apparently, it does not make sense for complete repos, so git fails. * also remove the history print The idea was to check whether there was a special commit on top of the most recent commit of the PR (this seems to be the case on GH actions). There's none, so we don't need the print. * [skip-ci] [skip-rtd] * [skip-ci] [skip-rtd]
1 parent c3032cd commit f128f24

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
version: 2
22

33
build:
4-
os: ubuntu-20.04
4+
os: ubuntu-22.04
55
tools:
66
python: mambaforge-4.10
77
jobs:
88
post_checkout:
99
- (git --no-pager log --pretty="tformat:%s" -1 | grep -vqF "[skip-rtd]") || exit 183
10+
pre_install:
11+
- git update-index --assume-unchanged doc/conf.py ci/requirements/doc.yml
1012

1113
conda:
1214
environment: ci/requirements/doc.yml

0 commit comments

Comments
 (0)