Skip to content

Commit 02bef69

Browse files
committed
changed so not to use localhost so it can be server public
1 parent 4c8a6ed commit 02bef69

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

noxfile.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ def build(session, autobuild=False):
1616
shutil.rmtree("build", ignore_errors=True)
1717

1818
if autobuild:
19-
command = "sphinx-autobuild"
19+
session.run("sphinx-autobuild","-H0.0.0.0", "-W", "-b", "html", "source", "build")
2020
else:
21-
command = "sphinx-build"
22-
23-
session.run(command, "-W", "-b", "html", "source", "build")
21+
session.run("sphinx-build", "-W", "-b", "html", "source", "build")
2422

2523

2624
@nox.session(py="3")

0 commit comments

Comments
 (0)