Debian Codegraph @

docs/conf.py

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