Skip to content

Commit ccf40a8

Browse files
committed
update readthedocs.yml to v2
1 parent 90f4434 commit ccf40a8

File tree

1 file changed

+39
-5
lines changed

1 file changed

+39
-5
lines changed

readthedocs.yml

+39-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,41 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.9"
13+
14+
# Build documentation in the docs/ directory with Sphinx
15+
sphinx:
16+
configuration: docs/sphinx/source/conf.py
17+
18+
# If using Sphinx, optionally build your docs in additional formats such as PDF
19+
# formats:
20+
# - pdf
21+
22+
# Optionally declare the Python requirements required to build your docs
123
python:
2-
version: 3
3-
# only use the packages specified in setup.py
4-
use_system_site_packages: false
5-
pip_install: true
24+
install:
25+
# - requirements: docs/requirements.txt
26+
- method: pip
27+
path: .
628
extra_requirements:
7-
- doc
29+
- docs
30+
31+
# python.version deprecated in v2 replaced by build.tools.python
32+
# version: 3
33+
34+
# setup_py_install replaced by python.install in v2
35+
# only use the packages specified in setup.py
36+
37+
# renamed to python.system_packages in v2
38+
# use_system_site_packages: false
39+
40+
# replaced by python.install in v2
41+
# pip_install: true

0 commit comments

Comments
 (0)