1#!/usr/bin/env python3 2# -*- coding: utf-8 -*- 3# 4# . documentation build configuration file, created by 5# sphinx-quickstart on Thu May 1 18:34:23 2014. 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 16import sys 17import os 18import shlex 19 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. 23sys.path.insert(0, "@CMAKE_CURRENT_BINARY_DIR@/pyupm/") 24sys.path.insert(0, "@MRAA_LIBDIR@@LIB_SUFFIX@") 25 26# -- General configuration ------------------------------------------------ 27 28# Custom flags and filters if needed 29# autodoc_default_flags = ['members', 'private-members', 'special-members', 'undoc-members', 'show-inheritance'] 30 31# def autodoc_skip_member(app, what, name, obj, skip, options): 32 # exclusions = ('__weakref__', # special-members 33 # '__doc__', '__module__', '__dict__', # undoc-members 34 # 'swig_import_helper' 35 # ) 36 # exclude = name in exclusions 37 # return skip or exclude 38 39# def setup(app): 40 # app.connect('autodoc-skip-member', autodoc_skip_member) 41 42# If your documentation needs a minimal Sphinx version, state it here. 43#needs_sphinx = '1.0' 44 45# Add any Sphinx extension module names here, as strings. They can be 46# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 47# ones. 48extensions = [ 49 'sphinx.ext.autodoc', 50 'sphinx.ext.todo', 51 'sphinx.ext.viewcode', 52] 53 54# Add any paths that contain templates here, relative to this directory. 55templates_path = ['_templates'] 56 57# The suffix of source filenames. 58source_suffix = '.rst' 59 60# The encoding of source files. 61#source_encoding = 'utf-8-sig' 62 63# The master toctree document. 64master_doc = 'index' 65 66# General information about the project. 67project = 'upm' 68copyright = '2015, Intel Corporation' 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. 75version = '@upm_VERSION_STRING@' 76# The full version, including alpha/beta/rc tags. 77release = '@VERSION@' 78 79# The language for content autogenerated by Sphinx. Refer to documentation 80# for a list of supported languages. 81#language = None 82 83# There are two options for replacing |today|: either, you set today to some 84# non-false value, then it is used: 85#today = '' 86# Else, today_fmt is used as the format for a strftime call. 87#today_fmt = '%B %d, %Y' 88 89# List of patterns, relative to source directory, that match files and 90# directories to ignore when looking for source files. 91exclude_patterns = ['_build', '**/.git', '**/CMakeFiles/**', '**/CMakeLists.txt'] 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. 109pygments_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. 118todo_include_todos = True 119 120# -- Options for HTML output ---------------------------------------------- 121 122# The theme to use for HTML and HTML Help pages. See the documentation for 123# a list of builtin themes. 124html_theme = 'default' 125#html_theme = '@SPHINX_THEME@' 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 = ['@SPHINX_THEME_DIR@'] 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 = None 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 = None 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". 154html_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# Output file base name for HTML help builder. 203htmlhelp_basename = 'upmdoc' 204 205 206# -- Options for LaTeX output --------------------------------------------- 207 208latex_elements = { 209# The paper size ('letterpaper' or 'a4paper'). 210#'papersize': 'letterpaper', 211 212# The font size ('10pt', '11pt' or '12pt'). 213#'pointsize': '10pt', 214 215# Additional stuff for the LaTeX preamble. 216#'preamble': '', 217} 218 219# Grouping the document tree into LaTeX files. List of tuples 220# (source start file, target name, title, 221# author, documentclass [howto, manual, or own class]). 222latex_documents = [ 223 ('index', 'sphinx.tex', '. Documentation', 224 'Author', 'manual'), 225] 226 227# The name of an image file (relative to this directory) to place at the top of 228# the title page. 229#latex_logo = None 230 231# For "manual" documents, if this is true, then toplevel headings are parts, 232# not chapters. 233#latex_use_parts = False 234 235# If true, show page references after internal links. 236#latex_show_pagerefs = False 237 238# If true, show URL addresses after external links. 239#latex_show_urls = False 240 241# Documents to append as an appendix to all manuals. 242#latex_appendices = [] 243 244# If false, no module index is generated. 245#latex_domain_indices = True 246 247 248# -- Options for manual page output --------------------------------------- 249 250# One entry per manual page. List of tuples 251# (source start file, name, description, authors, manual section). 252man_pages = [ 253 ('index', 'sphinx', '. Documentation', 254 ['Author'], 1) 255] 256 257# If true, show URL addresses after external links. 258#man_show_urls = False 259 260 261# -- Options for Texinfo output ------------------------------------------- 262 263# Grouping the document tree into Texinfo files. List of tuples 264# (source start file, target name, title, author, 265# dir menu entry, description, category) 266texinfo_documents = [ 267 ('index', 'sphinx', '. Documentation', 268 'Author', 'sphinx', 'One line description of project.', 269 'Miscellaneous'), 270] 271 272# Documents to append as an appendix to all manuals. 273#texinfo_appendices = [] 274 275# If false, no module index is generated. 276#texinfo_domain_indices = True 277 278# How to display URL addresses: 'footnote', 'no', or 'inline'. 279#texinfo_show_urls = 'footnote' 280 281# If true, do not generate a @detailmenu in the "Top" node's menu. 282#texinfo_no_detailmenu = False 283 284 285# -- Options for Epub output ---------------------------------------------- 286 287# Bibliographic Dublin Core info. 288epub_title = '.' 289epub_author = 'UPM' 290epub_publisher = 'UPM' 291epub_copyright = '2015, Intel Corporation' 292 293# The basename for the epub file. It defaults to the project name. 294#epub_basename = '.' 295 296# The HTML theme for the epub output. Since the default themes are not optimized 297# for small screen space, using the same theme for HTML and epub output is 298# usually not wise. This defaults to 'epub', a theme designed to save visual 299# space. 300#epub_theme = 'epub' 301 302# The language of the text. It defaults to the language option 303# or en if the language is not set. 304#epub_language = '' 305 306# The scheme of the identifier. Typical schemes are ISBN or URL. 307#epub_scheme = '' 308 309# The unique identifier of the text. This can be a ISBN number 310# or the project homepage. 311#epub_identifier = '' 312 313# A unique identification for the text. 314#epub_uid = '' 315 316# A tuple containing the cover image and cover page html template filenames. 317#epub_cover = () 318 319# A sequence of (type, uri, title) tuples for the guide element of content.opf. 320#epub_guide = () 321 322# HTML files that should be inserted before the pages created by sphinx. 323# The format is a list of tuples containing the path and title. 324#epub_pre_files = [] 325 326# HTML files shat should be inserted after the pages created by sphinx. 327# The format is a list of tuples containing the path and title. 328#epub_post_files = [] 329 330# A list of files that should not be packed into the epub file. 331epub_exclude_files = ['search.html'] 332 333# The depth of the table of contents in toc.ncx. 334#epub_tocdepth = 3 335 336# Allow duplicate toc entries. 337#epub_tocdup = True 338 339# Choose between 'default' and 'includehidden'. 340#epub_tocscope = 'default' 341 342# Fix unsupported image types using the PIL. 343#epub_fix_images = False 344 345# Scale large images. 346#epub_max_image_width = 0 347 348# How to display URL addresses: 'footnote', 'no', or 'inline'. 349#epub_show_urls = 'inline' 350 351# If false, no index is generated. 352#epub_use_index = True 353