Skip to content

Commit fdbe762

Browse files
committed
Install pip within docs Nox sessions
The documentation depends on the pip source which should be as up to date as possible.
1 parent 8e227a9 commit fdbe762

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def test(session: nox.Session) -> None:
129129

130130
@nox.session
131131
def docs(session: nox.Session) -> None:
132+
session.install("-e", ".")
132133
session.install("--group", "docs")
133134

134135
def get_sphinx_build_command(kind: str) -> list[str]:
@@ -158,6 +159,7 @@ def get_sphinx_build_command(kind: str) -> list[str]:
158159

159160
@nox.session(name="docs-live")
160161
def docs_live(session: nox.Session) -> None:
162+
session.install("-e", ".")
161163
session.install("--group", "docs", "sphinx-autobuild")
162164

163165
session.run(

0 commit comments

Comments
 (0)