Skip to content

Commit

Permalink
Make the noxfile support passing a less temporary directory for build…
Browse files Browse the repository at this point in the history
…ing docs.
  • Loading branch information
Julian committed Aug 2, 2023
1 parent a7ebc41 commit b3f9d0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,16 @@ def docs(session, builder):
argv = ["-n", "-T", "-W"]
if builder != "spelling":
argv += ["-q"]
posargs = session.posargs or [tmpdir / builder]
session.run(
"python",
"-m",
"sphinx",
"-b",
builder,
DOCS,
tmpdir / builder,
*argv,
*posargs,
)


Expand Down

0 comments on commit b3f9d0e

Please sign in to comment.