Increase the maximum recursion depth
[kohadocs.git] / en / source / conf.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 #
4 # Koha Manual documentation build configuration file, created by
5 # sphinx-quickstart on Fri Nov  4 10:07:13 2016.
6 #
7 # This file is execfile()d with the current directory set to its
8 # containing dir.
9 #
10 # Note that not all possible configuration values are present in this
11 # autogenerated file.
12 #
13 # All configuration values have a default; values that are commented out
14 # serve to show the default.
15
16 # If extensions (or modules to document with autodoc) are in another directory,
17 # add these directories to sys.path here. If the directory is relative to the
18 # documentation root, use os.path.abspath to make it absolute, like shown here.
19 #
20 # import os
21 import sys; sys.setrecursionlimit(3000)
22 # import sys
23 # sys.path.insert(0, os.path.abspath('.'))
24
25 # -- General configuration ------------------------------------------------
26
27 # If your documentation needs a minimal Sphinx version, state it here.
28 #
29 # needs_sphinx = '1.0'
30
31 # Add any Sphinx extension module names here, as strings. They can be
32 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
33 # ones.
34 extensions = [
35     'sphinx.ext.autodoc',
36     'sphinx.ext.doctest',
37     'sphinx.ext.intersphinx',
38     'sphinx.ext.coverage',
39     'sphinxcontrib.spelling',
40     'sphinx.ext.autosectionlabel',
41 ]
42
43 # Spelling options
44 spelling_lang='en_US'
45 spelling_word_list_filename='koha_spelling_wordlist.txt'
46
47 # Add any paths that contain templates here, relative to this directory.
48 templates_path = ['_templates']
49
50 # The suffix(es) of source filenames.
51 # You can specify multiple suffix as a list of string:
52 #
53 # source_suffix = ['.rst', '.md']
54 source_suffix = '.rst'
55
56 # The encoding of source files.
57 #
58 # source_encoding = 'utf-8-sig'
59
60 # The master toctree document.
61 master_doc = 'index'
62
63 # General information about the project.
64 project = 'Koha Manual'
65 copyright = '2016, Koha Community'
66 author = 'Koha Community'
67
68 # The version info for the project you're documenting, acts as replacement for
69 # |version| and |release|, also used in various other places throughout the
70 # built documents.
71 #
72 # The short X.Y version.
73 version = '17.05'
74 # The full version, including alpha/beta/rc tags.
75 release = '17.05'
76
77 # The language for content autogenerated by Sphinx. Refer to documentation
78 # for a list of supported languages.
79 #
80 # This is also used if you do content translation via gettext catalogs.
81 # Usually you set "language" from the command line for these cases.
82 language = None
83
84 # There are two options for replacing |today|: either, you set today to some
85 # non-false value, then it is used:
86 #
87 # today = ''
88 #
89 # Else, today_fmt is used as the format for a strftime call.
90 #
91 # today_fmt = '%B %d, %Y'
92
93 # List of patterns, relative to source directory, that match files and
94 # directories to ignore when looking for source files.
95 # This patterns also effect to html_static_path and html_extra_path
96 exclude_patterns = []
97
98 # The reST default role (used for this markup: `text`) to use for all
99 # documents.
100 #
101 # default_role = None
102
103 # If true, '()' will be appended to :func: etc. cross-reference text.
104 #
105 # add_function_parentheses = True
106
107 # If true, the current module name will be prepended to all description
108 # unit titles (such as .. function::).
109 #
110 # add_module_names = True
111
112 # If true, sectionauthor and moduleauthor directives will be shown in the
113 # output. They are ignored by default.
114 #
115 # show_authors = False
116
117 # The name of the Pygments (syntax highlighting) style to use.
118 pygments_style = 'sphinx'
119
120 # A list of ignored prefixes for module index sorting.
121 # modindex_common_prefix = []
122
123 # If true, keep warnings as "system message" paragraphs in the built documents.
124 # keep_warnings = False
125
126 # If true, `todo` and `todoList` produce output, else they produce nothing.
127 todo_include_todos = False
128
129
130 # -- Options for HTML output ----------------------------------------------
131
132 # The theme to use for HTML and HTML Help pages.  See the documentation for
133 # a list of builtin themes.
134 #
135 html_theme = 'default'
136
137 # Theme options are theme-specific and customize the look and feel of a theme
138 # further.  For a list of options available for each theme, see the
139 # documentation.
140 #
141 # html_theme_options = {}
142
143 # Add any paths that contain custom themes here, relative to this directory.
144 # html_theme_path = []
145
146 # The name for this set of Sphinx documents.
147 # "<project> v<release> documentation" by default.
148 #
149 # html_title = 'Koha Manual v17.05'
150
151 # A shorter title for the navigation bar.  Default is the same as html_title.
152 #
153 # html_short_title = None
154
155 # The name of an image file (relative to this directory) to place at the top
156 # of the sidebar.
157 #
158 # html_logo = None
159
160 # The name of an image file (relative to this directory) to use as a favicon of
161 # the docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
162 # pixels large.
163 #
164 # html_favicon = None
165
166 # Add any paths that contain custom static files (such as style sheets) here,
167 # relative to this directory. They are copied after the builtin static files,
168 # so a file named "default.css" will overwrite the builtin "default.css".
169 html_static_path = ['_static']
170
171 # Add any extra paths that contain custom files (such as robots.txt or
172 # .htaccess) here, relative to this directory. These files are copied
173 # directly to the root of the documentation.
174 #
175 # html_extra_path = []
176
177 # If not None, a 'Last updated on:' timestamp is inserted at every page
178 # bottom, using the given strftime format.
179 # The empty string is equivalent to '%b %d, %Y'.
180 #
181 # html_last_updated_fmt = None
182
183 # If true, SmartyPants will be used to convert quotes and dashes to
184 # typographically correct entities.
185 #
186 # html_use_smartypants = True
187
188 # Custom sidebar templates, maps document names to template names.
189 #
190 # html_sidebars = {}
191
192 # Additional templates that should be rendered to pages, maps page names to
193 # template names.
194 #
195 # html_additional_pages = {}
196
197 # If false, no module index is generated.
198 #
199 # html_domain_indices = True
200
201 # If false, no index is generated.
202 #
203 # html_use_index = True
204
205 # If true, the index is split into individual pages for each letter.
206 #
207 # html_split_index = False
208
209 # If true, links to the reST sources are added to the pages.
210 #
211 # html_show_sourcelink = True
212
213 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
214 #
215 # html_show_sphinx = True
216
217 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
218 #
219 # html_show_copyright = True
220
221 # If true, an OpenSearch description file will be output, and all pages will
222 # contain a <link> tag referring to it.  The value of this option must be the
223 # base URL from which the finished HTML is served.
224 #
225 # html_use_opensearch = ''
226
227 # This is the file name suffix for HTML files (e.g. ".xhtml").
228 # html_file_suffix = None
229
230 # Language to be used for generating the HTML full-text search index.
231 # Sphinx supports the following languages:
232 #   'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
233 #   'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh'
234 #
235 # html_search_language = 'en'
236
237 # A dictionary with options for the search language support, empty by default.
238 # 'ja' uses this config value.
239 # 'zh' user can custom change `jieba` dictionary path.
240 #
241 # html_search_options = {'type': 'default'}
242
243 # The name of a javascript file (relative to the configuration directory) that
244 # implements a search results scorer. If empty, the default will be used.
245 #
246 # html_search_scorer = 'scorer.js'
247
248 # Output file base name for HTML help builder.
249 htmlhelp_basename = 'KohaManualdoc'
250
251 # -- Options for LaTeX output ---------------------------------------------
252
253 latex_elements = {
254      # The paper size ('letterpaper' or 'a4paper').
255      #
256      # 'papersize': 'letterpaper',
257
258      # The font size ('10pt', '11pt' or '12pt').
259      #
260      # 'pointsize': '10pt',
261
262      # Additional stuff for the LaTeX preamble.
263      #
264      # 'preamble': '',
265
266      # Latex figure (float) alignment
267      #
268      # 'figure_align': 'htbp',
269 }
270
271 # Grouping the document tree into LaTeX files. List of tuples
272 # (source start file, target name, title,
273 #  author, documentclass [howto, manual, or own class]).
274 latex_documents = [
275     (master_doc, 'KohaManual.tex', 'Koha Manual Documentation',
276      'Koha Community', 'manual'),
277 ]
278
279 # The name of an image file (relative to this directory) to place at the top of
280 # the title page.
281 #
282 # latex_logo = None
283
284 # For "manual" documents, if this is true, then toplevel headings are parts,
285 # not chapters.
286 #
287 # latex_use_parts = False
288
289 # If true, show page references after internal links.
290 #
291 # latex_show_pagerefs = False
292
293 # If true, show URL addresses after external links.
294 #
295 # latex_show_urls = False
296
297 # Documents to append as an appendix to all manuals.
298 #
299 # latex_appendices = []
300
301 # It false, will not define \strong, \code,     itleref, \crossref ... but only
302 # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added
303 # packages.
304 #
305 # latex_keep_old_macro_names = True
306
307 # If false, no module index is generated.
308 #
309 # latex_domain_indices = True
310
311
312 # -- Options for manual page output ---------------------------------------
313
314 # One entry per manual page. List of tuples
315 # (source start file, name, description, authors, manual section).
316 man_pages = [
317     (master_doc, 'kohamanual', 'Koha Manual Documentation',
318      [author], 1)
319 ]
320
321 # If true, show URL addresses after external links.
322 #
323 # man_show_urls = False
324
325
326 # -- Options for Texinfo output -------------------------------------------
327
328 # Grouping the document tree into Texinfo files. List of tuples
329 # (source start file, target name, title, author,
330 #  dir menu entry, description, category)
331 texinfo_documents = [
332     (master_doc, 'KohaManual', 'Koha Manual Documentation',
333      author, 'KohaManual', 'One line description of project.',
334      'Miscellaneous'),
335 ]
336
337 # Documents to append as an appendix to all manuals.
338 #
339 # texinfo_appendices = []
340
341 # If false, no module index is generated.
342 #
343 # texinfo_domain_indices = True
344
345 # How to display URL addresses: 'footnote', 'no', or 'inline'.
346 #
347 # texinfo_show_urls = 'footnote'
348
349 # If true, do not generate a @detailmenu in the "Top" node's menu.
350 #
351 # texinfo_no_detailmenu = False
352
353
354 # -- Options for Epub output ----------------------------------------------
355
356 # Bibliographic Dublin Core info.
357 epub_title = project
358 epub_author = author
359 epub_publisher = author
360 epub_copyright = copyright
361
362 # The basename for the epub file. It defaults to the project name.
363 # epub_basename = project
364
365 # The HTML theme for the epub output. Since the default themes are not
366 # optimized for small screen space, using the same theme for HTML and epub
367 # output is usually not wise. This defaults to 'epub', a theme designed to save
368 # visual space.
369 #
370 # epub_theme = 'epub'
371
372 # The language of the text. It defaults to the language option
373 # or 'en' if the language is not set.
374 #
375 # epub_language = ''
376
377 # The scheme of the identifier. Typical schemes are ISBN or URL.
378 # epub_scheme = ''
379
380 # The unique identifier of the text. This can be a ISBN number
381 # or the project homepage.
382 #
383 # epub_identifier = ''
384
385 # A unique identification for the text.
386 #
387 # epub_uid = ''
388
389 # A tuple containing the cover image and cover page html template filenames.
390 #
391 # epub_cover = ()
392
393 # A sequence of (type, uri, title) tuples for the guide element of content.opf.
394 #
395 # epub_guide = ()
396
397 # HTML files that should be inserted before the pages created by sphinx.
398 # The format is a list of tuples containing the path and title.
399 #
400 # epub_pre_files = []
401
402 # HTML files that should be inserted after the pages created by sphinx.
403 # The format is a list of tuples containing the path and title.
404 #
405 # epub_post_files = []
406
407 # A list of files that should not be packed into the epub file.
408 epub_exclude_files = ['search.html']
409
410 # The depth of the table of contents in toc.ncx.
411 #
412 # epub_tocdepth = 3
413
414 # Allow duplicate toc entries.
415 #
416 # epub_tocdup = True
417
418 # Choose between 'default' and 'includehidden'.
419 #
420 # epub_tocscope = 'default'
421
422 # Fix unsupported image types using the Pillow.
423 #
424 # epub_fix_images = False
425
426 # Scale large images.
427 #
428 # epub_max_image_width = 0
429
430 # How to display URL addresses: 'footnote', 'no', or 'inline'.
431 #
432 # epub_show_urls = 'inline'
433
434 # If false, no index is generated.
435 #
436 # epub_use_index = True
437
438
439 # Example configuration for intersphinx: refer to the Python standard library.
440 intersphinx_mapping = {'https://docs.python.org/': None}