Skip to content

Commit

Permalink
Other RTD modernisation.
Browse files Browse the repository at this point in the history
  • Loading branch information
trexfeathers committed Sep 27, 2024
1 parent c7b9360 commit 3ea8f66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

build:
os: ubuntu-20.04
os: ubuntu-24.04
tools:
python: mambaforge-4.10
jobs:
Expand All @@ -14,6 +14,11 @@ build:
# create a "common" link to the underlying rtd conda environment,
# which maybe named "latest", "stable" or the cf-units version
- ln -s ${CONDA_ENVS_PATH}/${CONDA_DEFAULT_ENV} ${CONDA_ENVS_PATH}/common
# Need to stash the local changes that Read the Docs makes so that
# setuptools_scm can generate the correct cf-units version.
- git stash
post_install:
- git stash pop

conda:
# NOTE: the activation script for this environment does not get run.
Expand Down

0 comments on commit 3ea8f66

Please sign in to comment.