Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
with:
python-version: "3.14"
cache: 'pip'
cache-dependency-path: 'requirements.txt'
cache-dependency-path: 'pyproject.toml'

- name: Install dependencies
run: |
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ build:

python:
install:
- requirements: requirements.txt
- method: uv
command: sync
groups:
- docs
10 changes: 5 additions & 5 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def translation(session):
"""
Build the gettext .pot files.
"""
session.install("-r", "requirements.txt")
session.install("--group", "docs")
target_dir = "locales"
session.run(
"sphinx-build",
Expand All @@ -34,7 +34,7 @@ def build(session, autobuild=False):
"""
Make the website.
"""
session.install("-r", "requirements.txt")
session.install("--group", "docs")

if autobuild:
command = "sphinx-autobuild"
Expand Down Expand Up @@ -78,7 +78,7 @@ def linkcheck(session):
"""
Check for broken links.
"""
session.install("-r", "requirements.txt")
session.install("--group", "docs")
if base := os.getenv("LINKCHECK_BASE_REF"):
session.run(
"python",
Expand Down Expand Up @@ -108,7 +108,7 @@ def linkcheck(session):
@nox.session()
def tests(session):
"""Test the linkcheck CI helpers and their Sphinx integration."""
session.install("-r", "requirements.txt", "pytest>=8,<10")
session.install("--group", "test")
session.run("python", "-m", "pytest", "tests", *session.posargs)


Expand All @@ -132,6 +132,6 @@ def sphinx_lint(session):
Check for reST format issues in source rst files,
accepting another path as positional argument.
"""
session.install("sphinx-lint==1.0.2")
session.install("--group", "lint")
target = session.posargs or ["source"]
session.run("sphinx-lint", *target)
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[dependency-groups]
docs = [
'furo == 2025.12.19',
'sphinx == 9.2.0',
'sphinx-autobuild == 2025.8.25',
'sphinx-inline-tabs == 2025.12.21.14',
'sphinx-copybutton == 0.5.2',
'sphinx-issues == 6.0.0',
'sphinx-toolbox == 4.3.1',
'sphinx-jsonschema == 1.20.1',
'sphinx-notfound-page == 1.1.0',
'sphinx-reredirects == 1.1.0',
]
lint = ['sphinx-lint == 1.0.2']
test = ['pytest >=8,<10']
10 changes: 0 additions & 10 deletions requirements.txt

This file was deleted.

Loading