Annotation of embedaddon/iperf/docs/conf.py, revision 1.1.1.3

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>