Skip to content

Commit 5e0b48f

Browse files
committed
#2818 fix RTD build error
1 parent 12ac6d8 commit 5e0b48f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.readthedocs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@ sphinx:
1111

1212
# Optionally set the version of Python and requirements required to build your docs
1313
python:
14-
version: 3.7
14+
version: 3.9
1515
install:
1616
- requirements: docs/requirements.txt
1717
# docs/conf.py is importing mongoengine
1818
# so mongoengine needs to be installed as well
1919
- method: setuptools
2020
path: .
21+
22+
# Specify the build environment
23+
build:
24+
os: ubuntu-22.04
25+
tools:
26+
python: "3.9"

0 commit comments

Comments
 (0)