1# -*- coding: utf-8 -*-
2#
3# Copyright (c) 2016, The OpenThread Authors.
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8# 1. Redistributions of source code must retain the above copyright
9#    notice, this list of conditions and the following disclaimer.
10# 2. Redistributions in binary form must reproduce the above copyright
11#    notice, this list of conditions and the following disclaimer in the
12#    documentation and/or other materials provided with the distribution.
13# 3. Neither the name of the copyright holder nor the
14#    names of its contributors may be used to endorse or promote products
15#    derived from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
21# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27# POSSIBILITY OF SUCH DAMAGE.
28#
29
30#
31# Thread Harness Automation documentation build configuration file, created by
32# sphinx-quickstart on Wed Jun 29 15:18:24 2016.
33#
34# This file is execfile()d with the current directory set to its
35# containing dir.
36#
37# Note that not all possible configuration values are present in this
38# autogenerated file.
39#
40# All configuration values have a default; values that are commented out
41# serve to show the default.
42
43# If extensions (or modules to document with autodoc) are in another directory,
44# add these directories to sys.path here. If the directory is relative to the
45# documentation root, use os.path.abspath to make it absolute, like shown here.
46#
47import os
48import sys
49import sphinx_rtd_theme
50
51sys.path.insert(0, os.path.abspath('..'))
52
53# -- General configuration ------------------------------------------------
54
55# If your documentation needs a minimal Sphinx version, state it here.
56#
57# needs_sphinx = '1.0'
58
59# Add any Sphinx extension module names here, as strings. They can be
60# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
61# ones.
62extensions = ['sphinx.ext.autodoc', 'sphinxcontrib.napoleon']
63
64# Add any paths that contain templates here, relative to this directory.
65templates_path = ['_templates']
66
67# The suffix(es) of source filenames.
68# You can specify multiple suffix as a list of string:
69#
70# source_suffix = ['.rst', '.md']
71source_suffix = '.rst'
72
73# The encoding of source files.
74#
75# source_encoding = 'utf-8-sig'
76
77# The master toctree document.
78master_doc = 'index'
79
80# General information about the project.
81project = u'Thread Harness Automation'
82copyright = u'2019, OpenThread'
83author = u'OpenThread'
84
85# The version info for the project you're documenting, acts as replacement for
86# |version| and |release|, also used in various other places throughout the
87# built documents.
88#
89# The short X.Y version.
90version = u'0.5'
91# The full version, including alpha/beta/rc tags.
92release = u'0.5'
93
94# The language for content autogenerated by Sphinx. Refer to documentation
95# for a list of supported languages.
96#
97# This is also used if you do content translation via gettext catalogs.
98# Usually you set "language" from the command line for these cases.
99language = None
100
101# There are two options for replacing |today|: either, you set today to some
102# non-false value, then it is used:
103#
104# today = ''
105#
106# Else, today_fmt is used as the format for a strftime call.
107#
108# today_fmt = '%B %d, %Y'
109
110# List of patterns, relative to source directory, that match files and
111# directories to ignore when looking for source files.
112# This patterns also effect to html_static_path and html_extra_path
113exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
114
115# The reST default role (used for this markup: `text`) to use for all
116# documents.
117#
118# default_role = None
119
120# If true, '()' will be appended to :func: etc. cross-reference text.
121#
122# add_function_parentheses = True
123
124# If true, the current module name will be prepended to all description
125# unit titles (such as .. function::).
126#
127# add_module_names = True
128
129# If true, sectionauthor and moduleauthor directives will be shown in the
130# output. They are ignored by default.
131#
132# show_authors = False
133
134# The name of the Pygments (syntax highlighting) style to use.
135pygments_style = 'sphinx'
136
137# A list of ignored prefixes for module index sorting.
138# modindex_common_prefix = []
139
140# If true, keep warnings as "system message" paragraphs in the built documents.
141# keep_warnings = False
142
143# If true, `todo` and `todoList` produce output, else they produce nothing.
144todo_include_todos = False
145
146# -- Options for HTML output ----------------------------------------------
147
148# The theme to use for HTML and HTML Help pages.  See the documentation for
149# a list of builtin themes.
150#
151# html_theme = 'alabaster'
152html_theme = 'sphinx_rtd_theme'
153
154# Theme options are theme-specific and customize the look and feel of a theme
155# further.  For a list of options available for each theme, see the
156# documentation.
157#
158# html_theme_options = {}
159
160# Add any paths that contain custom themes here, relative to this directory.
161# html_theme_path = []
162html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
163
164# The name for this set of Sphinx documents.
165# "<project> v<release> documentation" by default.
166#
167# html_title = u'Thread Harness Automation v0.5'
168
169# A shorter title for the navigation bar.  Default is the same as html_title.
170#
171# html_short_title = None
172
173# The name of an image file (relative to this directory) to place at the top
174# of the sidebar.
175#
176# html_logo = None
177
178# The name of an image file (relative to this directory) to use as a favicon of
179# the docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
180# pixels large.
181#
182# html_favicon = None
183
184# Add any paths that contain custom static files (such as style sheets) here,
185# relative to this directory. They are copied after the builtin static files,
186# so a file named "default.css" will overwrite the builtin "default.css".
187html_static_path = ['_static']
188
189# Add any extra paths that contain custom files (such as robots.txt or
190# .htaccess) here, relative to this directory. These files are copied
191# directly to the root of the documentation.
192#
193# html_extra_path = []
194
195# If not None, a 'Last updated on:' timestamp is inserted at every page
196# bottom, using the given strftime format.
197# The empty string is equivalent to '%b %d, %Y'.
198#
199# html_last_updated_fmt = None
200
201# If true, SmartyPants will be used to convert quotes and dashes to
202# typographically correct entities.
203#
204# html_use_smartypants = True
205
206# Custom sidebar templates, maps document names to template names.
207#
208# html_sidebars = {}
209
210# Additional templates that should be rendered to pages, maps page names to
211# template names.
212#
213# html_additional_pages = {}
214
215# If false, no module index is generated.
216#
217# html_domain_indices = True
218
219# If false, no index is generated.
220#
221# html_use_index = True
222
223# If true, the index is split into individual pages for each letter.
224#
225# html_split_index = False
226
227# If true, links to the reST sources are added to the pages.
228#
229# html_show_sourcelink = True
230
231# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
232#
233# html_show_sphinx = True
234
235# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
236#
237# html_show_copyright = True
238
239# If true, an OpenSearch description file will be output, and all pages will
240# contain a <link> tag referring to it.  The value of this option must be the
241# base URL from which the finished HTML is served.
242#
243# html_use_opensearch = ''
244
245# This is the file name suffix for HTML files (e.g. ".xhtml").
246# html_file_suffix = None
247
248# Language to be used for generating the HTML full-text search index.
249# Sphinx supports the following languages:
250#   'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
251#   'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh'
252#
253# html_search_language = 'en'
254
255# A dictionary with options for the search language support, empty by default.
256# 'ja' uses this config value.
257# 'zh' user can custom change `jieba` dictionary path.
258#
259# html_search_options = {'type': 'default'}
260
261# The name of a javascript file (relative to the configuration directory) that
262# implements a search results scorer. If empty, the default will be used.
263#
264# html_search_scorer = 'scorer.js'
265
266# Output file base name for HTML help builder.
267htmlhelp_basename = 'ThreadHarnessAutomationdoc'
268
269# -- Options for LaTeX output ---------------------------------------------
270
271latex_elements = {
272    # The paper size ('letterpaper' or 'a4paper').
273    #
274    # 'papersize': 'letterpaper',
275    # The font size ('10pt', '11pt' or '12pt').
276    #
277    # 'pointsize': '10pt',
278    # Additional stuff for the LaTeX preamble.
279    #
280    # 'preamble': '',
281    # Latex figure (float) alignment
282    #
283    # 'figure_align': 'htbp',
284}
285
286# Grouping the document tree into LaTeX files. List of tuples
287# (source start file, target name, title,
288#  author, documentclass [howto, manual, or own class]).
289latex_documents = [(
290    master_doc,
291    'ThreadHarnessAutomation.tex',
292    u'Thread Harness Automation Documentation',
293    u'OpenThread',
294    'manual',
295)]
296
297# The name of an image file (relative to this directory) to place at the top of
298# the title page.
299#
300# latex_logo = None
301
302# For "manual" documents, if this is true, then toplevel headings are parts,
303# not chapters.
304#
305# latex_use_parts = False
306
307# If true, show page references after internal links.
308#
309# latex_show_pagerefs = False
310
311# If true, show URL addresses after external links.
312#
313# latex_show_urls = False
314
315# Documents to append as an appendix to all manuals.
316#
317# latex_appendices = []
318
319# If false, no module index is generated.
320#
321# latex_domain_indices = True
322
323# -- Options for manual page output ---------------------------------------
324
325# One entry per manual page. List of tuples
326# (source start file, name, description, authors, manual section).
327man_pages = [(
328    master_doc,
329    'threadharnessautomation',
330    u'Thread Harness Automation Documentation',
331    [author],
332    1,
333)]
334
335# If true, show URL addresses after external links.
336#
337# man_show_urls = False
338
339# -- Options for Texinfo output -------------------------------------------
340
341# Grouping the document tree into Texinfo files. List of tuples
342# (source start file, target name, title, author,
343#  dir menu entry, description, category)
344texinfo_documents = [(
345    master_doc,
346    'ThreadHarnessAutomation',
347    u'Thread Harness Automation Documentation',
348    author,
349    'ThreadHarnessAutomation',
350    'One line description of project.',
351    'Miscellaneous',
352)]
353
354# Documents to append as an appendix to all manuals.
355#
356# texinfo_appendices = []
357
358# If false, no module index is generated.
359#
360# texinfo_domain_indices = True
361
362# How to display URL addresses: 'footnote', 'no', or 'inline'.
363#
364# texinfo_show_urls = 'footnote'
365
366# If true, do not generate a @detailmenu in the "Top" node's menu.
367#
368# texinfo_no_detailmenu = False
369