2 # SPDX-FileCopyrightText: 2018-2021 kaliko <kaliko@azylum.org>
3 # SPDX-License-Identifier: LGPL-3.0-or-later
5 # Python MPD Module documentation build configuration file, created by
6 # sphinx-quickstart on Mon Mar 12 14:37:32 2018.
8 # This file is execfile()d with the current directory set to its
11 # Note that not all possible configuration values are present in this
14 # All configuration values have a default; values that are commented out
15 # serve to show the default.
17 # If extensions (or modules to document with autodoc) are in another directory,
18 # add these directories to sys.path here. If the directory is relative to the
19 # documentation root, use os.path.abspath to make it absolute, like shown here.
23 sys.path.insert(0, os.path.abspath('../../'))
24 from musicpd import VERSION
26 # -- General configuration ------------------------------------------------
28 # If your documentation needs a minimal Sphinx version, state it here.
30 # needs_sphinx = '1.0'
32 # Add any Sphinx extension module names here, as strings. They can be
33 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
37 'sphinx.ext.intersphinx',
38 #'sphinx.ext.coverage',
39 'sphinx.ext.viewcode',
43 # Add any paths that contain templates here, relative to this directory.
44 templates_path = ['_templates']
46 # The suffix(es) of source filenames.
47 # You can specify multiple suffix as a list of string:
49 # source_suffix = ['.rst', '.md']
50 source_suffix = '.rst'
52 # The encoding of source files.
54 # source_encoding = 'utf-8-sig'
56 # The master toctree document.
59 # General information about the project.
60 project = u'Python MPD Module'
61 from datetime import datetime
62 copyright = u'2012-{}, {}'.format(datetime.now().year, __author__)
65 # The version info for the project you're documenting, acts as replacement for
66 # |version| and |release|, also used in various other places throughout the
69 # The short X.Y version.
71 # The full version, including alpha/beta/rc tags.
74 # The language for content autogenerated by Sphinx. Refer to documentation
75 # for a list of supported languages.
77 # This is also used if you do content translation via gettext catalogs.
78 # Usually you set "language" from the command line for these cases.
81 # There are two options for replacing |today|: either, you set today to some
82 # non-false value, then it is used:
86 # Else, today_fmt is used as the format for a strftime call.
88 # today_fmt = '%B %d, %Y'
90 # List of patterns, relative to source directory, that match files and
91 # directories to ignore when looking for source files.
92 # This patterns also effect to html_static_path and html_extra_path
95 # The reST default role (used for this markup: `text`) to use for all
100 # If true, '()' will be appended to :func: etc. cross-reference text.
102 # add_function_parentheses = True
104 # If true, the current module name will be prepended to all description
105 # unit titles (such as .. function::).
107 # add_module_names = True
109 # If true, sectionauthor and moduleauthor directives will be shown in the
110 # output. They are ignored by default.
112 # show_authors = False
114 # The name of the Pygments (syntax highlighting) style to use.
115 pygments_style = 'sphinx'
117 # A list of ignored prefixes for module index sorting.
118 # modindex_common_prefix = []
120 # If true, keep warnings as "system message" paragraphs in the built documents.
121 # keep_warnings = False
123 # If true, `todo` and `todoList` produce output, else they produce nothing.
124 todo_include_todos = True
127 # -- Options for HTML output ----------------------------------------------
129 # The theme to use for HTML and HTML Help pages. See the documentation for
130 # a list of builtin themes.
132 html_theme = 'classic'
133 #html_theme = "sphinx_rtd_theme"
134 #html_theme = 'bootstrap'
136 # Theme options are theme-specific and customize the look and feel of a theme
137 # further. For a list of options available for each theme, see the
140 # html_theme_options = {}
142 # Add any paths that contain custom themes here, relative to this directory.
143 # html_theme_path = []
144 #html_theme_path = ['/usr/lib/python3/dist-packages/sphinx_bootstrap_theme']
146 # The name for this set of Sphinx documents.
147 # "<project> v<release> documentation" by default.
149 # html_title = u'Python MPD Module v0.0.1'
151 # A shorter title for the navigation bar. Default is the same as html_title.
153 # html_short_title = None
155 # The name of an image file (relative to this directory) to place at the top
160 # The name of an image file (relative to this directory) to use as a favicon of
161 # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
164 # html_favicon = None
166 # Add any paths that contain custom static files (such as style sheets) here,
167 # relative to this directory. They are copied after the builtin static files,
168 # so a file named "default.css" will overwrite the builtin "default.css".
169 #chtml_static_path = ['_static']
171 # Add any extra paths that contain custom files (such as robots.txt or
172 # .htaccess) here, relative to this directory. These files are copied
173 # directly to the root of the documentation.
175 # html_extra_path = []
177 # If not None, a 'Last updated on:' timestamp is inserted at every page
178 # bottom, using the given strftime format.
179 # The empty string is equivalent to '%b %d, %Y'.
181 # html_last_updated_fmt = None
183 # If true, SmartyPants will be used to convert quotes and dashes to
184 # typographically correct entities.
186 # html_use_smartypants = True
188 # Custom sidebar templates, maps document names to template names.
192 # Additional templates that should be rendered to pages, maps page names to
195 # html_additional_pages = {}
197 # If false, no module index is generated.
199 # html_domain_indices = True
201 # If false, no index is generated.
203 # html_use_index = True
205 # If true, the index is split into individual pages for each letter.
207 # html_split_index = False
209 # If true, links to the reST sources are added to the pages.
211 # html_show_sourcelink = True
213 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
215 # html_show_sphinx = True
216 html_show_sphinx = False
218 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
220 # html_show_copyright = True
222 # If true, an OpenSearch description file will be output, and all pages will
223 # contain a <link> tag referring to it. The value of this option must be the
224 # base URL from which the finished HTML is served.
226 # html_use_opensearch = ''
228 # This is the file name suffix for HTML files (e.g. ".xhtml").
229 # html_file_suffix = None
231 # Language to be used for generating the HTML full-text search index.
232 # Sphinx supports the following languages:
233 # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
234 # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh'
236 # html_search_language = 'en'
238 # A dictionary with options for the search language support, empty by default.
239 # 'ja' uses this config value.
240 # 'zh' user can custom change `jieba` dictionary path.
242 # html_search_options = {'type': 'default'}
244 # The name of a javascript file (relative to the configuration directory) that
245 # implements a search results scorer. If empty, the default will be used.
247 # html_search_scorer = 'scorer.js'
249 # Output file base name for HTML help builder.
250 htmlhelp_basename = 'PythonMPDModuledoc'
252 # -- Options for LaTeX output ---------------------------------------------
255 # The paper size ('letterpaper' or 'a4paper').
257 # 'papersize': 'letterpaper',
259 # The font size ('10pt', '11pt' or '12pt').
261 # 'pointsize': '10pt',
263 # Additional stuff for the LaTeX preamble.
267 # Latex figure (float) alignment
269 # 'figure_align': 'htbp',
272 # Grouping the document tree into LaTeX files. List of tuples
273 # (source start file, target name, title,
274 # author, documentclass [howto, manual, or own class]).
276 (master_doc, 'PythonMPDModule.tex', u'Python MPD Module Documentation',
277 u'kaliko', 'manual'),
280 # The name of an image file (relative to this directory) to place at the top of
285 # For "manual" documents, if this is true, then toplevel headings are parts,
288 # latex_use_parts = False
290 # If true, show page references after internal links.
292 # latex_show_pagerefs = False
294 # If true, show URL addresses after external links.
296 # latex_show_urls = False
298 # Documents to append as an appendix to all manuals.
300 # latex_appendices = []
302 # It false, will not define \strong, \code, itleref, \crossref ... but only
303 # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added
306 # latex_keep_old_macro_names = True
308 # If false, no module index is generated.
310 # latex_domain_indices = True
313 # -- Options for manual page output ---------------------------------------
315 # One entry per manual page. List of tuples
316 # (source start file, name, description, authors, manual section).
318 (master_doc, 'pythonmpdmodule', u'Python MPD Module Documentation',
322 # If true, show URL addresses after external links.
324 # man_show_urls = False
327 # -- Options for Texinfo output -------------------------------------------
329 # Grouping the document tree into Texinfo files. List of tuples
330 # (source start file, target name, title, author,
331 # dir menu entry, description, category)
332 texinfo_documents = [
333 (master_doc, 'PythonMPDModule', u'Python MPD Module Documentation',
334 author, 'PythonMPDModule', 'One line description of project.',
338 # Documents to append as an appendix to all manuals.
340 # texinfo_appendices = []
342 # If false, no module index is generated.
344 # texinfo_domain_indices = True
346 # How to display URL addresses: 'footnote', 'no', or 'inline'.
348 # texinfo_show_urls = 'footnote'
350 # If true, do not generate a @detailmenu in the "Top" node's menu.
352 # texinfo_no_detailmenu = False
355 # -- Options for Epub output ----------------------------------------------
357 # Bibliographic Dublin Core info.
360 epub_publisher = author
361 epub_copyright = copyright
363 # The basename for the epub file. It defaults to the project name.
364 # epub_basename = project
366 # The HTML theme for the epub output. Since the default themes are not
367 # optimized for small screen space, using the same theme for HTML and epub
368 # output is usually not wise. This defaults to 'epub', a theme designed to save
371 # epub_theme = 'epub'
373 # The language of the text. It defaults to the language option
374 # or 'en' if the language is not set.
378 # The scheme of the identifier. Typical schemes are ISBN or URL.
381 # The unique identifier of the text. This can be a ISBN number
382 # or the project homepage.
384 # epub_identifier = ''
386 # A unique identification for the text.
390 # A tuple containing the cover image and cover page html template filenames.
394 # A sequence of (type, uri, title) tuples for the guide element of content.opf.
398 # HTML files that should be inserted before the pages created by sphinx.
399 # The format is a list of tuples containing the path and title.
401 # epub_pre_files = []
403 # HTML files that should be inserted after the pages created by sphinx.
404 # The format is a list of tuples containing the path and title.
406 # epub_post_files = []
408 # A list of files that should not be packed into the epub file.
409 epub_exclude_files = ['search.html']
411 # The depth of the table of contents in toc.ncx.
415 # Allow duplicate toc entries.
419 # Choose between 'default' and 'includehidden'.
421 # epub_tocscope = 'default'
423 # Fix unsupported image types using the Pillow.
425 # epub_fix_images = False
427 # Scale large images.
429 # epub_max_image_width = 0
431 # How to display URL addresses: 'footnote', 'no', or 'inline'.
433 # epub_show_urls = 'inline'
435 # If false, no index is generated.
437 # epub_use_index = True
440 # Example configuration for intersphinx: refer to the Python standard library.
441 intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
444 autodoc_member_order = 'bysource'