mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3ba4f7d607
commit
40e2807604
@ -84,6 +84,8 @@ class Manual(Command):
|
|||||||
subprocess.check_call(['sphinx-build2', '-b', 'html', '-t', 'online',
|
subprocess.check_call(['sphinx-build2', '-b', 'html', '-t', 'online',
|
||||||
'-d', '.build/doctrees', '.', '.build/html'])
|
'-d', '.build/doctrees', '.', '.build/html'])
|
||||||
with self:
|
with self:
|
||||||
|
# This is needed as without it the ToC is doubled in EPUB and
|
||||||
|
# the both the ToC and the content is doubled in PDF
|
||||||
subprocess.check_call(['sphinx-build', '-b', 'myepub', '-d',
|
subprocess.check_call(['sphinx-build', '-b', 'myepub', '-d',
|
||||||
'.build/doctrees', '.', '.build/epub'])
|
'.build/doctrees', '.', '.build/epub'])
|
||||||
subprocess.check_call(['sphinx-build', '-b', 'mylatex', '-d',
|
subprocess.check_call(['sphinx-build', '-b', 'mylatex', '-d',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user