forked from shapely/shapely
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.readthedocs.yml
35 lines (29 loc) · 789 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
25
26
27
28
29
30
31
32
33
34
35
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
build:
os: "ubuntu-20.04"
tools:
python: "mambaforge-4.10"
jobs:
post_checkout:
# we need the tags for versioneer to work
- git fetch origin --depth 150
- git fetch --tags
pre_install:
# to avoid "dirty" version
- git update-index --assume-unchanged docs/environment.yml docs/conf.py
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
fail_on_warning: false
# Optionally build your docs in additional formats such as PDF and ePub
formats: all
conda:
environment: docs/environment.yml
python:
install:
- method: pip
path: .