Skip to content

Commit

Permalink
Merge pull request #3322 from kratman/bug/noxDocsError
Browse files Browse the repository at this point in the history
Remove with clause in docs session for backwards compatibility
  • Loading branch information
Saransh-cpp authored Sep 12, 2023
2 parents 261b44b + 9363ada commit ec5383c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,16 @@ def build_docs(session):
"""Build the documentation and load it in a browser tab, rebuilding on changes."""
envbindir = session.bin
session.install("-e", ".[all,docs]")
with session.chdir("docs/"):
session.run(
"sphinx-autobuild",
"-j",
"auto",
"--open-browser",
"-qT",
".",
f"{envbindir}/../tmp/html",
)
session.chdir("docs")
session.run(
"sphinx-autobuild",
"-j",
"auto",
"--open-browser",
"-qT",
".",
f"{envbindir}/../tmp/html",
)


@nox.session(name="pre-commit")
Expand Down

0 comments on commit ec5383c

Please sign in to comment.