mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Temporarily disable index generation pending refactoring
This commit is contained in:
parent
a37fe4b717
commit
8a275f7def
@ -19,6 +19,7 @@ class DOCXInput(InputFormatPlugin):
|
||||
help=_('Normally, if a large image is present at the start of the document that looks like a cover, '
|
||||
'it will be removed from the document and used as the cover for created ebook. This option '
|
||||
'turns off that behavior.')),
|
||||
|
||||
}
|
||||
|
||||
recommendations = set([('page_breaks_before', '/', OptionRecommendation.MED)])
|
||||
|
@ -28,7 +28,7 @@ from calibre.ebooks.docx.theme import Theme
|
||||
from calibre.ebooks.docx.toc import create_toc
|
||||
from calibre.ebooks.docx.fields import Fields
|
||||
from calibre.ebooks.docx.settings import Settings
|
||||
from calibre.ebooks.docx.index import Index
|
||||
# from calibre.ebooks.docx.index import Index
|
||||
from calibre.ebooks.metadata.opf2 import OPFCreator
|
||||
from calibre.utils.localization import canonicalize_lang, lang_as_iso639_1
|
||||
|
||||
@ -102,7 +102,7 @@ class Convert(object):
|
||||
# If we are doing an index, do the body part of the processing here.
|
||||
# We need to insert bookmarks at the indexed locations before the
|
||||
# main conversion work.
|
||||
index = Index(self)
|
||||
# index = Index(self)
|
||||
|
||||
self.read_page_properties(doc)
|
||||
self.current_rels = relationships_by_id
|
||||
@ -170,7 +170,7 @@ class Convert(object):
|
||||
self.resolve_links()
|
||||
|
||||
# For an index, we now want to append the index object
|
||||
index.generate()
|
||||
# index.generate()
|
||||
|
||||
self.styles.cascade(self.layers)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user