forked from SciTools/iris-grib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yml
More file actions
31 lines (27 loc) · 758 Bytes
/
Copy path.readthedocs.yml
File metadata and controls
31 lines (27 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: 2
build:
os: ubuntu-20.04
tools:
python: mambaforge-4.10
jobs:
post_checkout:
# The SciTools/iris-grib repository is shallow i.e., has a .git/shallow,
# therefore complete the repository with a full history in order
# to allow setuptools-scm to correctly auto-discover the version.
- git fetch --unshallow
- git fetch --all
# Need to stash the local changes that Read the Docs makes so that
# setuptools_scm can generate the correct Iris-grib version.
pre_install:
- git stash
post_install:
- git stash pop
conda:
environment: requirements/readthedocs.yml
sphinx:
configuration: docs/conf.py
fail_on_warning: false
python:
install:
- method: pip
path: .