Skip to content

Commit 1787dc4

Browse files
author
Sylvain MARIE
committed
Fixed mkdocs error in nox
1 parent 2f9932c commit 1787dc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ def docs(session: PowerSession):
161161

162162
if session.posargs:
163163
# use posargs instead of "serve"
164-
session.run2("mkdocs -f ./docs/mkdocs.yml %s" % " ".join(session.posargs))
164+
session.run2("mkdocs %s" % " ".join(session.posargs))
165165
else:
166-
session.run2("mkdocs serve -f ./docs/mkdocs.yml")
166+
session.run2("mkdocs serve")
167167

168168

169169
@power_session(python=[PY37])

0 commit comments

Comments
 (0)