Back to home page

OSCL-LXR

 
 

    


0001 # -*- coding: utf-8 -*-
0002 #
0003 # pyspark documentation build configuration file, created by
0004 # sphinx-quickstart on Thu Aug 28 15:17:47 2014.
0005 #
0006 # This file is execfile()d with the current directory set to its
0007 # containing dir.
0008 #
0009 # Note that not all possible configuration values are present in this
0010 # autogenerated file.
0011 #
0012 # All configuration values have a default; values that are commented out
0013 # serve to show the default.
0014 
0015 import sys
0016 import os
0017 
0018 # If extensions (or modules to document with autodoc) are in another directory,
0019 # add these directories to sys.path here. If the directory is relative to the
0020 # documentation root, use os.path.abspath to make it absolute, like shown here.
0021 sys.path.insert(0, os.path.abspath('.'))
0022 
0023 # -- General configuration ------------------------------------------------
0024 
0025 # If your documentation needs a minimal Sphinx version, state it here.
0026 needs_sphinx = '1.2'
0027 
0028 # Add any Sphinx extension module names here, as strings. They can be
0029 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
0030 # ones.
0031 extensions = [
0032     'sphinx.ext.autodoc',
0033     'sphinx.ext.viewcode',
0034     'sphinx.ext.mathjax',
0035 ]
0036 
0037 # Add any paths that contain templates here, relative to this directory.
0038 templates_path = ['_templates']
0039 
0040 # The suffix of source filenames.
0041 source_suffix = '.rst'
0042 
0043 # The encoding of source files.
0044 #source_encoding = 'utf-8-sig'
0045 
0046 # The master toctree document.
0047 master_doc = 'index'
0048 
0049 # General information about the project.
0050 project = u'PySpark'
0051 copyright = u''
0052 
0053 # The version info for the project you're documenting, acts as replacement for
0054 # |version| and |release|, also used in various other places throughout the
0055 # built documents.
0056 #
0057 # The short X.Y version.
0058 version = 'master'
0059 # The full version, including alpha/beta/rc tags.
0060 release = os.environ.get('RELEASE_VERSION', version)
0061 
0062 # The language for content autogenerated by Sphinx. Refer to documentation
0063 # for a list of supported languages.
0064 #language = None
0065 
0066 # There are two options for replacing |today|: either, you set today to some
0067 # non-false value, then it is used:
0068 #today = ''
0069 # Else, today_fmt is used as the format for a strftime call.
0070 #today_fmt = '%B %d, %Y'
0071 
0072 # List of patterns, relative to source directory, that match files and
0073 # directories to ignore when looking for source files.
0074 exclude_patterns = ['_build']
0075 
0076 # The reST default role (used for this markup: `text`) to use for all
0077 # documents.
0078 #default_role = None
0079 
0080 # If true, '()' will be appended to :func: etc. cross-reference text.
0081 #add_function_parentheses = True
0082 
0083 # If true, the current module name will be prepended to all description
0084 # unit titles (such as .. function::).
0085 #add_module_names = True
0086 
0087 # If true, sectionauthor and moduleauthor directives will be shown in the
0088 # output. They are ignored by default.
0089 #show_authors = False
0090 
0091 # The name of the Pygments (syntax highlighting) style to use.
0092 pygments_style = 'sphinx'
0093 
0094 # A list of ignored prefixes for module index sorting.
0095 #modindex_common_prefix = []
0096 
0097 # If true, keep warnings as "system message" paragraphs in the built documents.
0098 #keep_warnings = False
0099 
0100 # -- Options for autodoc --------------------------------------------------
0101 
0102 # Look at the first line of the docstring for function and method signatures.
0103 autodoc_docstring_signature = True
0104 
0105 # -- Options for HTML output ----------------------------------------------
0106 
0107 # The theme to use for HTML and HTML Help pages.  See the documentation for
0108 # a list of builtin themes.
0109 html_theme = 'nature'
0110 
0111 # Theme options are theme-specific and customize the look and feel of a theme
0112 # further.  For a list of options available for each theme, see the
0113 # documentation.
0114 #html_theme_options = {}
0115 
0116 # Add any paths that contain custom themes here, relative to this directory.
0117 #html_theme_path = []
0118 
0119 # The name for this set of Sphinx documents.  If None, it defaults to
0120 # "<project> v<release> documentation".
0121 #html_title = None
0122 
0123 # A shorter title for the navigation bar.  Default is the same as html_title.
0124 #html_short_title = None
0125 
0126 # The name of an image file (relative to this directory) to place at the top
0127 # of the sidebar.
0128 html_logo = "../../docs/img/spark-logo-hd.png"
0129 
0130 # The name of an image file (within the static path) to use as favicon of the
0131 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
0132 # pixels large.
0133 #html_favicon = None
0134 
0135 # Add any paths that contain custom static files (such as style sheets) here,
0136 # relative to this directory. They are copied after the builtin static files,
0137 # so a file named "default.css" will overwrite the builtin "default.css".
0138 html_static_path = ['_static']
0139 
0140 # Add any extra paths that contain custom files (such as robots.txt or
0141 # .htaccess) here, relative to this directory. These files are copied
0142 # directly to the root of the documentation.
0143 #html_extra_path = []
0144 
0145 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
0146 # using the given strftime format.
0147 #html_last_updated_fmt = '%b %d, %Y'
0148 
0149 # If true, SmartyPants will be used to convert quotes and dashes to
0150 # typographically correct entities.
0151 #html_use_smartypants = True
0152 
0153 # Custom sidebar templates, maps document names to template names.
0154 #html_sidebars = {}
0155 
0156 # Additional templates that should be rendered to pages, maps page names to
0157 # template names.
0158 #html_additional_pages = {}
0159 
0160 # If false, no module index is generated.
0161 html_domain_indices = False
0162 
0163 # If false, no index is generated.
0164 html_use_index = False
0165 
0166 # If true, the index is split into individual pages for each letter.
0167 #html_split_index = False
0168 
0169 # If true, links to the reST sources are added to the pages.
0170 #html_show_sourcelink = True
0171 
0172 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
0173 #html_show_sphinx = True
0174 
0175 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
0176 #html_show_copyright = True
0177 
0178 # If true, an OpenSearch description file will be output, and all pages will
0179 # contain a <link> tag referring to it.  The value of this option must be the
0180 # base URL from which the finished HTML is served.
0181 #html_use_opensearch = ''
0182 
0183 # This is the file name suffix for HTML files (e.g. ".xhtml").
0184 #html_file_suffix = None
0185 
0186 # Output file base name for HTML help builder.
0187 htmlhelp_basename = 'pysparkdoc'
0188 
0189 
0190 # -- Options for LaTeX output ---------------------------------------------
0191 
0192 latex_elements = {
0193 # The paper size ('letterpaper' or 'a4paper').
0194 #'papersize': 'letterpaper',
0195 
0196 # The font size ('10pt', '11pt' or '12pt').
0197 #'pointsize': '10pt',
0198 
0199 # Additional stuff for the LaTeX preamble.
0200 #'preamble': '',
0201 }
0202 
0203 # Grouping the document tree into LaTeX files. List of tuples
0204 # (source start file, target name, title,
0205 #  author, documentclass [howto, manual, or own class]).
0206 latex_documents = [
0207   ('index', 'pyspark.tex', u'pyspark Documentation',
0208    u'Author', 'manual'),
0209 ]
0210 
0211 # The name of an image file (relative to this directory) to place at the top of
0212 # the title page.
0213 #latex_logo = None
0214 
0215 # For "manual" documents, if this is true, then toplevel headings are parts,
0216 # not chapters.
0217 #latex_use_parts = False
0218 
0219 # If true, show page references after internal links.
0220 #latex_show_pagerefs = False
0221 
0222 # If true, show URL addresses after external links.
0223 #latex_show_urls = False
0224 
0225 # Documents to append as an appendix to all manuals.
0226 #latex_appendices = []
0227 
0228 # If false, no module index is generated.
0229 #latex_domain_indices = True
0230 
0231 
0232 # -- Options for manual page output ---------------------------------------
0233 
0234 # One entry per manual page. List of tuples
0235 # (source start file, name, description, authors, manual section).
0236 man_pages = [
0237     ('index', 'pyspark', u'pyspark Documentation',
0238      [u'Author'], 1)
0239 ]
0240 
0241 # If true, show URL addresses after external links.
0242 #man_show_urls = False
0243 
0244 
0245 # -- Options for Texinfo output -------------------------------------------
0246 
0247 # Grouping the document tree into Texinfo files. List of tuples
0248 # (source start file, target name, title, author,
0249 #  dir menu entry, description, category)
0250 texinfo_documents = [
0251   ('index', 'pyspark', u'pyspark Documentation',
0252    u'Author', 'pyspark', 'One line description of project.',
0253    'Miscellaneous'),
0254 ]
0255 
0256 # Documents to append as an appendix to all manuals.
0257 #texinfo_appendices = []
0258 
0259 # If false, no module index is generated.
0260 #texinfo_domain_indices = True
0261 
0262 # How to display URL addresses: 'footnote', 'no', or 'inline'.
0263 #texinfo_show_urls = 'footnote'
0264 
0265 # If true, do not generate a @detailmenu in the "Top" node's menu.
0266 #texinfo_no_detailmenu = False
0267 
0268 
0269 # -- Options for Epub output ----------------------------------------------
0270 
0271 # Bibliographic Dublin Core info.
0272 epub_title = u'pyspark'
0273 epub_author = u'Author'
0274 epub_publisher = u'Author'
0275 epub_copyright = u'2014, Author'
0276 
0277 # The basename for the epub file. It defaults to the project name.
0278 #epub_basename = u'pyspark'
0279 
0280 # The HTML theme for the epub output. Since the default themes are not optimized
0281 # for small screen space, using the same theme for HTML and epub output is
0282 # usually not wise. This defaults to 'epub', a theme designed to save visual
0283 # space.
0284 #epub_theme = 'epub'
0285 
0286 # The language of the text. It defaults to the language option
0287 # or en if the language is not set.
0288 #epub_language = ''
0289 
0290 # The scheme of the identifier. Typical schemes are ISBN or URL.
0291 #epub_scheme = ''
0292 
0293 # The unique identifier of the text. This can be a ISBN number
0294 # or the project homepage.
0295 #epub_identifier = ''
0296 
0297 # A unique identification for the text.
0298 #epub_uid = ''
0299 
0300 # A tuple containing the cover image and cover page html template filenames.
0301 #epub_cover = ()
0302 
0303 # A sequence of (type, uri, title) tuples for the guide element of content.opf.
0304 #epub_guide = ()
0305 
0306 # HTML files that should be inserted before the pages created by sphinx.
0307 # The format is a list of tuples containing the path and title.
0308 #epub_pre_files = []
0309 
0310 # HTML files shat should be inserted after the pages created by sphinx.
0311 # The format is a list of tuples containing the path and title.
0312 #epub_post_files = []
0313 
0314 # A list of files that should not be packed into the epub file.
0315 epub_exclude_files = ['search.html']
0316 
0317 # The depth of the table of contents in toc.ncx.
0318 #epub_tocdepth = 3
0319 
0320 # Allow duplicate toc entries.
0321 #epub_tocdup = True
0322 
0323 # Choose between 'default' and 'includehidden'.
0324 #epub_tocscope = 'default'
0325 
0326 # Fix unsupported image types using the PIL.
0327 #epub_fix_images = False
0328 
0329 # Scale large images.
0330 #epub_max_image_width = 0
0331 
0332 # How to display URL addresses: 'footnote', 'no', or 'inline'.
0333 #epub_show_urls = 'inline'
0334 
0335 # If false, no index is generated.
0336 #epub_use_index = True
0337 def setup(app):
0338     app.add_javascript('copybutton.js')
0339 
0340 # Skip sample endpoint link (not expected to resolve)
0341 linkcheck_ignore = [r'https://kinesis.us-east-1.amazonaws.com']