1 | #!/usr/bin/env python3
|
---|
2 | # -*- coding: utf-8 -*-
|
---|
3 | #
|
---|
4 | # bnc documentation build configuration file, created by
|
---|
5 | # sphinx-quickstart on Mon Apr 18 10:30:43 2016.
|
---|
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 | # If extensions (or modules to document with autodoc) are in another directory,
|
---|
20 | # add these directories to sys.path here. If the directory is relative to the
|
---|
21 | # documentation root, use os.path.abspath to make it absolute, like shown here.
|
---|
22 | #sys.path.insert(0, os.path.abspath('.'))
|
---|
23 |
|
---|
24 | # -- General configuration ------------------------------------------------
|
---|
25 |
|
---|
26 | # If your documentation needs a minimal Sphinx version, state it here.
|
---|
27 | #needs_sphinx = '1.0'
|
---|
28 |
|
---|
29 | # Add any Sphinx extension module names here, as strings. They can be
|
---|
30 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
---|
31 | # ones.
|
---|
32 | extensions = [
|
---|
33 | 'sphinx.ext.autodoc',
|
---|
34 | 'sphinx.ext.todo',
|
---|
35 | 'sphinx.ext.coverage',
|
---|
36 | 'sphinx.ext.mathjax',
|
---|
37 | 'sphinxcontrib.bibtex'
|
---|
38 | ]
|
---|
39 |
|
---|
40 | # Add any paths that contain templates here, relative to this directory.
|
---|
41 | templates_path = ['_templates']
|
---|
42 |
|
---|
43 | # The suffix(es) of source filenames.
|
---|
44 | # You can specify multiple suffix as a list of string:
|
---|
45 | # source_suffix = ['.rst', '.md']
|
---|
46 | source_suffix = '.rst'
|
---|
47 |
|
---|
48 | # The encoding of source files.
|
---|
49 | source_encoding = 'utf-8-sig'
|
---|
50 |
|
---|
51 | # The master toctree document.
|
---|
52 | master_doc = 'bnchelp'
|
---|
53 |
|
---|
54 | # General information about the project.
|
---|
55 | project = u'BNC'
|
---|
56 | copyright = u'2016, Weber, G., Mervart, L., Stuerze, A., Ruelke, A., Stoecker, D.'
|
---|
57 | author = u'Georg Weber, Leos Mervart, Andrea Stuerze, Axel Ruelke, Dirk Stoecker'
|
---|
58 |
|
---|
59 | # The version info for the project you're documenting, acts as replacement for
|
---|
60 | # |version| and |release|, also used in various other places throughout the
|
---|
61 | # built documents.
|
---|
62 | #
|
---|
63 | # The short X.Y version.
|
---|
64 | version = u'2.12'
|
---|
65 | # The full version, including alpha/beta/rc tags.
|
---|
66 | release = u'2.12'
|
---|
67 |
|
---|
68 | # The language for content autogenerated by Sphinx. Refer to documentation
|
---|
69 | # for a list of supported languages.
|
---|
70 | #
|
---|
71 | # This is also used if you do content translation via gettext catalogs.
|
---|
72 | # Usually you set "language" from the command line for these cases.
|
---|
73 | language = 'en'
|
---|
74 |
|
---|
75 | # There are two options for replacing |today|: either, you set today to some
|
---|
76 | # non-false value, then it is used:
|
---|
77 | #today = ''
|
---|
78 | # Else, today_fmt is used as the format for a strftime call.
|
---|
79 | #today_fmt = '%B %d, %Y'
|
---|
80 |
|
---|
81 | # List of patterns, relative to source directory, that match files and
|
---|
82 | # directories to ignore when looking for source files.
|
---|
83 | # This patterns also effect to html_static_path and html_extra_path
|
---|
84 | exclude_patterns = []
|
---|
85 |
|
---|
86 | # The reST default role (used for this markup: `text`) to use for all
|
---|
87 | # documents.
|
---|
88 | #default_role = None
|
---|
89 |
|
---|
90 | # If true, '()' will be appended to :func: etc. cross-reference text.
|
---|
91 | #add_function_parentheses = True
|
---|
92 |
|
---|
93 | # If true, the current module name will be prepended to all description
|
---|
94 | # unit titles (such as .. function::).
|
---|
95 | #add_module_names = True
|
---|
96 |
|
---|
97 | # If true, sectionauthor and moduleauthor directives will be shown in the
|
---|
98 | # output. They are ignored by default.
|
---|
99 | #show_authors = False
|
---|
100 |
|
---|
101 | # The name of the Pygments (syntax highlighting) style to use.
|
---|
102 | pygments_style = 'sphinx'
|
---|
103 |
|
---|
104 | # A list of ignored prefixes for module index sorting.
|
---|
105 | #modindex_common_prefix = []
|
---|
106 |
|
---|
107 | # If true, keep warnings as "system message" paragraphs in the built documents.
|
---|
108 | #keep_warnings = False
|
---|
109 |
|
---|
110 | # If true, `todo` and `todoList` produce output, else they produce nothing.
|
---|
111 | todo_include_todos = True
|
---|
112 |
|
---|
113 |
|
---|
114 | # -- Options for HTML output ----------------------------------------------
|
---|
115 |
|
---|
116 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
---|
117 | # a list of builtin themes.
|
---|
118 | #html_theme = 'alabaster'
|
---|
119 | html_theme = 'bizstyle'
|
---|
120 |
|
---|
121 |
|
---|
122 | # Theme options are theme-specific and customize the look and feel of a theme
|
---|
123 | # further. For a list of options available for each theme, see the
|
---|
124 | # documentation.
|
---|
125 | #html_theme_options = {}
|
---|
126 |
|
---|
127 | # Add any paths that contain custom themes here, relative to this directory.
|
---|
128 | #html_theme_path = []
|
---|
129 |
|
---|
130 | # The name for this set of Sphinx documents.
|
---|
131 | # "<project> v<release> documentation" by default.
|
---|
132 | #html_title = u'BNC v2.12.0'
|
---|
133 |
|
---|
134 | # A shorter title for the navigation bar. Default is the same as html_title.
|
---|
135 | #html_short_title = None
|
---|
136 |
|
---|
137 | # The name of an image file (relative to this directory) to place at the top
|
---|
138 | # of the sidebar.
|
---|
139 | html_logo = 'figures/bnc_logo.png'
|
---|
140 |
|
---|
141 | # The name of an image file (relative to this directory) to use as a favicon of
|
---|
142 | # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
---|
143 | # pixels large.
|
---|
144 | #html_favicon = None
|
---|
145 |
|
---|
146 | # Add any paths that contain custom static files (such as style sheets) here,
|
---|
147 | # relative to this directory. They are copied after the builtin static files,
|
---|
148 | # so a file named "default.css" will overwrite the builtin "default.css".
|
---|
149 | html_static_path = ['_static']
|
---|
150 |
|
---|
151 | # Add any extra paths that contain custom files (such as robots.txt or
|
---|
152 | # .htaccess) here, relative to this directory. These files are copied
|
---|
153 | # directly to the root of the documentation.
|
---|
154 | #html_extra_path = []
|
---|
155 |
|
---|
156 | # If not None, a 'Last updated on:' timestamp is inserted at every page
|
---|
157 | # bottom, using the given strftime format.
|
---|
158 | # The empty string is equivalent to '%b %d, %Y'.
|
---|
159 | #html_last_updated_fmt = None
|
---|
160 |
|
---|
161 | # If true, SmartyPants will be used to convert quotes and dashes to
|
---|
162 | # typographically correct entities.
|
---|
163 | #html_use_smartypants = True
|
---|
164 |
|
---|
165 | # Custom sidebar templates, maps document names to template names.
|
---|
166 | #html_sidebars = {}
|
---|
167 |
|
---|
168 | # Additional templates that should be rendered to pages, maps page names to
|
---|
169 | # template names.
|
---|
170 | #html_additional_pages = {}
|
---|
171 |
|
---|
172 | # If false, no module index is generated.
|
---|
173 | html_domain_indices = False
|
---|
174 |
|
---|
175 | # If false, no index is generated.
|
---|
176 | html_use_index = True
|
---|
177 |
|
---|
178 | # If true, the index is split into individual pages for each letter.
|
---|
179 | #html_split_index = False
|
---|
180 |
|
---|
181 | # If true, links to the reST sources are added to the pages.
|
---|
182 | #html_show_sourcelink = True
|
---|
183 |
|
---|
184 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
---|
185 | html_show_sphinx = True
|
---|
186 |
|
---|
187 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
---|
188 | #html_show_copyright = True
|
---|
189 |
|
---|
190 | # If true, an OpenSearch description file will be output, and all pages will
|
---|
191 | # contain a <link> tag referring to it. The value of this option must be the
|
---|
192 | # base URL from which the finished HTML is served.
|
---|
193 | #html_use_opensearch = ''
|
---|
194 |
|
---|
195 | # This is the file name suffix for HTML files (e.g. ".xhtml").
|
---|
196 | #html_file_suffix = None
|
---|
197 |
|
---|
198 | # Language to be used for generating the HTML full-text search index.
|
---|
199 | # Sphinx supports the following languages:
|
---|
200 | # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
|
---|
201 | # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh'
|
---|
202 | html_search_language = 'en'
|
---|
203 |
|
---|
204 | # A dictionary with options for the search language support, empty by default.
|
---|
205 | # 'ja' uses this config value.
|
---|
206 | # 'zh' user can custom change `jieba` dictionary path.
|
---|
207 | #html_search_options = {'type': 'default'}
|
---|
208 |
|
---|
209 | # The name of a javascript file (relative to the configuration directory) that
|
---|
210 | # implements a search results scorer. If empty, the default will be used.
|
---|
211 | #html_search_scorer = 'scorer.js'
|
---|
212 |
|
---|
213 | # Output file base name for HTML help builder.
|
---|
214 | htmlhelp_basename = 'bncdoc'
|
---|
215 |
|
---|
216 | # Numbering of figures (in html only)
|
---|
217 | numfig = True
|
---|
218 | numfig_secnum_depth = 2
|
---|
219 |
|
---|
220 | # -- Options for LaTeX output ---------------------------------------------
|
---|
221 | ADDITIONAL_PREAMBLE = """
|
---|
222 | \input{../../source/preamble._tex}
|
---|
223 | \usepackage{sphinx}
|
---|
224 | \definecolor{TitleColor}{rgb}{0,0,0}
|
---|
225 | \definecolor{InnerLinkColor}{rgb}{0,0,0}
|
---|
226 | """
|
---|
227 |
|
---|
228 | # \definecolor{OuterLinkColor}{rgb}{0,0,0}
|
---|
229 |
|
---|
230 |
|
---|
231 | ADDITIONAL_FOOTER = """
|
---|
232 | \input{../../source/footer._tex}
|
---|
233 | """
|
---|
234 |
|
---|
235 | MAKE_TITLE = """
|
---|
236 | \glsaddall
|
---|
237 | \\tableofcontents
|
---|
238 | \cleardoublepage
|
---|
239 | \\addcontentsline{toc}{chapter}{\listfigurename}
|
---|
240 | \listoffigures
|
---|
241 | \cleardoublepage
|
---|
242 | \\addcontentsline{toc}{chapter}{\listtablename}
|
---|
243 | \listoftables
|
---|
244 | \cleardoublepage
|
---|
245 | """
|
---|
246 |
|
---|
247 | latex_elements = {
|
---|
248 | # The paper size ('letterpaper' or 'a4paper').
|
---|
249 | 'papersize': 'a4paper',
|
---|
250 |
|
---|
251 | # The font size ('10pt', '11pt' or '12pt').
|
---|
252 | 'pointsize': '10pt',
|
---|
253 |
|
---|
254 | # Additional stuff for the LaTeX preamble.
|
---|
255 | 'preamble': ADDITIONAL_PREAMBLE,
|
---|
256 |
|
---|
257 | # Additional footer
|
---|
258 | 'footer': ADDITIONAL_FOOTER,
|
---|
259 |
|
---|
260 | # Latex figure (float) alignment
|
---|
261 | 'figure_align': 'h',
|
---|
262 |
|
---|
263 | # get rid of the sphinx wrapper class file
|
---|
264 | # 'wrapperclass': 'puthesis',
|
---|
265 |
|
---|
266 | # override maketitle
|
---|
267 | 'maketitle': MAKE_TITLE,
|
---|
268 |
|
---|
269 | # disable index printing
|
---|
270 | # 'printindex': '',
|
---|
271 |
|
---|
272 | # inputenc package inclusion, default '\\usepackage[utf8]{inputenc}'.
|
---|
273 | 'inputenc': '\\usepackage[ansinew]{inputenc}'
|
---|
274 |
|
---|
275 | }
|
---|
276 |
|
---|
277 | # Grouping the document tree into LaTeX files. List of tuples
|
---|
278 | # (source start file, target name, title,
|
---|
279 | # author, documentclass [howto, manual, or own class]).
|
---|
280 | latex_documents = [
|
---|
281 | (master_doc, 'bnc.tex', u'BKG Ntrip Client',
|
---|
282 | u'G. Weber L. Mervart A. St{\\"u}rze A. R{\\"u}lke D. St{\\"o}cker', 'manual'),
|
---|
283 | ]
|
---|
284 |
|
---|
285 | # The name of an image file (relative to this directory) to place at the top of
|
---|
286 | # the title page.
|
---|
287 | #latex_logo = None
|
---|
288 |
|
---|
289 | # For "manual" documents, if this is true, then toplevel headings are parts,
|
---|
290 | # not chapters.
|
---|
291 | #latex_use_parts = False
|
---|
292 |
|
---|
293 | # If true, show page references after internal links.
|
---|
294 | # latex_show_pagerefs = False
|
---|
295 |
|
---|
296 | # If true, show URL addresses after external links.
|
---|
297 | #latex_show_urls = False
|
---|
298 |
|
---|
299 | # Documents to append as an appendix to all manuals.
|
---|
300 | #latex_appendices = []
|
---|
301 |
|
---|
302 | # If false, no module index is generated.
|
---|
303 | latex_domain_indices = False
|
---|
304 |
|
---|
305 |
|
---|
306 | # -- Options for manual page output ---------------------------------------
|
---|
307 |
|
---|
308 | # One entry per manual page. List of tuples
|
---|
309 | # (source start file, name, description, authors, manual section).
|
---|
310 | man_pages = [
|
---|
311 | (master_doc, 'bnc', u'BNC Documentation',
|
---|
312 | [author], 1)
|
---|
313 | ]
|
---|
314 |
|
---|
315 | # If true, show URL addresses after external links.
|
---|
316 | #man_show_urls = False
|
---|
317 |
|
---|
318 |
|
---|
319 | # -- Options for Texinfo output -------------------------------------------
|
---|
320 |
|
---|
321 | # Grouping the document tree into Texinfo files. List of tuples
|
---|
322 | # (source start file, target name, title, author,
|
---|
323 | # dir menu entry, description, category)
|
---|
324 | texinfo_documents = [
|
---|
325 | (master_doc, 'bnc', u'BNC Documentation',
|
---|
326 | author, 'bnc', 'One line description of project.',
|
---|
327 | 'Miscellaneous'),
|
---|
328 | ]
|
---|
329 |
|
---|
330 | # Documents to append as an appendix to all manuals.
|
---|
331 | #texinfo_appendices = []
|
---|
332 |
|
---|
333 | # If false, no module index is generated.
|
---|
334 | #texinfo_domain_indices = True
|
---|
335 |
|
---|
336 | # How to display URL addresses: 'footnote', 'no', or 'inline'.
|
---|
337 | #texinfo_show_urls = 'footnote'
|
---|
338 |
|
---|
339 | # If true, do not generate a @detailmenu in the "Top" node's menu.
|
---|
340 | #texinfo_no_detailmenu = False
|
---|