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