forked from aiidateam/aiida-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.readthedocs.yml
34 lines (29 loc) · 871 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
version: 2
# Important: we need to disable all unneeded formats.
# Note that HTML and JSON are always built: https://docs.readthedocs.io/en/latest/yaml-config.html#formats
# Especially, the 'htmlzip' format takes a LOT of memory and causes the build to fail - see our issue #1472:
# https://github.com/aiidateam/aiida-core/issues/1472
formats: []
build:
apt_packages:
- graphviz
os: ubuntu-22.04
tools:
python: "3.10"
# Need to install the package itself such that the entry points are installed and the API doc can build properly
python:
install:
- method: pip
path: .
extra_requirements:
- docs
- tests
- rest
- atomic_tools
# Let the build fail if there are any warnings
sphinx:
builder: html
fail_on_warning: true
search:
ranking:
reference/apidoc/*: -7