Skip to content

Commit d16c085

Browse files
committed
DOC: Pin the readthedocs OS and Python version
1 parent e3ba4cf commit d16c085

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.readthedocs.yml

+14-6
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,23 @@ version: 2
77

88
# Build documentation in the docs/ directory with Sphinx
99
sphinx:
10-
configuration: docs/conf.py
10+
configuration: docs/conf.py
11+
12+
# Configuration for the documentation build process.
13+
# This allows you to specify the base Read the Docs image used to build the documentation,
14+
# and control the versions of several tools: Python, Node.js, Rust, and Go.
15+
build:
16+
os: ubuntu-22.04
17+
tools:
18+
python: "3.11"
1119

1220
# Optionally build your docs in additional formats such as PDF
1321
formats: all
1422

1523
# Optionally set the version of Python and requirements required to build your docs
1624
python:
17-
install:
18-
- method: pip
19-
path: .
20-
extra_requirements:
21-
- doc
25+
install:
26+
- method: pip
27+
path: .
28+
extra_requirements:
29+
- doc

0 commit comments

Comments
 (0)