mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
epub has duplicated nav.xhtml link except first time
This commit is contained in:
parent
1c4112b9cc
commit
b1808e7cd5
2
CHANGES
2
CHANGES
@ -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
|
||||
--------
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user