Skip to content

Commit d921219

Browse files
authored
docs: migrate .readthedocs.yml to configuration file v2 (#689)
* docs: set version: 2 in .readthedocs.yml * move requirement file to python.requirements * remove pip_install: true * change build.image to build.os * fix requirement docs name
1 parent e596b74 commit d921219

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.readthedocs.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
# Use of this source code is governed by a BSD-style
33
# license that can be found in the LICENSE file.
44

5-
requirements_file: docs/requirements-docs.txt
5+
# .readthedocs.yaml
6+
# Read the Docs configuration file
7+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
8+
9+
version: 2
10+
611
build:
7-
image: latest
12+
os: ubuntu-22.04
13+
tools:
14+
python: "3.11"
15+
816
python:
9-
pip_install: true
10-
version: 3.8
17+
install:
18+
- requirements: docs/requirements-docs.txt

0 commit comments

Comments
 (0)