mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Temporarily disable index generation pending refactoring
This commit is contained in:
parent
a37fe4b717
commit
8a275f7def
2 changed files with 4 additions and 3 deletions
|
|
@ -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.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 @@ def __call__(self):
|
|||
# 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 @@ def __call__(self):
|
|||
self.resolve_links()
|
||||
|
||||
# For an index, we now want to append the index object
|
||||
index.generate()
|
||||
# index.generate()
|
||||
|
||||
self.styles.cascade(self.layers)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue