Skip to content

Commit 035e679

Browse files
Pass sphinx-build to the Makefile for building docs from venv python
1 parent 72d9508 commit 035e679

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/rebuild_docs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
if args.warnings_as_errors:
6060
cmdargs.append('SPHINXOPTS="-W"')
6161

62+
sphinx_build = shutil.which("sphinx-build")
63+
cmdargs.append(f"SPHINXBUILD={sphinx_build}")
6264
subprocess.check_call(cmdargs)
6365

6466
# Copy

0 commit comments

Comments
 (0)