Docs: fix sphinx (win) could not handle spaces in path

This commit is contained in:
neofelis2X
2025-02-08 14:24:54 +01:00
parent aa5d3f0996
commit fe7ad1a0a1

View File

@@ -1182,7 +1182,7 @@ def cmd_sphinx(options, args):
htmlDir = os.path.join(phoenixDir(), 'docs', 'html')
sphinx_log = os.path.join(htmlDir, 'warnings', 'sphinx_warnings.log')
runcmd('{} -m sphinx --builder html --color --warning-file {} \
runcmd('"{}" -m sphinx --builder html --color --warning-file {} \
--doctree-dir {}/doctrees . {}'.format(PYTHON, sphinx_log, buildDir, htmlDir))
del pwd2