Skip to content

Commit 1e3990f

Browse files
authored
add readthedocs common environment link (#275)
1 parent a686aae commit 1e3990f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.readthedocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ build:
1010
# perform a "git fetch --unshallow" when the cf-units repo
1111
# becomes incomplete i.e., there is a .git/shallow.
1212
- git fetch --all
13+
pre_install:
14+
# create a "common" link to the underlying rtd conda environment,
15+
# which maybe named "latest", "stable" or the cf-units version
16+
- ln -s ${CONDA_ENVS_PATH}/${CONDA_DEFAULT_ENV} ${CONDA_ENVS_PATH}/common
1317

1418
conda:
1519
environment: requirements/cf-units.yml

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535

3636
- [Overview](#overview)
3737
- [Example](#example)
38-
- [Get in touch](#get-in-touch)
39-
- [Credits, copyright and license](#credits-copyright-and-license)
38+
- [Get in Touch](#get-in-touch)
39+
- [Credits, Copyright and License](#credits-copyright-and-license)
4040

4141
## Overview
4242

0 commit comments

Comments
 (0)