Skip to content

Commit 44c9946

Browse files
committed
add support for sphinx 9.0
1 parent de4eec2 commit 44c9946

File tree

4 files changed

+173
-128
lines changed

4 files changed

+173
-128
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
os: [ ubuntu-latest ]
1616
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
17-
sphinx-version: [ "8.1", "8.2" ]
17+
sphinx-version: [ "8.1", "8.2", "9.0" ]
1818
exclude:
1919
- python-version: "3.10"
2020
sphinx-version: "8.2"

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build:
2121
- asdf install uv 0.9.2
2222
- asdf global uv 0.9.2
2323
install:
24-
- uv sync
24+
- uv sync --group dev --group rtd
2525
pre_build:
2626
- ./fetch_swagger.sh
2727
- uv run generate-schema.py

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ conflicts = [
122122
{ group = "Sphinx8.2" },
123123
{ group = "Sphinx9.0" },
124124
],
125+
[ { group = "Sphinx9.0" }, { group = "rtd" } ]
125126
]
126127

127128
[dependency-groups]
@@ -134,14 +135,15 @@ dev = [
134135
"pytest-random-order>=1.1.1",
135136
"pytest-subprocess>=1.5.3",
136137
"ruff>=0.11.10",
137-
"sphinx-rtd-theme>=3.0.2",
138138
"sphinxcontrib-spelling>=8.0.1",
139139
"types-colorama>=0.4.15.20250801",
140140
"types-docutils>=0.21.0.20250604",
141141
"types-pyyaml>=6.0.12.20250516",
142142
]
143+
rtd = [
144+
"sphinx-rtd-theme>=3.0.2",
145+
]
143146

144147
"Sphinx8.1" = [ "Sphinx~=8.1.0;python_version<'3.11'" ]
145148
"Sphinx8.2" = [ "Sphinx~=8.2.0;python_version>='3.11'" ]
146-
# Not working b/c of RTD theme ATM
147-
#"Sphinx9.0" = [ "Sphinx~=9.0.0;python_version>='3.11'" ]
149+
"Sphinx9.0" = [ "Sphinx~=9.0.0;python_version>='3.11'" ]

0 commit comments

Comments
 (0)