This commit is contained in:
Kovid Goyal 2014-07-11 16:31:46 +05:30
parent 3ba4f7d607
commit 40e2807604

View File

@ -84,6 +84,8 @@ class Manual(Command):
subprocess.check_call(['sphinx-build2', '-b', 'html', '-t', 'online',
'-d', '.build/doctrees', '.', '.build/html'])
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',
'.build/doctrees', '.', '.build/epub'])
subprocess.check_call(['sphinx-build', '-b', 'mylatex', '-d',