Completed
Push — master ( 57c496...1809f0 )
by Ramon
01:00
created

conf   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 360
Duplicated Lines 0 %

Importance

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