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