Add support to start mongodb for python job
[releng/builder.git] / docs / conf.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 #
4 # OpenDaylight RelEng/Builder documentation build configuration file, created by
5 # sphinx-quickstart on Thu May  5 10:17:10 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 import sys
17 import os
18
19 # If extensions (or modules to document with autodoc) are in another directory,
20 # add these directories to sys.path here. If the directory is relative to the
21 # documentation root, use os.path.abspath to make it absolute, like shown here.
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 #needs_sphinx = '1.0'
28
29 # Add any Sphinx extension module names here, as strings. They can be
30 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
31 # ones.
32 extensions = []
33
34 # Add any paths that contain templates here, relative to this directory.
35 templates_path = ['_templates']
36
37 # The suffix(es) of source filenames.
38 # You can specify multiple suffix as a list of string:
39 # source_suffix = ['.rst', '.md']
40 source_suffix = '.rst'
41
42 # The encoding of source files.
43 #source_encoding = 'utf-8-sig'
44
45 # The master toctree document.
46 master_doc = 'index'
47
48 # General information about the project.
49 project = 'OpenDaylight RelEng/Builder'
50 copyright = '2016, Andrew Grimberg, Thanh Ha, Daniel Farell'
51 author = 'Andrew Grimberg, Thanh Ha, Daniel Farell'
52
53 # The version info for the project you're documenting, acts as replacement for
54 # |version| and |release|, also used in various other places throughout the
55 # built documents.
56 #
57 # The short X.Y version.
58 version = '1.0.0'
59 # The full version, including alpha/beta/rc tags.
60 release = '1.0.0'
61
62 # The language for content autogenerated by Sphinx. Refer to documentation
63 # for a list of supported languages.
64 #
65 # This is also used if you do content translation via gettext catalogs.
66 # Usually you set "language" from the command line for these cases.
67 language = None
68
69 # There are two options for replacing |today|: either, you set today to some
70 # non-false value, then it is used:
71 #today = ''
72 # Else, today_fmt is used as the format for a strftime call.
73 #today_fmt = '%B %d, %Y'
74
75 # List of patterns, relative to source directory, that match files and
76 # directories to ignore when looking for source files.
77 # This patterns also effect to html_static_path and html_extra_path
78 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
79
80 # The reST default role (used for this markup: `text`) to use for all
81 # documents.
82 #default_role = None
83
84 # If true, '()' will be appended to :func: etc. cross-reference text.
85 #add_function_parentheses = True
86
87 # If true, the current module name will be prepended to all description
88 # unit titles (such as .. function::).
89 #add_module_names = True
90
91 # If true, sectionauthor and moduleauthor directives will be shown in the
92 # output. They are ignored by default.
93 #show_authors = False
94
95 # The name of the Pygments (syntax highlighting) style to use.
96 pygments_style = 'sphinx'
97
98 # A list of ignored prefixes for module index sorting.
99 #modindex_common_prefix = []
100
101 # If true, keep warnings as "system message" paragraphs in the built documents.
102 #keep_warnings = False
103
104 # If true, `todo` and `todoList` produce output, else they produce nothing.
105 todo_include_todos = False
106
107
108 # -- Options for HTML output ----------------------------------------------
109
110 # The theme to use for HTML and HTML Help pages.  See the documentation for
111 # a list of builtin themes.
112 html_theme = 'alabaster'
113
114 # Theme options are theme-specific and customize the look and feel of a theme
115 # further.  For a list of options available for each theme, see the
116 # documentation.
117 #html_theme_options = {}
118
119 # Add any paths that contain custom themes here, relative to this directory.
120 #html_theme_path = []
121
122 # The name for this set of Sphinx documents.
123 # "<project> v<release> documentation" by default.
124 #html_title = 'OpenDaylight RelEng/Builder v1.0.0'
125
126 # A shorter title for the navigation bar.  Default is the same as html_title.
127 #html_short_title = None
128
129 # The name of an image file (relative to this directory) to place at the top
130 # of the sidebar.
131 #html_logo = None
132
133 # The name of an image file (relative to this directory) to use as a favicon of
134 # the docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
135 # pixels large.
136 #html_favicon = None
137
138 # Add any paths that contain custom static files (such as style sheets) here,
139 # relative to this directory. They are copied after the builtin static files,
140 # so a file named "default.css" will overwrite the builtin "default.css".
141 html_static_path = ['_static']
142
143 # Add any extra paths that contain custom files (such as robots.txt or
144 # .htaccess) here, relative to this directory. These files are copied
145 # directly to the root of the documentation.
146 #html_extra_path = []
147
148 # If not None, a 'Last updated on:' timestamp is inserted at every page
149 # bottom, using the given strftime format.
150 # The empty string is equivalent to '%b %d, %Y'.
151 #html_last_updated_fmt = None
152
153 # If true, SmartyPants will be used to convert quotes and dashes to
154 # typographically correct entities.
155 #html_use_smartypants = True
156
157 # Custom sidebar templates, maps document names to template names.
158 #html_sidebars = {}
159
160 # Additional templates that should be rendered to pages, maps page names to
161 # template names.
162 #html_additional_pages = {}
163
164 # If false, no module index is generated.
165 #html_domain_indices = True
166
167 # If false, no index is generated.
168 #html_use_index = True
169
170 # If true, the index is split into individual pages for each letter.
171 #html_split_index = False
172
173 # If true, links to the reST sources are added to the pages.
174 #html_show_sourcelink = True
175
176 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
177 #html_show_sphinx = True
178
179 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
180 #html_show_copyright = True
181
182 # If true, an OpenSearch description file will be output, and all pages will
183 # contain a <link> tag referring to it.  The value of this option must be the
184 # base URL from which the finished HTML is served.
185 #html_use_opensearch = ''
186
187 # This is the file name suffix for HTML files (e.g. ".xhtml").
188 #html_file_suffix = None
189
190 # Language to be used for generating the HTML full-text search index.
191 # Sphinx supports the following languages:
192 #   'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
193 #   'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh'
194 #html_search_language = 'en'
195
196 # A dictionary with options for the search language support, empty by default.
197 # 'ja' uses this config value.
198 # 'zh' user can custom change `jieba` dictionary path.
199 #html_search_options = {'type': 'default'}
200
201 # The name of a javascript file (relative to the configuration directory) that
202 # implements a search results scorer. If empty, the default will be used.
203 #html_search_scorer = 'scorer.js'
204
205 # Output file base name for HTML help builder.
206 htmlhelp_basename = 'OpenDaylightRelEngBuilderdoc'
207
208 # -- Options for LaTeX output ---------------------------------------------
209
210 latex_elements = {
211 # The paper size ('letterpaper' or 'a4paper').
212 #'papersize': 'letterpaper',
213
214 # The font size ('10pt', '11pt' or '12pt').
215 #'pointsize': '10pt',
216
217 # Additional stuff for the LaTeX preamble.
218 #'preamble': '',
219
220 # Latex figure (float) alignment
221 #'figure_align': 'htbp',
222 }
223
224 # Grouping the document tree into LaTeX files. List of tuples
225 # (source start file, target name, title,
226 #  author, documentclass [howto, manual, or own class]).
227 latex_documents = [
228     (master_doc, 'OpenDaylightRelEngBuilder.tex', 'OpenDaylight RelEng/Builder Documentation',
229      'Andrew Grimberg, Thanh Ha, Daniel Farell', 'manual'),
230 ]
231
232 # The name of an image file (relative to this directory) to place at the top of
233 # the title page.
234 #latex_logo = None
235
236 # For "manual" documents, if this is true, then toplevel headings are parts,
237 # not chapters.
238 #latex_use_parts = False
239
240 # If true, show page references after internal links.
241 #latex_show_pagerefs = False
242
243 # If true, show URL addresses after external links.
244 #latex_show_urls = False
245
246 # Documents to append as an appendix to all manuals.
247 #latex_appendices = []
248
249 # If false, no module index is generated.
250 #latex_domain_indices = True
251
252
253 # -- Options for manual page output ---------------------------------------
254
255 # One entry per manual page. List of tuples
256 # (source start file, name, description, authors, manual section).
257 man_pages = [
258     (master_doc, 'opendaylightrelengbuilder', 'OpenDaylight RelEng/Builder Documentation',
259      [author], 1)
260 ]
261
262 # If true, show URL addresses after external links.
263 #man_show_urls = False
264
265
266 # -- Options for Texinfo output -------------------------------------------
267
268 # Grouping the document tree into Texinfo files. List of tuples
269 # (source start file, target name, title, author,
270 #  dir menu entry, description, category)
271 texinfo_documents = [
272     (master_doc, 'OpenDaylightRelEngBuilder', 'OpenDaylight RelEng/Builder Documentation',
273      author, 'OpenDaylightRelEngBuilder', 'One line description of project.',
274      'Miscellaneous'),
275 ]
276
277 # Documents to append as an appendix to all manuals.
278 #texinfo_appendices = []
279
280 # If false, no module index is generated.
281 #texinfo_domain_indices = True
282
283 # How to display URL addresses: 'footnote', 'no', or 'inline'.
284 #texinfo_show_urls = 'footnote'
285
286 # If true, do not generate a @detailmenu in the "Top" node's menu.
287 #texinfo_no_detailmenu = False