Index: third_party/gsutil/third_party/rsa/doc/conf.py |
diff --git a/third_party/six/documentation/conf.py b/third_party/gsutil/third_party/rsa/doc/conf.py |
similarity index 81% |
copy from third_party/six/documentation/conf.py |
copy to third_party/gsutil/third_party/rsa/doc/conf.py |
index 0215bdd40592dd3d87a1e8f544042175661e54ae..f2e66a74fae3bff38d80e189124a992ae1babf3a 100644 |
--- a/third_party/six/documentation/conf.py |
+++ b/third_party/gsutil/third_party/rsa/doc/conf.py |
@@ -1,56 +1,64 @@ |
# -*- coding: utf-8 -*- |
# |
-# six documentation build configuration file |
+# Python-RSA documentation build configuration file, created by |
+# sphinx-quickstart on Sat Jul 30 23:11:07 2011. |
+# |
+# 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. |
-import os |
-import sys |
+import sys, os |
+import rsa |
# 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('.')) |
+#sys.path.insert(0, 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 = ["sphinx.ext.intersphinx"] |
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', |
+ 'sphinx.ext.coverage', 'sphinx.ext.pngmath'] |
+ |
+# I would like to add 'sphinx.ext.viewcode', but it causes a UnicodeDecodeError |
# 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' |
# The master toctree document. |
-master_doc = "index" |
+master_doc = 'index' |
# General information about the project. |
-project = u"six" |
-copyright = u"2010-2015, Benjamin Peterson" |
- |
-sys.path.append(os.path.abspath(os.path.join(".", ".."))) |
-from six import __version__ as six_version |
-sys.path.pop() |
+project = u'Python-RSA' |
+copyright = u'2011, Sybren A. Stüvel' |
# 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 = six_version[:-2] |
+version = rsa.__version__ |
# The full version, including alpha/beta/rc tags. |
-release = six_version |
+release = rsa.__version__ |
# The language for content autogenerated by Sphinx. Refer to documentation |
# for a list of supported languages. |
-#language = None |
+language = 'en' |
# There are two options for replacing |today|: either, you set today to some |
# non-false value, then it is used: |
@@ -60,7 +68,7 @@ release = six_version |
# 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 |
@@ -77,7 +85,7 @@ exclude_patterns = ["_build"] |
#show_authors = False |
# The name of the Pygments (syntax highlighting) style to use. |
-pygments_style = "sphinx" |
+pygments_style = 'sphinx' |
# A list of ignored prefixes for module index sorting. |
#modindex_common_prefix = [] |
@@ -87,7 +95,7 @@ pygments_style = "sphinx" |
# The theme to use for HTML and HTML Help pages. See the documentation for |
# a list of builtin themes. |
-html_theme = "default" |
+html_theme = 'sphinxdoc' |
# 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 |
@@ -116,7 +124,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. |
@@ -156,11 +164,11 @@ html_static_path = ["_static"] |
# base URL from which the finished HTML is served. |
#html_use_opensearch = '' |
-# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). |
-#html_file_suffix = '' |
+# This is the file name suffix for HTML files (e.g. ".xhtml"). |
+#html_file_suffix = None |
# Output file base name for HTML help builder. |
-htmlhelp_basename = 'sixdoc' |
+htmlhelp_basename = 'Python-RSAdoc' |
# -- Options for LaTeX output -------------------------------------------------- |
@@ -174,8 +182,8 @@ htmlhelp_basename = 'sixdoc' |
# 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"), |
+ ('index', 'Python-RSA.tex', u'Python-RSA Documentation', |
+ u'Sybren A. Stüvel', 'manual'), |
] |
# The name of an image file (relative to this directory) to place at the top of |
@@ -207,11 +215,9 @@ latex_documents = [ |
# 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) |
+ ('index', 'python-rsa', u'Python-RSA Documentation', |
+ [u'Sybren A. Stüvel'], 1) |
] |
-# -- Intersphinx --------------------------------------------------------------- |
+todo_include_todos = True |
-intersphinx_mapping = {"py2" : ("https://docs.python.org/2/", None), |
- "py3" : ("https://docs.python.org/3/", None)} |