2 # -*- coding: utf-8 -*-
4 # OpenDaylight Documentation documentation build configuration file, created by
5 # sphinx-quickstart on Mon Mar 28 14:20:08 2016.
7 # This file is execfile()d with the current directory set to its
10 # Note that not all possible configuration values are present in this
13 # All configuration values have a default; values that are commented out
14 # serve to show the default.
18 import sphinx_bootstrap_theme
20 # If extensions (or modules to document with autodoc) are in another directory,
21 # add these directories to sys.path here. If the directory is relative to the
22 # documentation root, use os.path.abspath to make it absolute, like shown here.
23 #sys.path.insert(0, os.path.abspath('.'))
25 # -- General configuration ------------------------------------------------
27 # If your documentation needs a minimal Sphinx version, state it here.
30 # Add any Sphinx extension module names here, as strings. They can be
31 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
33 extensions = ['javasphinx']
35 # Add any paths that contain templates here, relative to this directory.
36 templates_path = ['_templates']
38 # The suffix(es) of source filenames.
39 # You can specify multiple suffix as a list of string:
40 # source_suffix = ['.rst', '.md']
41 source_suffix = '.rst'
43 # The encoding of source files.
44 #source_encoding = 'utf-8-sig'
46 # The master toctree document.
49 # General information about the project.
50 project = 'OpenDaylight Documentation'
51 copyright = '2016, OpenDaylight Project'
52 author = 'OpenDaylight Project'
54 # The version info for the project you're documenting, acts as replacement for
55 # |version| and |release|, also used in various other places throughout the
58 # The short X.Y version.
60 # The full version, including alpha/beta/rc tags.
63 # The language for content autogenerated by Sphinx. Refer to documentation
64 # for a list of supported languages.
66 # This is also used if you do content translation via gettext catalogs.
67 # Usually you set "language" from the command line for these cases.
70 # There are two options for replacing |today|: either, you set today to some
71 # non-false value, then it is used:
73 # Else, today_fmt is used as the format for a strftime call.
74 #today_fmt = '%B %d, %Y'
76 # List of patterns, relative to source directory, that match files and
77 # directories to ignore when looking for source files.
78 # This patterns also effect to html_static_path and html_extra_path
81 # The reST default role (used for this markup: `text`) to use for all
85 # If true, '()' will be appended to :func: etc. cross-reference text.
86 #add_function_parentheses = True
88 # If true, the current module name will be prepended to all description
89 # unit titles (such as .. function::).
90 #add_module_names = True
92 # If true, sectionauthor and moduleauthor directives will be shown in the
93 # output. They are ignored by default.
96 # The name of the Pygments (syntax highlighting) style to use.
97 pygments_style = 'sphinx'
99 # A list of ignored prefixes for module index sorting.
100 #modindex_common_prefix = []
102 # If true, keep warnings as "system message" paragraphs in the built documents.
103 #keep_warnings = False
105 # If true, `todo` and `todoList` produce output, else they produce nothing.
106 todo_include_todos = False
109 # -- Options for HTML output ----------------------------------------------
111 # The theme to use for HTML and HTML Help pages. See the documentation for
112 # a list of builtin themes.
113 html_theme = 'bootstrap'
115 # Theme options are theme-specific and customize the look and feel of a theme
116 # further. For a list of options available for each theme, see the
118 #html_theme_options = {}
119 html_theme_options = {
120 'bootswatch_theme': "united",
123 # Add any paths that contain custom themes here, relative to this directory.
124 #html_theme_path = []
125 html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
127 # The name for this set of Sphinx documents.
128 # "<project> v<release> documentation" by default.
129 #html_title = 'OpenDaylight Documentation v0.3.0'
131 # A shorter title for the navigation bar. Default is the same as html_title.
132 #html_short_title = None
134 # The name of an image file (relative to this directory) to place at the top
136 html_logo = '_static/odl_small.png'
138 # The name of an image file (relative to this directory) to use as a favicon of
139 # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
143 # Add any paths that contain custom static files (such as style sheets) here,
144 # relative to this directory. They are copied after the builtin static files,
145 # so a file named "default.css" will overwrite the builtin "default.css".
146 html_static_path = ['_static']
148 # Add any extra paths that contain custom files (such as robots.txt or
149 # .htaccess) here, relative to this directory. These files are copied
150 # directly to the root of the documentation.
151 #html_extra_path = []
153 # If not None, a 'Last updated on:' timestamp is inserted at every page
154 # bottom, using the given strftime format.
155 # The empty string is equivalent to '%b %d, %Y'.
156 #html_last_updated_fmt = None
158 # If true, SmartyPants will be used to convert quotes and dashes to
159 # typographically correct entities.
160 #html_use_smartypants = True
162 # Custom sidebar templates, maps document names to template names.
165 # Additional templates that should be rendered to pages, maps page names to
167 #html_additional_pages = {}
169 # If false, no module index is generated.
170 #html_domain_indices = True
172 # If false, no index is generated.
173 #html_use_index = True
175 # If true, the index is split into individual pages for each letter.
176 #html_split_index = False
178 # If true, links to the reST sources are added to the pages.
179 #html_show_sourcelink = True
181 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
182 #html_show_sphinx = True
184 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
185 #html_show_copyright = True
187 # If true, an OpenSearch description file will be output, and all pages will
188 # contain a <link> tag referring to it. The value of this option must be the
189 # base URL from which the finished HTML is served.
190 #html_use_opensearch = ''
192 # This is the file name suffix for HTML files (e.g. ".xhtml").
193 #html_file_suffix = None
195 # Language to be used for generating the HTML full-text search index.
196 # Sphinx supports the following languages:
197 # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
198 # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh'
199 #html_search_language = 'en'
201 # A dictionary with options for the search language support, empty by default.
202 # 'ja' uses this config value.
203 # 'zh' user can custom change `jieba` dictionary path.
204 #html_search_options = {'type': 'default'}
206 # The name of a javascript file (relative to the configuration directory) that
207 # implements a search results scorer. If empty, the default will be used.
208 #html_search_scorer = 'scorer.js'
210 # Output file base name for HTML help builder.
211 htmlhelp_basename = 'OpenDaylightDocumentationdoc'
213 # -- Options for LaTeX output ---------------------------------------------
216 # The paper size ('letterpaper' or 'a4paper').
217 #'papersize': 'letterpaper',
219 # The font size ('10pt', '11pt' or '12pt').
220 #'pointsize': '10pt',
222 # Additional stuff for the LaTeX preamble.
225 # Latex figure (float) alignment
226 #'figure_align': 'htbp',
229 # Grouping the document tree into LaTeX files. List of tuples
230 # (source start file, target name, title,
231 # author, documentclass [howto, manual, or own class]).
233 (master_doc, 'OpenDaylightDocumentation.tex', 'OpenDaylight Documentation Documentation',
234 'OpenDaylight Project', 'manual'),
237 # The name of an image file (relative to this directory) to place at the top of
241 # For "manual" documents, if this is true, then toplevel headings are parts,
243 #latex_use_parts = False
245 # If true, show page references after internal links.
246 #latex_show_pagerefs = False
248 # If true, show URL addresses after external links.
249 #latex_show_urls = False
251 # Documents to append as an appendix to all manuals.
252 #latex_appendices = []
254 # If false, no module index is generated.
255 #latex_domain_indices = True
258 # -- Options for manual page output ---------------------------------------
260 # One entry per manual page. List of tuples
261 # (source start file, name, description, authors, manual section).
263 (master_doc, 'opendaylightdocumentation', 'OpenDaylight Documentation Documentation',
267 # If true, show URL addresses after external links.
268 #man_show_urls = False
271 # -- Options for Texinfo output -------------------------------------------
273 # Grouping the document tree into Texinfo files. List of tuples
274 # (source start file, target name, title, author,
275 # dir menu entry, description, category)
276 texinfo_documents = [
277 (master_doc, 'OpenDaylightDocumentation', 'OpenDaylight Documentation Documentation',
278 author, 'OpenDaylightDocumentation', 'One line description of project.',
282 # Documents to append as an appendix to all manuals.
283 #texinfo_appendices = []
285 # If false, no module index is generated.
286 #texinfo_domain_indices = True
288 # How to display URL addresses: 'footnote', 'no', or 'inline'.
289 #texinfo_show_urls = 'footnote'
291 # If true, do not generate a @detailmenu in the "Top" node's menu.
292 #texinfo_no_detailmenu = False
296 # Ignore jenkins because it's often slow to respond.
297 'https://jenkins.opendaylight.org/releng',
298 'https://jenkins.opendaylight.org/sandbox',
299 'http://\$CONTROL_HOST:8181/dlux/index.html',
300 # The '#' in the path makes sphinx think it's an anchor
301 'https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder',
304 # Build integration stuff
307 subprocess.call(["./build-integration-robot-libdoc.sh"])
308 subprocess.call(["./generate-javaapidoc.sh"])