Index: tools/telemetry/third_party/gsutilz/third_party/rsa/doc/conf.py |
diff --git a/native_client_sdk/src/doc/conf.py b/tools/telemetry/third_party/gsutilz/third_party/rsa/doc/conf.py |
similarity index 66% |
copy from native_client_sdk/src/doc/conf.py |
copy to tools/telemetry/third_party/gsutilz/third_party/rsa/doc/conf.py |
index 6ebf067ca358cbe193f60927e55074463b119a43..f2e66a74fae3bff38d80e189124a992ae1babf3a 100644 |
--- a/native_client_sdk/src/doc/conf.py |
+++ b/tools/telemetry/third_party/gsutilz/third_party/rsa/doc/conf.py |
@@ -1,11 +1,7 @@ |
-# 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. |
+# 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. |
# |
@@ -16,9 +12,12 @@ |
# serve to show the default. |
import sys, os |
+import rsa |
-# 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.insert(0, os.path.abspath('.')) |
# -- General configuration ----------------------------------------------------- |
@@ -27,7 +26,10 @@ sys.path.insert(0, os.path.abspath('_sphinxext')) |
# 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.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'] |
@@ -36,26 +38,27 @@ templates_path = ['_templates'] |
source_suffix = '.rst' |
# The encoding of source files. |
-#source_encoding = 'utf-8-sig' |
+source_encoding = 'utf-8' |
# The master toctree document. |
master_doc = 'index' |
# General information about the project. |
-project = u'Native Client' |
+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 = '31' |
+version = rsa.__version__ |
# The full version, including alpha/beta/rc tags. |
-release = '31' |
+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: |
@@ -65,7 +68,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 +84,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 = '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 |
@@ -129,7 +132,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 = {} |
@@ -165,21 +168,56 @@ html_use_smartypants = True |
#html_file_suffix = None |
# Output file base name for HTML help builder. |
-htmlhelp_basename = 'NativeClientdoc' |
- |
-linkcheck_ignore = [ |
- # General links not worth checking |
- r'http://localhost.*', |
- r'about:.*', |
- r'chrome:.*', |
- r'.*local_extensions\.css', |
- |
- # |
- # Specific known bad cases go here. |
- # |
- |
- # 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.*', |
- ] |
+htmlhelp_basename = 'Python-RSAdoc' |
+ |
+ |
+# -- 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', '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 |
+# 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 |
+ |
+ |
+# -- Options for manual page output -------------------------------------------- |
+ |
+# One entry per manual page. List of tuples |
+# (source start file, name, description, authors, manual section). |
+man_pages = [ |
+ ('index', 'python-rsa', u'Python-RSA Documentation', |
+ [u'Sybren A. Stüvel'], 1) |
+] |
+ |
+todo_include_todos = True |