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