Skip to content

Commit

Permalink
Fix sphinx-autobuild infinite loop bug (#31)
Browse files Browse the repository at this point in the history
* Fix sphinx-autobuild infinite loop bug

* satisfy linter

* satisfy linter - try2

* satisfy linter - try 3

---------

Co-authored-by: Altay Sansal <tasansal@users.noreply.github.com>
  • Loading branch information
bckohan and tasansal authored Mar 6, 2024
1 parent e55c0a1 commit 9eaa4ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,11 @@ def docs_build(session: Session) -> None:
@session(python=python_versions[0])
def docs(session: Session) -> None:
"""Build and serve the documentation with live reloading on file changes."""
args = session.posargs or ["--open-browser", "docs", "docs/_build"]
ignore = [
"docs/jupyter_execute/tutorials/quickstart.ipynb",
]
args = ["--open-browser", "docs", "docs/_build", "--ignore", *ignore]
args = session.posargs or args
session.install(".")
session.install(
"sphinx",
Expand Down

0 comments on commit 9eaa4ed

Please sign in to comment.