epub has duplicated nav.xhtml link except first time

This commit is contained in:
Yoshiki Shibukawa committed 2017-02-27 07:58:56 +09:00
1 parent 1c4112b9cc
commit b1808e7cd5
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ Bugs fixed
* #3445: setting ``'inputenc'`` key to ``\\usepackage[utf8x]{inputenc}`` leads
to failed PDF build
* EPUB file has duplicated ``nav.xhtml`` link in ``content.opf``
except first time build
Testing
--------
+1 -1
View File
@@ -570,7 +570,7 @@ class EpubBuilder(StandaloneHTMLBuilder):
self.ignored_files = ['.buildinfo', 'mimetype', 'content.opf',
'toc.ncx', 'META-INF/container.xml',
'Thumbs.db', 'ehthumbs.db', '.DS_Store',
self.config.epub_basename + '.epub'] + \
'nav.xhtml', self.config.epub_basename + '.epub'] + \
self.config.epub_exclude_files
if not self.use_index:
self.ignored_files.append('genindex' + self.out_suffix)