forked from pytroll/satpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.readthedocs.yml
24 lines (22 loc) · 798 Bytes
/
.readthedocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/source/conf.py
fail_on_warning: true
# Optionally build your docs in additional formats such as PDF and ePub
formats: all
build:
os: "ubuntu-20.04"
tools:
python: "mambaforge-4.10"
jobs:
post_checkout:
- git fetch --tags
pre_install:
- git update-index --assume-unchanged doc/rtd_environment.yml doc/source/conf.py
pre_build:
- cd doc/source && if [ "$READTHEDOCS_VERSION" = "latest" ] || [ "$READTHEDOCS_VERSION" = "stable" ]; then python generate_area_def_list.py; else touch area_def_list.rst; fi
conda:
environment: doc/rtd_environment.yml