forked from ploomber/ploomber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadthedocs.yaml
34 lines (28 loc) · 874 Bytes
/
readthedocs.yaml
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
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Regadring the pip._internal.index bug:
# https://stackoverflow.com/q/59846065/709975
version: 2
build:
os: "ubuntu-22.04"
tools:
python: "miniconda3-4.7"
jobs:
pre_create_environment:
- conda update --yes --quiet --name=base --channel=defaults conda
sphinx:
configuration: doc/conf.py
formats: all
# create conda env from that file
conda:
environment: doc/environment.yml
# install package with pip[all] from this directory
# no longer installing here since read the docs uses --upgrade-strategy eager
# which breaks the build due to nbsphinx incompatibility with jinja2>=3.0.0
# installing in doc/environment.yml instead
# python:
# install:
# - method: pip
# path: .
# extra_requirements:
# - all