1 # -*- coding: utf-8 -*-
3 # Configuration file for the Sphinx documentation builder.
5 # This file does only contain a selection of the most common options. For a
6 # full list see the documentation:
7 # http://www.sphinx-doc.org/en/stable/config
9 # -- Path setup --------------------------------------------------------------
11 # If extensions (or modules to document with autodoc) are in another directory,
12 # add these directories to sys.path here. If the directory is relative to the
13 # documentation root, use os.path.abspath to make it absolute, like shown here.
17 # sys.path.insert(0, os.path.abspath('.'))
19 # -- Project information -----------------------------------------------------
21 project = u'The Vector Packet Processor'
22 copyright = u'2018-2020, Linux Foundation'
23 author = u'John DeNisco'
25 # The short X.Y version
27 # The full version, including alpha/beta/rc tags
31 # -- General configuration ---------------------------------------------------
33 # If your documentation needs a minimal Sphinx version, state it here.
35 # needs_sphinx = '1.0'
37 # Add any Sphinx extension module names here, as strings. They can be
38 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
42 'sphinx.ext.viewcode',
44 'sphinxcontrib.spelling']
46 spelling_word_list_filename = 'spelling_wordlist.txt'
47 # Add any paths that contain templates here, relative to this directory.
48 templates_path = ['_templates']
50 # The suffix(es) of source filenames.
51 # You can specify multiple suffix as a list of string:
54 '.rst': 'restructuredtext',
58 # The master toctree document.
61 # The language for content autogenerated by Sphinx. Refer to documentation
62 # for a list of supported languages.
64 # This is also used if you do content translation via gettext catalogs.
65 # Usually you set "language" from the command line for these cases.
68 # List of patterns, relative to source directory, that match files and
69 # directories to ignore when looking for source files.
70 # This pattern also affects html_static_path and html_extra_path .
71 exclude_patterns = [u'_build', 'Thumbs.db', '.DS_Store']
73 # The name of the Pygments (syntax highlighting) style to use.
74 pygments_style = 'default'
77 # -- Options for HTML output -------------------------------------------------
79 # The theme to use for HTML and HTML Help pages. See the documentation for
80 # a list of builtin themes.
85 html_theme = "sphinx_rtd_theme"
86 # html_theme = 'neo_rtd_theme'
88 html_theme_path = ["_themes", ]
89 # html_theme_path = [sphinx_theme.get_html_theme_path('neo-rtd-theme')]
91 # All available themes:
92 # print(sphinx_theme.THEME_LIST)
93 # >> ['stanford_theme', 'neo_rtd_theme']
95 # The name of an image file (relative to this directory) to place at the top
97 html_logo = '_static/fd-io_red_white.png'
99 # Theme options are theme-specific and customize the look and feel of a theme
100 # further. For a list of options available for each theme, see the
103 # html_theme_options = {}
105 # Add any paths that contain custom static files (such as style sheets) here,
106 # relative to this directory. They are copied after the builtin static files,
107 # so a file named "default.css" will overwrite the builtin "default.css".
108 html_static_path = ['_static']
112 app.add_stylesheet('css/rules.css')
114 # Custom sidebar templates, must be a dictionary that maps document names
117 # The default sidebars (for documents that don't match any pattern) are
118 # defined by theme itself. Builtin themes are using these templates by
119 # default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
120 # 'searchbox.html']``.
125 # -- Options for HTMLHelp output ---------------------------------------------
127 # Output file base name for HTML help builder.
128 htmlhelp_basename = 'Vector Packet Processor'
131 # -- Options for LaTeX output ------------------------------------------------
134 # The paper size ('letterpaper' or 'a4paper').
136 # 'papersize': 'letterpaper',
138 # The font size ('10pt', '11pt' or '12pt').
140 # 'pointsize': '10pt',
142 # Additional stuff for the LaTeX preamble.
146 # Latex figure (float) alignment
148 # 'figure_align': 'htbp',
151 # Grouping the document tree into LaTeX files. List of tuples
152 # (source start file, target name, title,
153 # author, documentclass [howto, manual, or own class]).
155 (master_doc, 'Vector Packet Processor.tex',
156 u'Vector Packet Processor Documentation',
157 u'John DeNisco', 'manual'),
161 # -- Options for manual page output ------------------------------------------
163 # One entry per manual page. List of tuples
164 # (source start file, name, description, authors, manual section).
166 (master_doc, 'Vector Packet Processor',
167 u'Vector Packet Processor Documentation',
172 # -- Options for Texinfo output ----------------------------------------------
174 # Grouping the document tree into Texinfo files. List of tuples
175 # (source start file, target name, title, author,
176 # dir menu entry, description, category)
177 texinfo_documents = [
178 (master_doc, 'Vector Packet Processor',
179 u'Vector Packet Processor Documentation',
180 author, 'Vector Packet Processor', 'One line description of project.',
185 # -- Extension configuration -------------------------------------------------