Skip to content

Commit 49dd2c6

Browse files
Improve .readthedocs.yaml config file (#382)
1 parent fd878dd commit 49dd2c6

3 files changed

Lines changed: 14 additions & 7 deletions

File tree

.readthedocs.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33

44
version: 2
55
build:
6-
os: ubuntu-22.04
6+
os: ubuntu-lts-latest
77
tools:
8-
python: "3.12"
8+
python: latest
99
sphinx:
1010
configuration: docs/conf.py
1111
python:
12-
install:
13-
- requirements: docs/requirements.txt
12+
install:
13+
- method: pip
14+
path: .
15+
extra_requirements:
16+
- doc

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,17 @@ dev = [
5050
"build>=0.10.0",
5151
"Sphinx>=6.0.0",
5252
"sphinx-autobuild>=2021.3.14",
53-
"sphinxcontrib-fulltoc>=1.2.0",
53+
"sphinxcontrib-fulltoc>=1.2.0",
5454
"build>=0.10.0",
5555
"twine>=4.0.2",
5656
]
5757

58+
doc = [
59+
"Sphinx>=6.0.0",
60+
"sphinx-autobuild>=2021.3.14",
61+
"sphinxcontrib-fulltoc>=1.2.0",
62+
]
63+
5864
[project.urls]
5965
Homepage = "https://github.com/linode/linode_api4-python"
6066
Documentation = "https://linode-api4.readthedocs.io/"

0 commit comments

Comments
 (0)