Skip to content

Commit

Permalink
Run sphinx with the target Python, not whatever happens to be on the …
Browse files Browse the repository at this point in the history
…PATH
  • Loading branch information
RobinD42 committed Sep 27, 2019
1 parent f76a71a commit 38d64b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Expand Up @@ -1093,7 +1093,7 @@ def cmd_sphinx(options, args):
pwd2 = pushDir(sphinxDir)
buildDir = os.path.join(sphinxDir, 'build')
htmlDir = os.path.join(phoenixDir(), 'docs', 'html')
runcmd('sphinx-build -b html -d %s/doctrees . %s' % (buildDir, htmlDir))
runcmd('{} -m sphinx -b html -d {}/doctrees . {}'.format(PYTHON, buildDir, htmlDir))
del pwd2

msg('Postprocessing sphinx output...')
Expand Down

0 comments on commit 38d64b3

Please sign in to comment.