blob: ff9deae865065c4df4dc32ef18e3e46b58d24c33 [file] [log] [blame]
Rich Bennett22ef0852017-07-19 18:05:55 -04001# -*- coding: utf-8 -*-
2#
3# ONAP documentation build configuration file, created by
4# sphinx-quickstart on Wed Jul 19 16:25:31 2017.
5#
6# This file is execfile()d with the current directory set to its
7# containing dir.
8#
9# Note that not all possible configuration values are present in this
10# autogenerated file.
11#
12# All configuration values have a default; values that are commented out
13# serve to show the default.
14
15import sys
16import os
17import shlex
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.
Rich Bennettda7f8a12017-08-08 20:27:58 -040027needs_sphinx = '1.5.3'
Rich Bennett22ef0852017-07-19 18:05:55 -040028
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.
32extensions = [
33 'sphinx.ext.autodoc',
34 'sphinx.ext.doctest',
35 'sphinx.ext.graphviz',
36 'sphinx.ext.todo',
Rich Bennett9f0875c2017-08-07 21:38:02 -040037 'sphinx.ext.imgmath',
Rich Bennett22ef0852017-07-19 18:05:55 -040038 'sphinx.ext.viewcode',
Rich Bennett1da30462017-08-24 12:11:36 -040039 'sphinxcontrib.blockdiag',
Rich Bennett3beeced2017-09-18 10:01:25 -040040 'sphinxcontrib.seqdiag',
41 'sphinx.ext.ifconfig',
42 'sphinx.ext.todo',
43 'sphinxcontrib.httpdomain',
44 'sphinxcontrib.plantuml',
45 'sphinxcontrib.swaggerdoc'
Rich Bennett22ef0852017-07-19 18:05:55 -040046]
47
Rich Bennetta9d6a442017-08-25 02:37:15 -040048# Font path for seqdiag
49seqdiag_fontpath= '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf'
50
Rich Bennett22ef0852017-07-19 18:05:55 -040051# Add any paths that contain templates here, relative to this directory.
52templates_path = ['_templates']
53
54# The suffix(es) of source filenames.
55# You can specify multiple suffix as a list of string:
56# source_suffix = ['.rst', '.md']
57source_suffix = '.rst'
58
59# The encoding of source files.
60#source_encoding = 'utf-8-sig'
61
62# The master toctree document.
63master_doc = 'index'
64
65# General information about the project.
66project = u'ONAP'
67copyright = u'2017, ONAP Contributors'
68author = u'ONAP Contributors'
69
70# The version info for the project you're documenting, acts as replacement for
71# |version| and |release|, also used in various other places throughout the
72# built documents.
73#
74# The short X.Y version.
Rich Bennett9f0875c2017-08-07 21:38:02 -040075version = 'pre-release alpha'
Rich Bennett22ef0852017-07-19 18:05:55 -040076# The full version, including alpha/beta/rc tags.
Rich Bennett9f0875c2017-08-07 21:38:02 -040077release = 'Amsterdam 0.1 alpha'
Rich Bennett22ef0852017-07-19 18:05:55 -040078
79# The language for content autogenerated by Sphinx. Refer to documentation
80# for a list of supported languages.
81#
82# This is also used if you do content translation via gettext catalogs.
83# Usually you set "language" from the command line for these cases.
84language = None
85
86# There are two options for replacing |today|: either, you set today to some
87# non-false value, then it is used:
88#today = ''
89# Else, today_fmt is used as the format for a strftime call.
90#today_fmt = '%B %d, %Y'
91
92# List of patterns, relative to source directory, that match files and
93# directories to ignore when looking for source files.
Rich Bennettd1f09492017-07-25 19:28:00 -040094exclude_patterns = [
Rich Bennetta9d6a442017-08-25 02:37:15 -040095 '_build'
Rich Bennettd1f09492017-07-25 19:28:00 -040096 ]
Rich Bennett22ef0852017-07-19 18:05:55 -040097
98# The reST default role (used for this markup: `text`) to use for all
99# documents.
100#default_role = None
101
102# If true, '()' will be appended to :func: etc. cross-reference text.
103#add_function_parentheses = True
104
105# If true, the current module name will be prepended to all description
106# unit titles (such as .. function::).
107#add_module_names = True
108
109# If true, sectionauthor and moduleauthor directives will be shown in the
110# output. They are ignored by default.
111#show_authors = False
112
113# The name of the Pygments (syntax highlighting) style to use.
114pygments_style = 'sphinx'
115
116# A list of ignored prefixes for module index sorting.
117#modindex_common_prefix = []
118
119# If true, keep warnings as "system message" paragraphs in the built documents.
120#keep_warnings = False
121
122# If true, `todo` and `todoList` produce output, else they produce nothing.
123todo_include_todos = True
124
125
126# -- Options for HTML output ----------------------------------------------
127
128# The theme to use for HTML and HTML Help pages. See the documentation for
129# a list of builtin themes.
130html_theme = 'classic'
131
132# Theme options are theme-specific and customize the look and feel of a theme
133# further. For a list of options available for each theme, see the
134# documentation.
135#html_theme_options = {}
136
137# Add any paths that contain custom themes here, relative to this directory.
138#html_theme_path = []
139
140# The name for this set of Sphinx documents. If None, it defaults to
141# "<project> v<release> documentation".
142#html_title = None
143
144# A shorter title for the navigation bar. Default is the same as html_title.
145#html_short_title = None
146
147# The name of an image file (relative to this directory) to place at the top
148# of the sidebar.
149html_logo = '_static/logo_onap_2017.png'
150
151# The name of an image file (within the static path) to use as favicon of the
152# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
153# pixels large.
154html_favicon = '_static/favicon.ico'
155
156# Add any paths that contain custom static files (such as style sheets) here,
157# relative to this directory. They are copied after the builtin static files,
158# so a file named "default.css" will overwrite the builtin "default.css".
159html_static_path = ['_static']
160
161# Add any extra paths that contain custom files (such as robots.txt or
162# .htaccess) here, relative to this directory. These files are copied
163# directly to the root of the documentation.
164#html_extra_path = []
165
166# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
167# using the given strftime format.
168#html_last_updated_fmt = '%b %d, %Y'
169
170# If true, SmartyPants will be used to convert quotes and dashes to
171# typographically correct entities.
172#html_use_smartypants = True
173
174# Custom sidebar templates, maps document names to template names.
175#html_sidebars = {}
176
177# Additional templates that should be rendered to pages, maps page names to
178# template names.
179#html_additional_pages = {}
180
181# If false, no module index is generated.
182#html_domain_indices = True
183
184# If false, no index is generated.
185#html_use_index = True
186
187# If true, the index is split into individual pages for each letter.
188#html_split_index = False
189
190# If true, links to the reST sources are added to the pages.
191#html_show_sourcelink = True
192
193# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
194#html_show_sphinx = True
195
196# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
197#html_show_copyright = True
198
199# If true, an OpenSearch description file will be output, and all pages will
200# contain a <link> tag referring to it. The value of this option must be the
201# base URL from which the finished HTML is served.
202#html_use_opensearch = ''
203
204# This is the file name suffix for HTML files (e.g. ".xhtml").
205#html_file_suffix = None
206
207# Language to be used for generating the HTML full-text search index.
208# Sphinx supports the following languages:
209# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
210# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'
211#html_search_language = 'en'
212
213# A dictionary with options for the search language support, empty by default.
214# Now only 'ja' uses this config value
215#html_search_options = {'type': 'default'}
216
217# The name of a javascript file (relative to the configuration directory) that
218# implements a search results scorer. If empty, the default will be used.
219#html_search_scorer = 'scorer.js'
220
221# Output file base name for HTML help builder.
222htmlhelp_basename = 'ONAPdoc'
223
224# -- Options for LaTeX output ---------------------------------------------
225
226latex_elements = {
227# The paper size ('letterpaper' or 'a4paper').
228#'papersize': 'letterpaper',
229
230# The font size ('10pt', '11pt' or '12pt').
231#'pointsize': '10pt',
232
233# Additional stuff for the LaTeX preamble.
234#'preamble': '',
235
236# Latex figure (float) alignment
237#'figure_align': 'htbp',
238}
239
240# Grouping the document tree into LaTeX files. List of tuples
241# (source start file, target name, title,
242# author, documentclass [howto, manual, or own class]).
243latex_documents = [
244 (master_doc, 'ONAP.tex', u'ONAP Documentation',
245 u'ONAP Contributors', 'manual'),
246]
247
248# The name of an image file (relative to this directory) to place at the top of
249# the title page.
250#latex_logo = None
251
252# For "manual" documents, if this is true, then toplevel headings are parts,
253# not chapters.
254#latex_use_parts = False
255
256# If true, show page references after internal links.
257#latex_show_pagerefs = False
258
259# If true, show URL addresses after external links.
260#latex_show_urls = False
261
262# Documents to append as an appendix to all manuals.
263#latex_appendices = []
264
265# If false, no module index is generated.
266#latex_domain_indices = True
267
268
269# -- Options for manual page output ---------------------------------------
270
271# One entry per manual page. List of tuples
272# (source start file, name, description, authors, manual section).
273man_pages = [
274 (master_doc, 'onap', u'ONAP Documentation',
275 [author], 1)
276]
277
278# If true, show URL addresses after external links.
279#man_show_urls = False
280
281
282# -- Options for Texinfo output -------------------------------------------
283
284# Grouping the document tree into Texinfo files. List of tuples
285# (source start file, target name, title, author,
286# dir menu entry, description, category)
287texinfo_documents = [
288 (master_doc, 'ONAP', u'ONAP Documentation',
289 author, 'ONAP', 'Open Network Automation Platform',
290 'Platform'),
291]
292
293# Documents to append as an appendix to all manuals.
294#texinfo_appendices = []
295
296# If false, no module index is generated.
297#texinfo_domain_indices = True
298
299# How to display URL addresses: 'footnote', 'no', or 'inline'.
300#texinfo_show_urls = 'footnote'
301
302# If true, do not generate a @detailmenu in the "Top" node's menu.
303#texinfo_no_detailmenu = False
304
305
306# -- Options for Epub output ----------------------------------------------
307
308# Bibliographic Dublin Core info.
309epub_title = project
310epub_author = author
311epub_publisher = author
312epub_copyright = copyright
313
314# The basename for the epub file. It defaults to the project name.
315#epub_basename = project
316
317# The HTML theme for the epub output. Since the default themes are not optimized
318# for small screen space, using the same theme for HTML and epub output is
319# usually not wise. This defaults to 'epub', a theme designed to save visual
320# space.
321#epub_theme = 'epub'
322
323# The language of the text. It defaults to the language option
324# or 'en' if the language is not set.
325#epub_language = ''
326
327# The scheme of the identifier. Typical schemes are ISBN or URL.
328#epub_scheme = ''
329
330# The unique identifier of the text. This can be a ISBN number
331# or the project homepage.
332#epub_identifier = ''
333
334# A unique identification for the text.
335#epub_uid = ''
336
337# A tuple containing the cover image and cover page html template filenames.
338#epub_cover = ()
339
340# A sequence of (type, uri, title) tuples for the guide element of content.opf.
341#epub_guide = ()
342
343# HTML files that should be inserted before the pages created by sphinx.
344# The format is a list of tuples containing the path and title.
345#epub_pre_files = []
346
347# HTML files shat should be inserted after the pages created by sphinx.
348# The format is a list of tuples containing the path and title.
349#epub_post_files = []
350
351# A list of files that should not be packed into the epub file.
352epub_exclude_files = ['search.html']
353
354# The depth of the table of contents in toc.ncx.
355#epub_tocdepth = 3
356
357# Allow duplicate toc entries.
358#epub_tocdup = True
359
360# Choose between 'default' and 'includehidden'.
361#epub_tocscope = 'default'
362
363# Fix unsupported image types using the Pillow.
364#epub_fix_images = False
365
366# Scale large images.
367#epub_max_image_width = 0
368
369# How to display URL addresses: 'footnote', 'no', or 'inline'.
370#epub_show_urls = 'inline'
371
372# If false, no index is generated.
373#epub_use_index = True
Rich Bennett927141f2017-09-13 14:15:20 -0400374
375# Patterns to ignore in linkcheck builder
376linkcheck_ignore = [r'http://localhost:\d+/']
Rich Bennett3beeced2017-09-18 10:01:25 -0400377