Skip to content

Commit b5b805b

Browse files
committed
pdf/conf.py: build PDF without module index.
1 parent 8b59125 commit b5b805b

File tree

2 files changed

+11
-30
lines changed

2 files changed

+11
-30
lines changed

conf.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,22 @@
182182
'tarantoolc': ('http://tarantool.github.io/tarantool-c/', None)
183183
}
184184

185+
# Grouping the document tree into LaTeX files. List of tuples
186+
# (source start file, target name, title, author, documentclass
187+
# [howto/manual]).
188+
latex_documents = [
189+
('pdf_toc', 'tarantool.tex', u'Tarantool Documentation', u'', 'manual'),
190+
]
191+
185192
latex_elements = {
186193
'fontenc': r'\usepackage[T1,T2A]{fontenc}',
187194
'hyperref': r'\usepackage[pdftex,pagebackref=true,backref=true,bookmarksopenlevel=1,colorlinks=true,linkcolor=blue,filecolor=magenta,urlcolor=cyan]{hyperref}',
188195
'extraclassoptions': 'openany',
189196
}
190197

198+
latex_domain_indices = False
199+
200+
191201
intersphinx_cache_limit = 0
192202

193203
# Localization options
@@ -203,4 +213,4 @@
203213
r'http://127\.0\.0\.1(:\d+)?',
204214
r'https?://github\.com',
205215
r'https?://www.tarantool.io/en/doc/latest/reference/reference_lua/box_slab/.*#.*',
206-
]
216+
]

pdf/conf.py

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
11
exec(open('../conf.py').read())
22

33
locale_dirs = ['../locale']
4-
5-
# Grouping the document tree into LaTeX files. List of tuples
6-
# (source start file, target name, title, author, documentclass
7-
# [howto/manual]).
8-
latex_documents = [
9-
('pdf_toc', 'tarantool.tex', u'Tarantool Documentation', u'', 'manual'),
10-
]
11-
12-
extensions = [
13-
'myst_parser',
14-
'sphinx.ext.todo',
15-
'sphinx.ext.imgmath',
16-
'sphinx.ext.ifconfig',
17-
'sphinx.ext.intersphinx',
18-
'sphinx.ext.extlinks',
19-
'sphinxcontrib.plantuml',
20-
'sphinxcontrib.rsvgconverter',
21-
'ext.custom',
22-
'ext.LuaDomain',
23-
'ext.LuaLexer',
24-
'ext.TapLexer',
25-
'ext.TarantoolSessionLexer',
26-
'ext.DropdownList',
27-
'ext.WebPageSection',
28-
'ext.WebPageButtons',
29-
'ext.ModuleBlock',
30-
'ext.DownloadPageBlock'
31-
]
32-

0 commit comments

Comments
 (0)