Skip to content

Commit 40c88a9

Browse files
committed
readthedocs.yml: try to fix
1 parent 97af0a8 commit 40c88a9

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ python:
1212
install:
1313
- method: pip
1414
path: .
15-
extra_requirements:
15+
extras:
1616
- docs
1717

1818
formats:

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,17 @@ classifiers = [
3939
dependencies = [
4040
"pytest>=7.0.0",
4141
]
42+
[project.optional-dependencies]
43+
# .readthedocs.yml doesn't support dependency groups yet, so duplicate the docs
44+
# group as an extra. Can be removed once RTD supports groups.
45+
docs = [
46+
"sphinx",
47+
"sphinx-rtd-theme",
48+
]
4249
[dependency-groups]
4350
docs = [
4451
"sphinx",
45-
"sphinx_rtd_theme",
52+
"sphinx-rtd-theme",
4653
]
4754
testing = [
4855
"Django",

0 commit comments

Comments
 (0)