mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-16 07:55:54 +01:00
Proper exclusion of the unused index document
This commit is contained in:
parent
e8304084df
commit
25691fc189
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@
|
|||
# The master toctree document.
|
||||
master_doc = 'index' if tags.has('online') else 'simple_index' # noqa
|
||||
# kill the warning about index/simple_index not being in a toctree
|
||||
exclude_patterns = ['simple_index.rst'] if master_doc == 'index' else ['index']
|
||||
exclude_patterns = ['simple_index.rst'] if master_doc == 'index' else ['index.rst']
|
||||
|
||||
# The language
|
||||
language = os.environ.get('CALIBRE_OVERRIDE_LANG', 'en')
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, document class [howto/manual]).
|
||||
latex_documents = [('index', 'calibre.tex', 'calibre User Manual',
|
||||
latex_documents = [(master_doc, 'calibre.tex', 'calibre User Manual',
|
||||
'Kovid Goyal', 'manual', False)]
|
||||
|
||||
# Additional stuff for the LaTeX preamble.
|
||||
|
|
|
|||
Loading…
Reference in a new issue