Skip to content

Commit 45fd099

Browse files
committed
cleanup: coalesce install strategies of docs requirements
1 parent e5ede8c commit 45fd099

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

docs/requirements.txt

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

noxfile.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
@nox.session
77
def changelog(session):
88
"""Run github activity on this repository with the current repo."""
9-
session.install("-r", "requirements.txt")
109
session.install("-e", ".")
1110

1211
# Run github activity and re-use the posargs
@@ -18,7 +17,6 @@ def changelog(session):
1817
def docs(session):
1918
"""Run github activity on this repository with the current repo."""
2019
session.install("-e", ".[sphinx]")
21-
session.install("-r", "docs/requirements.txt")
2220

2321
if "live" in session.posargs:
2422
session.install("sphinx-autobuild")
@@ -38,7 +36,6 @@ def docs(session):
3836
@nox.session
3937
def test(session):
4038
"""Run github activity on this repository with the current repo."""
41-
session.install("-r", "requirements.txt")
4239
session.install("-e", ".[testing]")
4340

4441
# Run github activity and re-use the posargs

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ testing = [
2828
"pytest-regressions",
2929
]
3030
sphinx = [
31-
"sphinx",
3231
"myst_parser",
33-
"sphinx_book_theme",
32+
"sphinx>=5",
33+
"sphinx-design",
34+
"sphinx_book_theme>=1",
3435
]
3536

3637
[project.scripts]

0 commit comments

Comments
 (0)