| Index: tools/telemetry/third_party/gsutilz/third_party/six/documentation/conf.py
|
| diff --git a/native_client_sdk/src/doc/conf.py b/tools/telemetry/third_party/gsutilz/third_party/six/documentation/conf.py
|
| similarity index 62%
|
| copy from native_client_sdk/src/doc/conf.py
|
| copy to tools/telemetry/third_party/gsutilz/third_party/six/documentation/conf.py
|
| index 6ebf067ca358cbe193f60927e55074463b119a43..fd285c7b2ef532cb015fbab61f2e2d03871ae630 100644
|
| --- a/native_client_sdk/src/doc/conf.py
|
| +++ b/tools/telemetry/third_party/gsutilz/third_party/six/documentation/conf.py
|
| @@ -1,57 +1,52 @@
|
| -# Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| -# Use of this source code is governed by a BSD-style license that can be
|
| -# found in the LICENSE file.
|
| -
|
| # -*- coding: utf-8 -*-
|
| #
|
| -# Native Client documentation build configuration file, created by
|
| -# sphinx-quickstart on Thu Aug 15 11:31:06 2013.
|
| -#
|
| -# This file is execfile()d with the current directory set to its containing dir.
|
| -#
|
| -# Note that not all possible configuration values are present in this
|
| -# autogenerated file.
|
| -#
|
| -# All configuration values have a default; values that are commented out
|
| -# serve to show the default.
|
| +# six documentation build configuration file
|
|
|
| -import sys, os
|
| +import os
|
| +import sys
|
|
|
| -# Where we keep our extensions...
|
| -sys.path.insert(0, os.path.abspath('_sphinxext'))
|
| +# If extensions (or modules to document with autodoc) are in another directory,
|
| +# add these directories to sys.path here. If the directory is relative to the
|
| +# documentation root, use os.path.abspath to make it absolute, like shown here.
|
| +#sys.path.append(os.path.abspath('.'))
|
|
|
| # -- General configuration -----------------------------------------------------
|
|
|
| # If your documentation needs a minimal Sphinx version, state it here.
|
| -#needs_sphinx = '1.0'
|
| +needs_sphinx = "1.0"
|
|
|
| # Add any Sphinx extension module names here, as strings. They can be extensions
|
| # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
| -extensions = ['devsite_builder', 'chromesite_builder']
|
| +extensions = ["sphinx.ext.intersphinx"]
|
|
|
| # Add any paths that contain templates here, relative to this directory.
|
| -templates_path = ['_templates']
|
| +templates_path = ["_templates"]
|
|
|
| # The suffix of source filenames.
|
| -source_suffix = '.rst'
|
| +source_suffix = ".rst"
|
|
|
| # The encoding of source files.
|
| -#source_encoding = 'utf-8-sig'
|
| +#source_encoding = "utf-8-sig"
|
|
|
| # The master toctree document.
|
| -master_doc = 'index'
|
| +master_doc = "index"
|
|
|
| # General information about the project.
|
| -project = u'Native Client'
|
| +project = u"six"
|
| +copyright = u"2010-2014, Benjamin Peterson"
|
| +
|
| +sys.path.append(os.path.abspath(os.path.join(".", "..")))
|
| +from six import __version__ as six_version
|
| +sys.path.pop()
|
|
|
| # The version info for the project you're documenting, acts as replacement for
|
| # |version| and |release|, also used in various other places throughout the
|
| # built documents.
|
| #
|
| # The short X.Y version.
|
| -version = '31'
|
| +version = six_version[:-2]
|
| # The full version, including alpha/beta/rc tags.
|
| -release = '31'
|
| +release = six_version
|
|
|
| # The language for content autogenerated by Sphinx. Refer to documentation
|
| # for a list of supported languages.
|
| @@ -65,7 +60,7 @@ release = '31'
|
|
|
| # List of patterns, relative to source directory, that match files and
|
| # directories to ignore when looking for source files.
|
| -exclude_patterns = ['_build', '**/.#*']
|
| +exclude_patterns = ["_build"]
|
|
|
| # The reST default role (used for this markup: `text`) to use for all documents.
|
| #default_role = None
|
| @@ -81,18 +76,18 @@ exclude_patterns = ['_build', '**/.#*']
|
| # output. They are ignored by default.
|
| #show_authors = False
|
|
|
| +# The name of the Pygments (syntax highlighting) style to use.
|
| +pygments_style = "sphinx"
|
| +
|
| # A list of ignored prefixes for module index sorting.
|
| #modindex_common_prefix = []
|
|
|
| -# If true, keep warnings as "system message" paragraphs in the built documents.
|
| -#keep_warnings = False
|
| -
|
|
|
| # -- Options for HTML output ---------------------------------------------------
|
|
|
| # The theme to use for HTML and HTML Help pages. See the documentation for
|
| # a list of builtin themes.
|
| -html_theme = 'default'
|
| +html_theme = "default"
|
|
|
| # Theme options are theme-specific and customize the look and feel of a theme
|
| # further. For a list of options available for each theme, see the
|
| @@ -121,7 +116,7 @@ html_theme = 'default'
|
| # Add any paths that contain custom static files (such as style sheets) here,
|
| # relative to this directory. They are copied after the builtin static files,
|
| # so a file named "default.css" will overwrite the builtin "default.css".
|
| -html_static_path = ['_static']
|
| +html_static_path = ["_static"]
|
|
|
| # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
| # using the given strftime format.
|
| @@ -129,7 +124,7 @@ html_static_path = ['_static']
|
|
|
| # If true, SmartyPants will be used to convert quotes and dashes to
|
| # typographically correct entities.
|
| -html_use_smartypants = True
|
| +#html_use_smartypants = True
|
|
|
| # Custom sidebar templates, maps document names to template names.
|
| #html_sidebars = {}
|
| @@ -161,25 +156,62 @@ html_use_smartypants = True
|
| # base URL from which the finished HTML is served.
|
| #html_use_opensearch = ''
|
|
|
| -# This is the file name suffix for HTML files (e.g. ".xhtml").
|
| -#html_file_suffix = None
|
| +# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
|
| +#html_file_suffix = ''
|
|
|
| # Output file base name for HTML help builder.
|
| -htmlhelp_basename = 'NativeClientdoc'
|
| +htmlhelp_basename = 'sixdoc'
|
| +
|
| +
|
| +# -- Options for LaTeX output --------------------------------------------------
|
| +
|
| +# The paper size ('letter' or 'a4').
|
| +#latex_paper_size = 'letter'
|
| +
|
| +# The font size ('10pt', '11pt' or '12pt').
|
| +#latex_font_size = '10pt'
|
| +
|
| +# Grouping the document tree into LaTeX files. List of tuples
|
| +# (source start file, target name, title, author, documentclass [howto/manual]).
|
| +latex_documents = [
|
| + ("index", "six.tex", u"six Documentation",
|
| + u"Benjamin Peterson", "manual"),
|
| +]
|
| +
|
| +# The name of an image file (relative to this directory) to place at the top of
|
| +# the title page.
|
| +#latex_logo = None
|
| +
|
| +# For "manual" documents, if this is true, then toplevel headings are parts,
|
| +# not chapters.
|
| +#latex_use_parts = False
|
| +
|
| +# If true, show page references after internal links.
|
| +#latex_show_pagerefs = False
|
| +
|
| +# If true, show URL addresses after external links.
|
| +#latex_show_urls = False
|
| +
|
| +# Additional stuff for the LaTeX preamble.
|
| +#latex_preamble = ''
|
| +
|
| +# Documents to append as an appendix to all manuals.
|
| +#latex_appendices = []
|
| +
|
| +# If false, no module index is generated.
|
| +#latex_domain_indices = True
|
| +
|
|
|
| -linkcheck_ignore = [
|
| - # General links not worth checking
|
| - r'http://localhost.*',
|
| - r'about:.*',
|
| - r'chrome:.*',
|
| - r'.*local_extensions\.css',
|
| +# -- Options for manual page output --------------------------------------------
|
|
|
| - #
|
| - # Specific known bad cases go here.
|
| - #
|
| +# One entry per manual page. List of tuples
|
| +# (source start file, name, description, authors, manual section).
|
| +man_pages = [
|
| + ("index", "six", u"six Documentation",
|
| + [u"Benjamin Peterson"], 1)
|
| +]
|
|
|
| - # linkcheck's anchor checker can't check these because they are
|
| - # server-generated and don't actually appear in the HTML of the page.
|
| - r'https://code.google.com.*browse#svn.*',
|
| - ]
|
| +# -- Intersphinx ---------------------------------------------------------------
|
|
|
| +intersphinx_mapping = {"py2" : ("http://docs.python.org/2/", None),
|
| + "py3" : ("http://docs.python.org/3/", None)}
|
|
|