Skip to content

Commit

Permalink
add readthedocs common environment link (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle authored Jul 12, 2022
1 parent a686aae commit 1e3990f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ build:
# perform a "git fetch --unshallow" when the cf-units repo
# becomes incomplete i.e., there is a .git/shallow.
- git fetch --all
pre_install:
# 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

conda:
environment: requirements/cf-units.yml
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

- [Overview](#overview)
- [Example](#example)
- [Get in touch](#get-in-touch)
- [Credits, copyright and license](#credits-copyright-and-license)
- [Get in Touch](#get-in-touch)
- [Credits, Copyright and License](#credits-copyright-and-license)

## Overview

Expand Down

0 comments on commit 1e3990f

Please sign in to comment.