Skip to content
forked from pydata/xarray

Commit

Permalink
RTD maintenance (pydata#7477)
Browse files Browse the repository at this point in the history
* 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]
  • Loading branch information
keewis authored Jan 25, 2023
1 parent c3032cd commit f128f24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
version: 2

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

conda:
environment: ci/requirements/doc.yml
Expand Down

0 comments on commit f128f24

Please sign in to comment.