Debian Codegraph @

docs/source/conf.py

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