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