Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 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,8 +14,17 @@ 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.
# Therefore, the UDUNITS2 environment variables are not set.
# They are instead set via the RTD dashboard (not yet possible via this
# configuration file - readthedocs/readthedocs.org#6311).
environment: requirements/cf-units.yml

sphinx:
Expand Down
3 changes: 1 addition & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@

html_theme = "alabaster"

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {"http://docs.python.org/": None}
intersphinx_mapping = {"python": ("http://docs.python.org/3/", None)}