aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py238
1 files changed, 238 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
new file mode 100644
index 0000000..6467b89
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,238 @@
1# -*- coding: utf-8 -*-
2#
3# This file is execfile()d with the current directory set to its containing dir.
4#
5# Note that not all possible configuration values are present in this
6# autogenerated file.
7#
8# All configuration values have a default; values that are commented out
9# serve to show the default.
10
11import sys
12import os
13import inspect
14from sphinx import apidoc
15
16
17__location__ = os.path.join(os.getcwd(), os.path.dirname(
18 inspect.getfile(inspect.currentframe())))
19
20package = "youtube_podcaster"
21namespace = []
22namespace_pkg = ".".join([namespace[-1], package]) if namespace else package
23
24# If extensions (or modules to document with autodoc) are in another directory,
25# add these directories to sys.path here. If the directory is relative to the
26# documentation root, use os.path.abspath to make it absolute, like shown here.
27# sys.path.insert(0, os.path.abspath('.'))
28
29# -- General configuration -----------------------------------------------------
30
31# If your documentation needs a minimal Sphinx version, state it here.
32# needs_sphinx = '1.0'
33
34# Add any Sphinx extension module names here, as strings. They can be extensions
35# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
36extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo',
37 'sphinx.ext.autosummary', 'sphinx.ext.viewcode', 'sphinx.ext.coverage',
38 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.pngmath']
39
40# Add any paths that contain templates here, relative to this directory.
41templates_path = ['_templates']
42
43# The suffix of source filenames.
44source_suffix = '.rst'
45
46# The encoding of source files.
47# source_encoding = 'utf-8-sig'
48
49# The master toctree document.
50master_doc = 'index'
51
52# General information about the project.
53project = u'youtube-podcaster'
54copyright = u'2015, Tom van der Lee'
55
56# The version info for the project you're documenting, acts as replacement for
57# |version| and |release|, also used in various other places throughout the
58# built documents.
59#
60# The short X.Y version.
61version = '' # Is set by calling `setup.py docs`
62# The full version, including alpha/beta/rc tags.
63release = '' # Is set by calling `setup.py docs`
64
65# The language for content autogenerated by Sphinx. Refer to documentation
66# for a list of supported languages.
67# language = None
68
69# There are two options for replacing |today|: either, you set today to some
70# non-false value, then it is used:
71# today = ''
72# Else, today_fmt is used as the format for a strftime call.
73# today_fmt = '%B %d, %Y'
74
75# List of patterns, relative to source directory, that match files and
76# directories to ignore when looking for source files.
77exclude_patterns = ['_build']
78
79# The reST default role (used for this markup: `text`) to use for all documents.
80# default_role = None
81
82# If true, '()' will be appended to :func: etc. cross-reference text.
83# add_function_parentheses = True
84
85# If true, the current module name will be prepended to all description
86# unit titles (such as .. function::).
87# add_module_names = True
88
89# If true, sectionauthor and moduleauthor directives will be shown in the
90# output. They are ignored by default.
91# show_authors = False
92
93# The name of the Pygments (syntax highlighting) style to use.
94pygments_style = 'sphinx'
95
96# A list of ignored prefixes for module index sorting.
97# modindex_common_prefix = []
98
99# If true, keep warnings as "system message" paragraphs in the built documents.
100# keep_warnings = False
101
102
103# -- Options for HTML output ---------------------------------------------------
104
105# The theme to use for HTML and HTML Help pages. See the documentation for
106# a list of builtin themes.
107html_theme = 'alabaster'
108
109# Theme options are theme-specific and customize the look and feel of a theme
110# further. For a list of options available for each theme, see the
111# documentation.
112# html_theme_options = {}
113
114# Add any paths that contain custom themes here, relative to this directory.
115# html_theme_path = []
116
117# The name for this set of Sphinx documents. If None, it defaults to
118# "<project> v<release> documentation".
119try:
120 from namespace_pkg import __version__ as version
121except ImportError:
122 pass
123else:
124 release = version
125
126# A shorter title for the navigation bar. Default is the same as html_title.
127# html_short_title = None
128
129# The name of an image file (relative to this directory) to place at the top
130# of the sidebar.
131# html_logo = ""
132
133# The name of an image file (within the static path) to use as favicon of the
134# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
135# pixels large.
136# html_favicon = None
137
138# Add any paths that contain custom static files (such as style sheets) here,
139# relative to this directory. They are copied after the builtin static files,
140# so a file named "default.css" will overwrite the builtin "default.css".
141html_static_path = ['_static']
142
143# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
144# using the given strftime format.
145# html_last_updated_fmt = '%b %d, %Y'
146
147# If true, SmartyPants will be used to convert quotes and dashes to
148# typographically correct entities.
149# html_use_smartypants = True
150
151# Custom sidebar templates, maps document names to template names.
152# html_sidebars = {}
153
154# Additional templates that should be rendered to pages, maps page names to
155# template names.
156# html_additional_pages = {}
157
158# If false, no module index is generated.
159# html_domain_indices = True
160
161# If false, no index is generated.
162# html_use_index = True
163
164# If true, the index is split into individual pages for each letter.
165# html_split_index = False
166
167# If true, links to the reST sources are added to the pages.
168# html_show_sourcelink = True
169
170# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
171# html_show_sphinx = True
172
173# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
174# html_show_copyright = True
175
176# If true, an OpenSearch description file will be output, and all pages will
177# contain a <link> tag referring to it. The value of this option must be the
178# base URL from which the finished HTML is served.
179# html_use_opensearch = ''
180
181# This is the file name suffix for HTML files (e.g. ".xhtml").
182# html_file_suffix = None
183
184# Output file base name for HTML help builder.
185htmlhelp_basename = 'youtube_podcaster-doc'
186
187
188# -- Options for LaTeX output --------------------------------------------------
189
190latex_elements = {
191# The paper size ('letterpaper' or 'a4paper').
192# 'papersize': 'letterpaper',
193
194# The font size ('10pt', '11pt' or '12pt').
195# 'pointsize': '10pt',
196
197# Additional stuff for the LaTeX preamble.
198# 'preamble': '',
199}
200
201# Grouping the document tree into LaTeX files. List of tuples
202# (source start file, target name, title, author, documentclass [howto/manual]).
203latex_documents = [
204 ('index', 'user_guide.tex', u'youtube-podcaster Documentation',
205 u'Tom van der Lee', 'manual'),
206]
207
208# The name of an image file (relative to this directory) to place at the top of
209# the title page.
210# latex_logo = ""
211
212# For "manual" documents, if this is true, then toplevel headings are parts,
213# not chapters.
214# latex_use_parts = False
215
216# If true, show page references after internal links.
217# latex_show_pagerefs = False
218
219# If true, show URL addresses after external links.
220# latex_show_urls = False
221
222# Documents to append as an appendix to all manuals.
223# latex_appendices = []
224
225# If false, no module index is generated.
226# latex_domain_indices = True
227
228# -- External mapping ------------------------------------------------------------
229python_version = '.'.join(map(str, sys.version_info[0:2]))
230intersphinx_mapping = {
231 'sphinx': ('http://sphinx.pocoo.org', None),
232 'python': ('http://docs.python.org/' + python_version, None),
233 'matplotlib': ('http://matplotlib.sourceforge.net', None),
234 'numpy': ('http://docs.scipy.org/doc/numpy', None),
235 'sklearn': ('http://scikit-learn.org/stable', None),
236 'pandas': ('http://pandas.pydata.org/pandas-docs/stable', None),
237 'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None),
238}