mirror of
https://projects.blender.org/infrastructure/gitea-custom.git
synced 2024-12-22 07:13:09 -05:00
Fix sphinx-build not found in Python venv
This commit is contained in:
parent
fb314545c6
commit
8b39413afc
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ with tempfile.TemporaryDirectory() as tmp_dir:
|
|||
out_dir = work_dir / "out"
|
||||
out_filepath = out_dir / "contents.html"
|
||||
|
||||
sphinx_cmd = ["sphinx-build", "-b", "html", work_dir, out_dir]
|
||||
sphinx_build = script_dir / "venv" / "bin" / "sphinx-build"
|
||||
sphinx_cmd = [sphinx_build, "-b", "html", work_dir, out_dir]
|
||||
result = subprocess.run(sphinx_cmd, capture_output=True)
|
||||
|
||||
# Output errors.
|
||||
|
|
Loading…
Reference in a new issue