Skip to content

Commit 9c35e23

Browse files
committed
Reduce rtd build memory consumption using mamba
1 parent 6fcee19 commit 9c35e23

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.readthedocs.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
1-
# .readthedocs.yml
21
# Read the Docs configuration file
2+
# https://docs.readthedocs.io/en/stable/config-file/v2.html
33
version: 2
44

5+
# Build config
6+
# https://docs.readthedocs.io/en/stable/guides/conda.html#making-builds-faster-with-mamba
7+
build:
8+
os: "ubuntu-20.04"
9+
image: latest
10+
tools:
11+
python: "mambaforge-4.10"
12+
513
# Sphinx config
614
sphinx:
715
builder: html
816
configuration: docs/conf.py
917

1018
# Python config
11-
build:
12-
image: latest
1319
python:
1420
version: 3.6
1521
system_packages: true
22+
23+
# Environment config
1624
conda:
1725
environment: docs/environment.yml

0 commit comments

Comments
 (0)