Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
96128 views
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
#
4
# FilterPy documentation build configuration file, created by
5
# sphinx-quickstart on Sat Nov 22 14:54:37 2014.
6
#
7
# This file is execfile()d with the current directory set to its
8
# containing dir.
9
#
10
# Note that not all possible configuration values are present in this
11
# autogenerated file.
12
#
13
# All configuration values have a default; values that are commented out
14
# serve to show the default.
15
16
import sys
17
import os
18
19
import mock
20
21
MOCK_MODULES = ['numpy', 'scipy', 'matplotlib', 'matplotlib.pyplot',
22
'scipy.linalg', 'numpy.linalg', 'matplotlib.pyplot',
23
'numpy.random', 'scipy.sparse', 'scipy.sparse.linalg',
24
'scipy.stats', 'matplotlib.patches']
25
26
for mod_name in MOCK_MODULES:
27
sys.modules[mod_name] = mock.Mock()
28
29
30
# If extensions (or modules to document with autodoc) are in another directory,
31
# add these directories to sys.path here. If the directory is relative to the
32
# documentation root, use os.path.abspath to make it absolute, like shown here.
33
#sys.path.insert(0, os.path.abspath('.'))
34
sys.path.insert(0, os.path.abspath('../filterpy'))
35
36
from filterpy import *
37
import filterpy
38
import filterpy.kalman
39
40
# -- General configuration ------------------------------------------------
41
42
# If your documentation needs a minimal Sphinx version, state it here.
43
#needs_sphinx = '1.0'
44
45
# Add any Sphinx extension module names here, as strings. They can be
46
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
47
# ones.
48
extensions = [
49
'sphinx.ext.autodoc',
50
'sphinx.ext.doctest',
51
'sphinx.ext.intersphinx',
52
'sphinx.ext.mathjax',
53
'sphinx.ext.viewcode',
54
'sphinx.ext.autodoc'
55
]
56
57
# Add any paths that contain templates here, relative to this directory.
58
templates_path = ['_templates']
59
60
# The suffix of source filenames.
61
source_suffix = '.rst'
62
63
# The encoding of source files.
64
#source_encoding = 'utf-8-sig'
65
66
# The master toctree document.
67
master_doc = 'index'
68
69
# General information about the project.
70
project = 'FilterPy'
71
copyright = '2015, Roger R. Labbe'
72
73
# The version info for the project you're documenting, acts as replacement for
74
# |version| and |release|, also used in various other places throughout the
75
# built documents.
76
#
77
# The short X.Y version.
78
version = filterpy.__version__
79
# The full version, including alpha/beta/rc tags.
80
release = filterpy.__version__
81
82
# The language for content autogenerated by Sphinx. Refer to documentation
83
# for a list of supported languages.
84
#language = None
85
86
# There are two options for replacing |today|: either, you set today to some
87
# non-false value, then it is used:
88
#today = ''
89
# Else, today_fmt is used as the format for a strftime call.
90
#today_fmt = '%B %d, %Y'
91
92
# List of patterns, relative to source directory, that match files and
93
# directories to ignore when looking for source files.
94
exclude_patterns = ['_build']
95
96
# The reST default role (used for this markup: `text`) to use for all
97
# documents.
98
#default_role = None
99
100
# If true, '()' will be appended to :func: etc. cross-reference text.
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
#add_module_names = True
106
107
# If true, sectionauthor and moduleauthor directives will be shown in the
108
# output. They are ignored by default.
109
#show_authors = False
110
111
# The name of the Pygments (syntax highlighting) style to use.
112
pygments_style = 'sphinx'
113
114
# A list of ignored prefixes for module index sorting.
115
#modindex_common_prefix = []
116
117
# If true, keep warnings as "system message" paragraphs in the built documents.
118
#keep_warnings = False
119
120
121
# -- Options for HTML output ----------------------------------------------
122
123
# The theme to use for HTML and HTML Help pages. See the documentation for
124
# a list of builtin themes.
125
html_theme = 'sphinxdoc'
126
127
# Theme options are theme-specific and customize the look and feel of a theme
128
# further. For a list of options available for each theme, see the
129
# documentation.
130
#html_theme_options = {}
131
132
# Add any paths that contain custom themes here, relative to this directory.
133
#html_theme_path = []
134
135
# The name for this set of Sphinx documents. If None, it defaults to
136
# "<project> v<release> documentation".
137
#html_title = None
138
139
# A shorter title for the navigation bar. Default is the same as html_title.
140
#html_short_title = None
141
142
# The name of an image file (relative to this directory) to place at the top
143
# of the sidebar.
144
#html_logo = None
145
146
# The name of an image file (within the static path) to use as favicon of the
147
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
148
# pixels large.
149
#html_favicon = None
150
151
# Add any paths that contain custom static files (such as style sheets) here,
152
# relative to this directory. They are copied after the builtin static files,
153
# so a file named "default.css" will overwrite the builtin "default.css".
154
html_static_path = ['_static']
155
156
# Add any extra paths that contain custom files (such as robots.txt or
157
# .htaccess) here, relative to this directory. These files are copied
158
# directly to the root of the documentation.
159
#html_extra_path = []
160
161
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
162
# using the given strftime format.
163
#html_last_updated_fmt = '%b %d, %Y'
164
165
# If true, SmartyPants will be used to convert quotes and dashes to
166
# typographically correct entities.
167
#html_use_smartypants = True
168
169
# Custom sidebar templates, maps document names to template names.
170
#html_sidebars = {}
171
172
# Additional templates that should be rendered to pages, maps page names to
173
# template names.
174
#html_additional_pages = {}
175
176
# If false, no module index is generated.
177
#html_domain_indices = True
178
179
# If false, no index is generated.
180
#html_use_index = True
181
182
# If true, the index is split into individual pages for each letter.
183
#html_split_index = False
184
185
# If true, links to the reST sources are added to the pages.
186
#html_show_sourcelink = True
187
188
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
189
#html_show_sphinx = True
190
191
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
192
#html_show_copyright = True
193
194
# If true, an OpenSearch description file will be output, and all pages will
195
# contain a <link> tag referring to it. The value of this option must be the
196
# base URL from which the finished HTML is served.
197
#html_use_opensearch = ''
198
199
# This is the file name suffix for HTML files (e.g. ".xhtml").
200
#html_file_suffix = None
201
202
# Output file base name for HTML help builder.
203
htmlhelp_basename = 'FilterPydoc'
204
205
206
# -- Options for LaTeX output ---------------------------------------------
207
208
latex_elements = {
209
# The paper size ('letterpaper' or 'a4paper').
210
#'papersize': 'letterpaper',
211
212
# The font size ('10pt', '11pt' or '12pt').
213
#'pointsize': '10pt',
214
215
# Additional stuff for the LaTeX preamble.
216
#'preamble': '',
217
}
218
219
# Grouping the document tree into LaTeX files. List of tuples
220
# (source start file, target name, title,
221
# author, documentclass [howto, manual, or own class]).
222
latex_documents = [
223
('index', 'FilterPy.tex', 'FilterPy Documentation',
224
'Roger R. Labbe', 'manual'),
225
]
226
227
# The name of an image file (relative to this directory) to place at the top of
228
# the title page.
229
#latex_logo = None
230
231
# For "manual" documents, if this is true, then toplevel headings are parts,
232
# not chapters.
233
#latex_use_parts = False
234
235
# If true, show page references after internal links.
236
#latex_show_pagerefs = False
237
238
# If true, show URL addresses after external links.
239
#latex_show_urls = False
240
241
# Documents to append as an appendix to all manuals.
242
#latex_appendices = []
243
244
# If false, no module index is generated.
245
#latex_domain_indices = True
246
247
248
# -- Options for manual page output ---------------------------------------
249
250
# One entry per manual page. List of tuples
251
# (source start file, name, description, authors, manual section).
252
man_pages = [
253
('index', 'filterpy', 'FilterPy Documentation',
254
['Roger R. Labbe'], 1)
255
]
256
257
# If true, show URL addresses after external links.
258
#man_show_urls = False
259
260
261
# -- Options for Texinfo output -------------------------------------------
262
263
# Grouping the document tree into Texinfo files. List of tuples
264
# (source start file, target name, title, author,
265
# dir menu entry, description, category)
266
texinfo_documents = [
267
('index', 'FilterPy', 'FilterPy Documentation',
268
'Roger R. Labbe', 'FilterPy', 'One line description of project.',
269
'Miscellaneous'),
270
]
271
272
# Documents to append as an appendix to all manuals.
273
#texinfo_appendices = []
274
275
# If false, no module index is generated.
276
#texinfo_domain_indices = True
277
278
# How to display URL addresses: 'footnote', 'no', or 'inline'.
279
#texinfo_show_urls = 'footnote'
280
281
# If true, do not generate a @detailmenu in the "Top" node's menu.
282
#texinfo_no_detailmenu = False
283
284
285
# -- Options for Epub output ----------------------------------------------
286
287
# Bibliographic Dublin Core info.
288
epub_title = 'FilterPy'
289
epub_author = 'Roger R. Labbe'
290
epub_publisher = 'Roger R. Labbe'
291
epub_copyright = '2015, Roger R. Labbe'
292
293
# The basename for the epub file. It defaults to the project name.
294
#epub_basename = 'FilterPy'
295
296
# The HTML theme for the epub output. Since the default themes are not optimized
297
# for small screen space, using the same theme for HTML and epub output is
298
# usually not wise. This defaults to 'epub', a theme designed to save visual
299
# space.
300
#epub_theme = 'epub'
301
302
# The language of the text. It defaults to the language option
303
# or en if the language is not set.
304
#epub_language = ''
305
306
# The scheme of the identifier. Typical schemes are ISBN or URL.
307
#epub_scheme = ''
308
309
# The unique identifier of the text. This can be a ISBN number
310
# or the project homepage.
311
#epub_identifier = ''
312
313
# A unique identification for the text.
314
#epub_uid = ''
315
316
# A tuple containing the cover image and cover page html template filenames.
317
#epub_cover = ()
318
319
# A sequence of (type, uri, title) tuples for the guide element of content.opf.
320
#epub_guide = ()
321
322
# HTML files that should be inserted before the pages created by sphinx.
323
# The format is a list of tuples containing the path and title.
324
#epub_pre_files = []
325
326
# HTML files shat should be inserted after the pages created by sphinx.
327
# The format is a list of tuples containing the path and title.
328
#epub_post_files = []
329
330
# A list of files that should not be packed into the epub file.
331
epub_exclude_files = ['search.html']
332
333
# The depth of the table of contents in toc.ncx.
334
#epub_tocdepth = 3
335
336
# Allow duplicate toc entries.
337
#epub_tocdup = True
338
339
# Choose between 'default' and 'includehidden'.
340
#epub_tocscope = 'default'
341
342
# Fix unsupported image types using the PIL.
343
#epub_fix_images = False
344
345
# Scale large images.
346
#epub_max_image_width = 0
347
348
# How to display URL addresses: 'footnote', 'no', or 'inline'.
349
#epub_show_urls = 'inline'
350
351
# If false, no index is generated.
352
#epub_use_index = True
353
354
355
# Example configuration for intersphinx: refer to the Python standard library.
356
intersphinx_mapping = {'http://docs.python.org/': None}
357
358