Skip to content

Commit 3a24064

Browse files
deps: bump doc dependencies
1 parent d473660 commit 3a24064

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ formats:
66
build:
77
os: ubuntu-24.04
88
tools:
9-
python: "3.8"
9+
python: "3.11"
1010
jobs:
1111
create_environment:
1212
- asdf plugin add uv
1313
- asdf install uv latest
1414
- asdf global uv latest
15-
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --no-default-groups --extra docs
15+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --no-default-groups --group docs
1616
install:
1717
- "true"
1818

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ def __post_init__(self) -> None:
8888
# docs and pyright
8989
ExecutionGroup(
9090
sessions=("docs", "pyright"),
91+
python="3.11",
9192
pyright_paths=("docs",),
92-
extras=("docs",),
93+
groups=("docs",),
9394
),
9495
# codemodding and pyright
9596
ExecutionGroup(

pyproject.toml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@ voice = [
5656
"PyNaCl>=1.5.0,<1.6",
5757
'audioop-lts>=0.2.1; python_version >= "3.13"'
5858
]
59-
docs = [
60-
"sphinx==7.0.1",
61-
"sphinxcontrib-trio~=1.1.2",
62-
"sphinx-hoverxref==1.3.0",
63-
"sphinx-autobuild~=2021.3",
64-
"sphinxcontrib-towncrier==0.3.2a0",
65-
"towncrier==23.6.0",
66-
"sphinx-notfound-page==0.8.3",
67-
"sphinxext-opengraph==0.9.1",
68-
]
6959

7060
[dependency-groups]
7161
dev = [
@@ -75,6 +65,7 @@ dev = [
7565
{ include-group = "typing" },
7666
{ include-group = "test" },
7767
{ include-group = "build" },
68+
{ include-group = "docs" },
7869
]
7970
nox = [
8071
# note: nox should be synced with nox.needs_version in noxfile.py
@@ -93,6 +84,16 @@ tools = [
9384
changelog = [
9485
"towncrier==23.6.0",
9586
]
87+
docs = [
88+
"sphinx==8.2.3",
89+
"sphinx-autobuild~=2025.8.25",
90+
"sphinx-hoverxref==1.4.2",
91+
"sphinx-notfound-page==1.1.0",
92+
"sphinxcontrib-towncrier==0.5.0a0",
93+
"sphinxcontrib-trio~=1.1.2",
94+
"sphinxext-opengraph==0.9.1",
95+
{ include-group = "changelog" }
96+
]
9697
codemod = [
9798
# run codemods on the repository (mostly automated typing)
9899
"libcst~=1.1.0",
@@ -124,6 +125,9 @@ include = ["disnake*"]
124125
[tool.uv]
125126
required-version = ">=0.8.4"
126127

128+
[tool.uv.dependency-groups]
129+
docs = { requires-python = ">=3.11" }
130+
127131
[tool.ruff]
128132
line-length = 100
129133

0 commit comments

Comments
 (0)