1
|
|
|
# -*- coding: utf-8 -*- |
2
|
|
|
# |
3
|
|
|
# connectordb documentation build configuration file, created by |
4
|
|
|
# sphinx-quickstart on Wed Aug 12 02:02:30 2015. |
5
|
|
|
# |
6
|
|
|
# This file is execfile()d with the current directory set to its |
7
|
|
|
# containing dir. |
8
|
|
|
# |
9
|
|
|
# Note that not all possible configuration values are present in this |
10
|
|
|
# autogenerated file. |
11
|
|
|
# |
12
|
|
|
# All configuration values have a default; values that are commented out |
13
|
|
|
# serve to show the default. |
14
|
|
|
|
15
|
|
|
import sys |
16
|
|
|
import os |
17
|
|
|
import shlex |
18
|
|
|
|
19
|
|
|
|
20
|
|
|
sys.path.insert(0,os.path.abspath("../")) |
21
|
|
|
|
22
|
|
|
|
23
|
|
|
from mock import MagicMock |
24
|
|
|
class Mock(MagicMock): |
25
|
|
|
@classmethod |
26
|
|
|
def __getattr__(cls,name): |
27
|
|
|
if name=="_mock_methods": |
28
|
|
|
return None |
29
|
|
|
|
30
|
|
|
print cls,name |
31
|
|
|
return Mock() |
32
|
|
|
|
33
|
|
|
MOCK_MODULES = ['apsw'] |
34
|
|
|
sys.modules.update((mod_name,Mock()) for mod_name in MOCK_MODULES) |
35
|
|
|
|
36
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
37
|
|
|
# add these directories to sys.path here. If the directory is relative to the |
38
|
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here. |
39
|
|
|
#sys.path.insert(0, os.path.abspath('.')) |
40
|
|
|
|
41
|
|
|
# -- General configuration ------------------------------------------------ |
42
|
|
|
|
43
|
|
|
# If your documentation needs a minimal Sphinx version, state it here. |
44
|
|
|
#needs_sphinx = '1.0' |
45
|
|
|
|
46
|
|
|
# Add any Sphinx extension module names here, as strings. They can be |
47
|
|
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
48
|
|
|
# ones. |
49
|
|
|
extensions = [ |
50
|
|
|
'sphinx.ext.autodoc', |
51
|
|
|
'sphinx.ext.todo', |
52
|
|
|
'sphinx.ext.coverage', |
53
|
|
|
'sphinx.ext.viewcode', |
54
|
|
|
] |
55
|
|
|
|
56
|
|
|
# Add any paths that contain templates here, relative to this directory. |
57
|
|
|
templates_path = ['_templates'] |
58
|
|
|
|
59
|
|
|
# The suffix(es) of source filenames. |
60
|
|
|
# You can specify multiple suffix as a list of string: |
61
|
|
|
# source_suffix = ['.rst', '.md'] |
62
|
|
|
source_suffix = '.rst' |
63
|
|
|
|
64
|
|
|
# The encoding of source files. |
65
|
|
|
#source_encoding = 'utf-8-sig' |
66
|
|
|
|
67
|
|
|
# The master toctree document. |
68
|
|
|
master_doc = 'index' |
69
|
|
|
|
70
|
|
|
# General information about the project. |
71
|
|
|
project = u'connectordb' |
72
|
|
|
copyright = u'2015, ConnectorDB Contributors' |
73
|
|
|
author = u'ConnectorDB contributors' |
74
|
|
|
|
75
|
|
|
# The version info for the project you're documenting, acts as replacement for |
76
|
|
|
# |version| and |release|, also used in various other places throughout the |
77
|
|
|
# built documents. |
78
|
|
|
# |
79
|
|
|
# The short X.Y version. |
80
|
|
|
version = '0.3' |
81
|
|
|
# The full version, including alpha/beta/rc tags. |
82
|
|
|
release = '0.3.0' |
83
|
|
|
|
84
|
|
|
# The language for content autogenerated by Sphinx. Refer to documentation |
85
|
|
|
# for a list of supported languages. |
86
|
|
|
# |
87
|
|
|
# This is also used if you do content translation via gettext catalogs. |
88
|
|
|
# Usually you set "language" from the command line for these cases. |
89
|
|
|
language = None |
90
|
|
|
|
91
|
|
|
# There are two options for replacing |today|: either, you set today to some |
92
|
|
|
# non-false value, then it is used: |
93
|
|
|
#today = '' |
94
|
|
|
# Else, today_fmt is used as the format for a strftime call. |
95
|
|
|
#today_fmt = '%B %d, %Y' |
96
|
|
|
|
97
|
|
|
# List of patterns, relative to source directory, that match files and |
98
|
|
|
# directories to ignore when looking for source files. |
99
|
|
|
exclude_patterns = ['_build'] |
100
|
|
|
|
101
|
|
|
# The reST default role (used for this markup: `text`) to use for all |
102
|
|
|
# documents. |
103
|
|
|
#default_role = None |
104
|
|
|
|
105
|
|
|
# If true, '()' will be appended to :func: etc. cross-reference text. |
106
|
|
|
#add_function_parentheses = True |
107
|
|
|
|
108
|
|
|
# If true, the current module name will be prepended to all description |
109
|
|
|
# unit titles (such as .. function::). |
110
|
|
|
#add_module_names = True |
111
|
|
|
|
112
|
|
|
# If true, sectionauthor and moduleauthor directives will be shown in the |
113
|
|
|
# output. They are ignored by default. |
114
|
|
|
#show_authors = False |
115
|
|
|
|
116
|
|
|
# The name of the Pygments (syntax highlighting) style to use. |
117
|
|
|
#pygments_style = 'sphinx' |
118
|
|
|
|
119
|
|
|
# A list of ignored prefixes for module index sorting. |
120
|
|
|
#modindex_common_prefix = [] |
121
|
|
|
|
122
|
|
|
# If true, keep warnings as "system message" paragraphs in the built documents. |
123
|
|
|
#keep_warnings = False |
124
|
|
|
|
125
|
|
|
# If true, `todo` and `todoList` produce output, else they produce nothing. |
126
|
|
|
todo_include_todos = True |
127
|
|
|
|
128
|
|
|
|
129
|
|
|
# -- Options for HTML output ---------------------------------------------- |
130
|
|
|
|
131
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for |
132
|
|
|
# a list of builtin themes. |
133
|
|
|
#html_theme = 'alabaster' |
134
|
|
|
|
135
|
|
|
# Theme options are theme-specific and customize the look and feel of a theme |
136
|
|
|
# further. For a list of options available for each theme, see the |
137
|
|
|
# documentation. |
138
|
|
|
#html_theme_options = {} |
139
|
|
|
|
140
|
|
|
# Add any paths that contain custom themes here, relative to this directory. |
141
|
|
|
#html_theme_path = [] |
142
|
|
|
|
143
|
|
|
# The name for this set of Sphinx documents. If None, it defaults to |
144
|
|
|
# "<project> v<release> documentation". |
145
|
|
|
#html_title = None |
146
|
|
|
|
147
|
|
|
# A shorter title for the navigation bar. Default is the same as html_title. |
148
|
|
|
#html_short_title = None |
149
|
|
|
|
150
|
|
|
# The name of an image file (relative to this directory) to place at the top |
151
|
|
|
# of the sidebar. |
152
|
|
|
#html_logo = None |
153
|
|
|
|
154
|
|
|
# The name of an image file (within the static path) to use as favicon of the |
155
|
|
|
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
156
|
|
|
# pixels large. |
157
|
|
|
#html_favicon = None |
158
|
|
|
|
159
|
|
|
# Add any paths that contain custom static files (such as style sheets) here, |
160
|
|
|
# relative to this directory. They are copied after the builtin static files, |
161
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css". |
162
|
|
|
html_static_path = ['_static'] |
163
|
|
|
|
164
|
|
|
# Add any extra paths that contain custom files (such as robots.txt or |
165
|
|
|
# .htaccess) here, relative to this directory. These files are copied |
166
|
|
|
# directly to the root of the documentation. |
167
|
|
|
#html_extra_path = [] |
168
|
|
|
|
169
|
|
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
170
|
|
|
# using the given strftime format. |
171
|
|
|
#html_last_updated_fmt = '%b %d, %Y' |
172
|
|
|
|
173
|
|
|
# If true, SmartyPants will be used to convert quotes and dashes to |
174
|
|
|
# typographically correct entities. |
175
|
|
|
#html_use_smartypants = True |
176
|
|
|
|
177
|
|
|
# Custom sidebar templates, maps document names to template names. |
178
|
|
|
#html_sidebars = {} |
179
|
|
|
|
180
|
|
|
# Additional templates that should be rendered to pages, maps page names to |
181
|
|
|
# template names. |
182
|
|
|
#html_additional_pages = {} |
183
|
|
|
|
184
|
|
|
# If false, no module index is generated. |
185
|
|
|
#html_domain_indices = True |
186
|
|
|
|
187
|
|
|
# If false, no index is generated. |
188
|
|
|
#html_use_index = True |
189
|
|
|
|
190
|
|
|
# If true, the index is split into individual pages for each letter. |
191
|
|
|
#html_split_index = False |
192
|
|
|
|
193
|
|
|
# If true, links to the reST sources are added to the pages. |
194
|
|
|
#html_show_sourcelink = True |
195
|
|
|
|
196
|
|
|
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
197
|
|
|
#html_show_sphinx = True |
198
|
|
|
|
199
|
|
|
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
200
|
|
|
#html_show_copyright = True |
201
|
|
|
|
202
|
|
|
# If true, an OpenSearch description file will be output, and all pages will |
203
|
|
|
# contain a <link> tag referring to it. The value of this option must be the |
204
|
|
|
# base URL from which the finished HTML is served. |
205
|
|
|
#html_use_opensearch = '' |
206
|
|
|
|
207
|
|
|
# This is the file name suffix for HTML files (e.g. ".xhtml"). |
208
|
|
|
#html_file_suffix = None |
209
|
|
|
|
210
|
|
|
# Language to be used for generating the HTML full-text search index. |
211
|
|
|
# Sphinx supports the following languages: |
212
|
|
|
# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' |
213
|
|
|
# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' |
214
|
|
|
#html_search_language = 'en' |
215
|
|
|
|
216
|
|
|
# A dictionary with options for the search language support, empty by default. |
217
|
|
|
# Now only 'ja' uses this config value |
218
|
|
|
#html_search_options = {'type': 'default'} |
219
|
|
|
|
220
|
|
|
# The name of a javascript file (relative to the configuration directory) that |
221
|
|
|
# implements a search results scorer. If empty, the default will be used. |
222
|
|
|
#html_search_scorer = 'scorer.js' |
223
|
|
|
|
224
|
|
|
# Output file base name for HTML help builder. |
225
|
|
|
htmlhelp_basename = 'connectordbdoc' |
226
|
|
|
|
227
|
|
|
# -- Options for LaTeX output --------------------------------------------- |
228
|
|
|
|
229
|
|
|
latex_elements = { |
230
|
|
|
# The paper size ('letterpaper' or 'a4paper'). |
231
|
|
|
#'papersize': 'letterpaper', |
232
|
|
|
|
233
|
|
|
# The font size ('10pt', '11pt' or '12pt'). |
234
|
|
|
#'pointsize': '10pt', |
235
|
|
|
|
236
|
|
|
# Additional stuff for the LaTeX preamble. |
237
|
|
|
#'preamble': '', |
238
|
|
|
|
239
|
|
|
# Latex figure (float) alignment |
240
|
|
|
#'figure_align': 'htbp', |
241
|
|
|
} |
242
|
|
|
|
243
|
|
|
# Grouping the document tree into LaTeX files. List of tuples |
244
|
|
|
# (source start file, target name, title, |
245
|
|
|
# author, documentclass [howto, manual, or own class]). |
246
|
|
|
latex_documents = [ |
247
|
|
|
(master_doc, 'connectordb.tex', u'connectordb Documentation', |
248
|
|
|
u'ConnectorDB contributors', 'manual'), |
249
|
|
|
] |
250
|
|
|
|
251
|
|
|
# The name of an image file (relative to this directory) to place at the top of |
252
|
|
|
# the title page. |
253
|
|
|
#latex_logo = None |
254
|
|
|
|
255
|
|
|
# For "manual" documents, if this is true, then toplevel headings are parts, |
256
|
|
|
# not chapters. |
257
|
|
|
#latex_use_parts = False |
258
|
|
|
|
259
|
|
|
# If true, show page references after internal links. |
260
|
|
|
#latex_show_pagerefs = False |
261
|
|
|
|
262
|
|
|
# If true, show URL addresses after external links. |
263
|
|
|
#latex_show_urls = False |
264
|
|
|
|
265
|
|
|
# Documents to append as an appendix to all manuals. |
266
|
|
|
#latex_appendices = [] |
267
|
|
|
|
268
|
|
|
# If false, no module index is generated. |
269
|
|
|
#latex_domain_indices = True |
270
|
|
|
|
271
|
|
|
|
272
|
|
|
# -- Options for manual page output --------------------------------------- |
273
|
|
|
|
274
|
|
|
# One entry per manual page. List of tuples |
275
|
|
|
# (source start file, name, description, authors, manual section). |
276
|
|
|
man_pages = [ |
277
|
|
|
(master_doc, 'connectordb', u'connectordb Documentation', |
278
|
|
|
[author], 1) |
279
|
|
|
] |
280
|
|
|
|
281
|
|
|
# If true, show URL addresses after external links. |
282
|
|
|
#man_show_urls = False |
283
|
|
|
|
284
|
|
|
|
285
|
|
|
# -- Options for Texinfo output ------------------------------------------- |
286
|
|
|
|
287
|
|
|
# Grouping the document tree into Texinfo files. List of tuples |
288
|
|
|
# (source start file, target name, title, author, |
289
|
|
|
# dir menu entry, description, category) |
290
|
|
|
texinfo_documents = [ |
291
|
|
|
(master_doc, 'connectordb', u'connectordb Documentation', |
292
|
|
|
author, 'connectordb', 'One line description of project.', |
293
|
|
|
'Miscellaneous'), |
294
|
|
|
] |
295
|
|
|
|
296
|
|
|
# Documents to append as an appendix to all manuals. |
297
|
|
|
#texinfo_appendices = [] |
298
|
|
|
|
299
|
|
|
# If false, no module index is generated. |
300
|
|
|
#texinfo_domain_indices = True |
301
|
|
|
|
302
|
|
|
# How to display URL addresses: 'footnote', 'no', or 'inline'. |
303
|
|
|
#texinfo_show_urls = 'footnote' |
304
|
|
|
|
305
|
|
|
# If true, do not generate a @detailmenu in the "Top" node's menu. |
306
|
|
|
#texinfo_no_detailmenu = False |
307
|
|
|
|