Klement Sekera | f62ae12 | 2016-10-11 11:47:09 +0200 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # |
| 3 | # VPP test framework documentation build configuration file, created by |
| 4 | # sphinx-quickstart on Thu Oct 13 08:45:03 2016. |
| 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 | # If extensions (or modules to document with autodoc) are in another directory, |
| 16 | # add these directories to sys.path here. If the directory is relative to the |
| 17 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
| 18 | # |
| 19 | import os |
| 20 | import sys |
| 21 | sys.path.insert(0, os.path.abspath('..')) |
| 22 | |
Klement Sekera | f62ae12 | 2016-10-11 11:47:09 +0200 | [diff] [blame] | 23 | # -- General configuration ------------------------------------------------ |
| 24 | |
| 25 | # If your documentation needs a minimal Sphinx version, state it here. |
| 26 | # |
| 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 | 'sphinx.ext.autodoc', |
| 34 | ] |
Paul Vinciguerra | 8467919 | 2019-01-13 11:33:52 -0800 | [diff] [blame] | 35 | autodoc_mock_imports = ['objgraph', |
Paul Vinciguerra | 2cc29a5 | 2019-02-13 07:44:52 -0800 | [diff] [blame] | 36 | 'parameterized', |
| 37 | 'pexpect', |
| 38 | 'psutil', |
Paul Vinciguerra | 8467919 | 2019-01-13 11:33:52 -0800 | [diff] [blame] | 39 | 'pympler', |
Paul Vinciguerra | 2cc29a5 | 2019-02-13 07:44:52 -0800 | [diff] [blame] | 40 | 'scapy', |
| 41 | 'syslog_rfc5424_parser', |
Paul Vinciguerra | 8467919 | 2019-01-13 11:33:52 -0800 | [diff] [blame] | 42 | 'vpp_papi'] |
Klement Sekera | f62ae12 | 2016-10-11 11:47:09 +0200 | [diff] [blame] | 43 | |
| 44 | # Add any paths that contain templates here, relative to this directory. |
| 45 | templates_path = ['_templates'] |
| 46 | |
| 47 | # The suffix(es) of source filenames. |
| 48 | # You can specify multiple suffix as a list of string: |
| 49 | # |
| 50 | # source_suffix = ['.rst', '.md'] |
| 51 | source_suffix = '.rst' |
| 52 | |
| 53 | # The encoding of source files. |
| 54 | # |
| 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'VPP test framework' |
| 62 | copyright = u'2016, VPP team' |
| 63 | author = u'VPP team' |
| 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. |
| 70 | version = u'0.1' |
| 71 | # The full version, including alpha/beta/rc tags. |
| 72 | release = u'0.1' |
| 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 | # |
| 84 | # today = '' |
| 85 | # |
| 86 | # Else, today_fmt is used as the format for a strftime call. |
| 87 | # |
| 88 | # today_fmt = '%B %d, %Y' |
| 89 | |
| 90 | # List of patterns, relative to source directory, that match files and |
| 91 | # directories to ignore when looking for source files. |
| 92 | # This patterns also effect to html_static_path and html_extra_path |
| 93 | exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 94 | |
| 95 | # The reST default role (used for this markup: `text`) to use for all |
| 96 | # documents. |
| 97 | # |
Klement Sekera | 778c276 | 2016-11-08 02:00:28 +0100 | [diff] [blame] | 98 | default_role = 'any' |
Klement Sekera | f62ae12 | 2016-10-11 11:47:09 +0200 | [diff] [blame] | 99 | |
| 100 | # If true, '()' will be appended to :func: etc. cross-reference text. |
| 101 | # |
Klement Sekera | 778c276 | 2016-11-08 02:00:28 +0100 | [diff] [blame] | 102 | add_function_parentheses = True |
Klement Sekera | f62ae12 | 2016-10-11 11:47:09 +0200 | [diff] [blame] | 103 | |
| 104 | # If true, the current module name will be prepended to all description |
| 105 | # unit titles (such as .. function::). |
| 106 | # |
| 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 | # |
| 112 | # show_authors = False |
| 113 | |
| 114 | # The name of the Pygments (syntax highlighting) style to use. |
| 115 | pygments_style = 'sphinx' |
| 116 | |
| 117 | # A list of ignored prefixes for module index sorting. |
| 118 | # modindex_common_prefix = [] |
| 119 | |
| 120 | # If true, keep warnings as "system message" paragraphs in the built documents. |
| 121 | # keep_warnings = False |
| 122 | |
| 123 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
| 124 | todo_include_todos = False |
| 125 | |
| 126 | |
| 127 | # -- Options for HTML output ---------------------------------------------- |
| 128 | |
| 129 | # The theme to use for HTML and HTML Help pages. See the documentation for |
| 130 | # a list of builtin themes. |
| 131 | # |
Paul Vinciguerra | 8467919 | 2019-01-13 11:33:52 -0800 | [diff] [blame] | 132 | # html_theme = 'alabaster' |
Tibor | 7ff1113 | 2017-01-26 13:21:12 +0100 | [diff] [blame] | 133 | html_theme = 'sphinx_rtd_theme' |
Klement Sekera | f62ae12 | 2016-10-11 11:47:09 +0200 | [diff] [blame] | 134 | |
| 135 | # Theme options are theme-specific and customize the look and feel of a theme |
| 136 | # further. For a list of options available for each theme, see the |
| 137 | # documentation. |
| 138 | # |
| 139 | # html_theme_options = {} |
| 140 | |
| 141 | # Add any paths that contain custom themes here, relative to this directory. |
| 142 | # html_theme_path = [] |
| 143 | |
| 144 | # The name for this set of Sphinx documents. |
| 145 | # "<project> v<release> documentation" by default. |
| 146 | # |
| 147 | # html_title = u'VPP test framework v0.1' |
| 148 | |
| 149 | # A shorter title for the navigation bar. Default is the same as html_title. |
| 150 | # |
| 151 | # html_short_title = None |
| 152 | |
| 153 | # The name of an image file (relative to this directory) to place at the top |
| 154 | # of the sidebar. |
| 155 | # |
| 156 | # html_logo = None |
| 157 | |
| 158 | # The name of an image file (relative to this directory) to use as a favicon of |
Paul Vinciguerra | 8467919 | 2019-01-13 11:33:52 -0800 | [diff] [blame] | 159 | # the docs. This file should be a Windows icon file (.ico) being 16x16 or |
| 160 | # 32x32 pixels large. |
Klement Sekera | f62ae12 | 2016-10-11 11:47:09 +0200 | [diff] [blame] | 161 | # |
| 162 | # html_favicon = None |
| 163 | |
| 164 | # Add any paths that contain custom static files (such as style sheets) here, |
| 165 | # relative to this directory. They are copied after the builtin static files, |
| 166 | # so a file named "default.css" will overwrite the builtin "default.css". |
Klement Sekera | 778c276 | 2016-11-08 02:00:28 +0100 | [diff] [blame] | 167 | # html_static_path = [] |
Klement Sekera | f62ae12 | 2016-10-11 11:47:09 +0200 | [diff] [blame] | 168 | |
| 169 | # Add any extra paths that contain custom files (such as robots.txt or |
| 170 | # .htaccess) here, relative to this directory. These files are copied |
| 171 | # directly to the root of the documentation. |
| 172 | # |
| 173 | # html_extra_path = [] |
| 174 | |
| 175 | # If not None, a 'Last updated on:' timestamp is inserted at every page |
| 176 | # bottom, using the given strftime format. |
| 177 | # The empty string is equivalent to '%b %d, %Y'. |
| 178 | # |
| 179 | # html_last_updated_fmt = None |
| 180 | |
| 181 | # If true, SmartyPants will be used to convert quotes and dashes to |
| 182 | # typographically correct entities. |
| 183 | # |
| 184 | # html_use_smartypants = True |
| 185 | |
| 186 | # Custom sidebar templates, maps document names to template names. |
| 187 | # |
| 188 | # html_sidebars = {} |
| 189 | |
| 190 | # Additional templates that should be rendered to pages, maps page names to |
| 191 | # template names. |
| 192 | # |
| 193 | # html_additional_pages = {} |
| 194 | |
| 195 | # If false, no module index is generated. |
| 196 | # |
| 197 | # html_domain_indices = True |
| 198 | |
| 199 | # If false, no index is generated. |
| 200 | # |
| 201 | # html_use_index = True |
| 202 | |
| 203 | # If true, the index is split into individual pages for each letter. |
| 204 | # |
| 205 | # html_split_index = False |
| 206 | |
| 207 | # If true, links to the reST sources are added to the pages. |
| 208 | # |
| 209 | # html_show_sourcelink = True |
| 210 | |
| 211 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
| 212 | # |
| 213 | # html_show_sphinx = True |
| 214 | |
| 215 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
| 216 | # |
| 217 | # html_show_copyright = True |
| 218 | |
| 219 | # If true, an OpenSearch description file will be output, and all pages will |
| 220 | # contain a <link> tag referring to it. The value of this option must be the |
| 221 | # base URL from which the finished HTML is served. |
| 222 | # |
| 223 | # html_use_opensearch = '' |
| 224 | |
| 225 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
| 226 | # html_file_suffix = None |
| 227 | |
| 228 | # Language to be used for generating the HTML full-text search index. |
| 229 | # Sphinx supports the following languages: |
| 230 | # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' |
| 231 | # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh' |
| 232 | # |
| 233 | # html_search_language = 'en' |
| 234 | |
| 235 | # A dictionary with options for the search language support, empty by default. |
| 236 | # 'ja' uses this config value. |
| 237 | # 'zh' user can custom change `jieba` dictionary path. |
| 238 | # |
| 239 | # html_search_options = {'type': 'default'} |
| 240 | |
| 241 | # The name of a javascript file (relative to the configuration directory) that |
| 242 | # implements a search results scorer. If empty, the default will be used. |
| 243 | # |
| 244 | # html_search_scorer = 'scorer.js' |
| 245 | |
| 246 | # Output file base name for HTML help builder. |
| 247 | htmlhelp_basename = 'VPPtestframeworkdoc' |
| 248 | |
| 249 | # -- Options for LaTeX output --------------------------------------------- |
| 250 | |
| 251 | latex_elements = { |
| 252 | # The paper size ('letterpaper' or 'a4paper'). |
| 253 | # |
| 254 | # 'papersize': 'letterpaper', |
| 255 | |
| 256 | # The font size ('10pt', '11pt' or '12pt'). |
| 257 | # |
| 258 | # 'pointsize': '10pt', |
| 259 | |
| 260 | # Additional stuff for the LaTeX preamble. |
| 261 | # |
| 262 | # 'preamble': '', |
| 263 | |
| 264 | # Latex figure (float) alignment |
| 265 | # |
| 266 | # 'figure_align': 'htbp', |
| 267 | } |
| 268 | |
| 269 | # Grouping the document tree into LaTeX files. List of tuples |
| 270 | # (source start file, target name, title, |
| 271 | # author, documentclass [howto, manual, or own class]). |
| 272 | latex_documents = [ |
| 273 | (master_doc, 'VPPtestframework.tex', u'VPP test framework Documentation', |
| 274 | u'VPP team', 'manual'), |
| 275 | ] |
| 276 | |
| 277 | # The name of an image file (relative to this directory) to place at the top of |
| 278 | # the title page. |
| 279 | # |
| 280 | # latex_logo = None |
| 281 | |
| 282 | # For "manual" documents, if this is true, then toplevel headings are parts, |
| 283 | # not chapters. |
| 284 | # |
| 285 | # latex_use_parts = False |
| 286 | |
| 287 | # If true, show page references after internal links. |
| 288 | # |
| 289 | # latex_show_pagerefs = False |
| 290 | |
| 291 | # If true, show URL addresses after external links. |
| 292 | # |
| 293 | # latex_show_urls = False |
| 294 | |
| 295 | # Documents to append as an appendix to all manuals. |
| 296 | # |
| 297 | # latex_appendices = [] |
| 298 | |
| 299 | # It false, will not define \strong, \code, itleref, \crossref ... but only |
| 300 | # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added |
| 301 | # packages. |
| 302 | # |
| 303 | # latex_keep_old_macro_names = True |
| 304 | |
| 305 | # If false, no module index is generated. |
| 306 | # |
| 307 | # latex_domain_indices = True |
| 308 | |
| 309 | |
| 310 | # -- Options for manual page output --------------------------------------- |
| 311 | |
| 312 | # One entry per manual page. List of tuples |
| 313 | # (source start file, name, description, authors, manual section). |
| 314 | man_pages = [ |
| 315 | (master_doc, 'vpptestframework', u'VPP test framework Documentation', |
| 316 | [author], 1) |
| 317 | ] |
| 318 | |
| 319 | # If true, show URL addresses after external links. |
| 320 | # |
| 321 | # man_show_urls = False |
| 322 | |
| 323 | |
| 324 | # -- Options for Texinfo output ------------------------------------------- |
| 325 | |
| 326 | # Grouping the document tree into Texinfo files. List of tuples |
| 327 | # (source start file, target name, title, author, |
| 328 | # dir menu entry, description, category) |
| 329 | texinfo_documents = [ |
| 330 | (master_doc, 'VPPtestframework', u'VPP test framework Documentation', |
| 331 | author, 'VPPtestframework', 'One line description of project.', |
| 332 | 'Miscellaneous'), |
| 333 | ] |
| 334 | |
| 335 | # Documents to append as an appendix to all manuals. |
| 336 | # |
| 337 | # texinfo_appendices = [] |
| 338 | |
| 339 | # If false, no module index is generated. |
| 340 | # |
| 341 | # texinfo_domain_indices = True |
| 342 | |
| 343 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
| 344 | # |
| 345 | # texinfo_show_urls = 'footnote' |
| 346 | |
| 347 | # If true, do not generate a @detailmenu in the "Top" node's menu. |
| 348 | # |
| 349 | # texinfo_no_detailmenu = False |