Skip to content

Commit 7883d41

Browse files
use Python-only environment for ReadTheDocs builds (#3955)
Co-authored-by: Bouwe Andela <[email protected]>
1 parent 517dab2 commit 7883d41

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ build:
2727
# Declare the requirements required to build your docs
2828
conda:
2929
environment:
30-
environment.yml
30+
environment_python.yml
3131

3232
# Build documentation in the doc directory with Sphinx
3333
sphinx:

doc/sphinx/source/quickstart/installation.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,13 @@ so you will not be able to run NCL, R, or Julia diagnostics with it.
364364
would like to keep.
365365
It is recommended that you create a new environment when updating ESMValTool.
366366

367+
.. note::
368+
There is also a pure-Python environment file ``esmvaltool_python.yml``
369+
which is a softlink of the ``environment_osx.yml`` file; this one is used
370+
by any build that needs only Python packages (i.e. no NCL and R), currently
371+
this is used by our documentation builds, but it could be used by anyone
372+
needing just the Python dependencies.
373+
367374
Next, activate the environment by using the command:
368375

369376
.. code-block:: bash

environment_python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./environment_osx.yml

0 commit comments

Comments
 (0)