From 8c2eccee81e450a8fd89e55488eec81d7231a4e8 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Tue, 4 Jan 2022 13:05:04 +0000 Subject: [PATCH 1/2] rtd with latest mambaforge image for faster building --- .readthedocs.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index b54b0f065b..b449394f7e 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,20 +1,24 @@ version: 2 build: - image: latest + os: ubuntu-20.04 + tools: + python: mambaforge-4.10 conda: - environment: requirements/ci/readthedocs.yml + environment: requirements/ci/readthedocs.yml sphinx: - configuration: docs/src/conf.py - fail_on_warning: false + configuration: docs/src/conf.py + fail_on_warning: false python: - install: - - method: setuptools - path: . + install: + - method: pip + path: . + extra_requirements: + - docs formats: - - htmlzip - - pdf + - htmlzip + - pdf From aff05e0f1babb16ab28467e5638df2caa6551969 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Tue, 4 Jan 2022 17:14:53 +0000 Subject: [PATCH 2/2] review actions --- .readthedocs.yml | 4 ---- docs/src/whatsnew/latest.rst | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index b449394f7e..63c4798050 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -18,7 +18,3 @@ python: path: . extra_requirements: - docs - -formats: - - htmlzip - - pdf diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index a2c793a86f..62b57e9b29 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -200,6 +200,9 @@ This document explains the changes made to Iris for this release #. `@wjbenfold`_ clarified behaviour of :func:`iris.load` in :ref:`userguide loading section `. (:pull:`4462`) +#. `@bjlittle`_ migrated readthedocs to use mambaforge for `faster documentation building`_. + (:pull:`4476`) + 💼 Internal =========== @@ -273,3 +276,4 @@ This document explains the changes made to Iris for this release .. _NEP-29: https://numpy.org/neps/nep-0029-deprecation_policy.html .. _UGRID: http://ugrid-conventions.github.io/ugrid-conventions/ .. _sort-all: https://github.com/aio-libs/sort-all +.. _faster documentation building: https://docs.readthedocs.io/en/stable/guides/conda.html#making-builds-faster-with-mamba