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