mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use python 2 version of sphinx-build
This commit is contained in:
parent
5a57212647
commit
6830bbdfe1
@ -81,7 +81,7 @@ class Manual(Command):
|
|||||||
os.makedirs('.build'+os.sep+'html')
|
os.makedirs('.build'+os.sep+'html')
|
||||||
os.environ['__appname__'] = __appname__
|
os.environ['__appname__'] = __appname__
|
||||||
os.environ['__version__'] = __version__
|
os.environ['__version__'] = __version__
|
||||||
subprocess.check_call(['sphinx-build', '-b', 'html', '-t', 'online',
|
subprocess.check_call(['sphinx-build2', '-b', 'html', '-t', 'online',
|
||||||
'-d', '.build/doctrees', '.', '.build/html'])
|
'-d', '.build/doctrees', '.', '.build/html'])
|
||||||
subprocess.check_call(['sphinx-build', '-b', 'myepub', '-d',
|
subprocess.check_call(['sphinx-build', '-b', 'myepub', '-d',
|
||||||
'.build/doctrees', '.', '.build/epub'])
|
'.build/doctrees', '.', '.build/epub'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user