blob: f3332c9a2c58bbcb04ba3eb650560dfca766354a [file] [log] [blame]
John DeNisco06dcd452018-07-26 12:45:10 -04001# -*- coding: utf-8 -*-
2#
3# Configuration file for the Sphinx documentation builder.
4#
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
8
9# -- Path setup --------------------------------------------------------------
10
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.
14#
15# import os
16# import sys
17# sys.path.insert(0, os.path.abspath('.'))
18
19# -- Project information -----------------------------------------------------
20
21project = u'Vector Packet Processor'
John DeNiscoce96dda2018-08-14 16:04:09 -040022copyright = u'2018, Linux Foundation'
John DeNisco06dcd452018-07-26 12:45:10 -040023author = u'John DeNisco'
24
25# The short X.Y version
jdenisco3bfeff72019-05-17 17:43:31 +000026version = u'19.08'
John DeNisco06dcd452018-07-26 12:45:10 -040027# The full version, including alpha/beta/rc tags
jdenisco3bfeff72019-05-17 17:43:31 +000028release = u'01'
John DeNisco06dcd452018-07-26 12:45:10 -040029
30
31# -- General configuration ---------------------------------------------------
32
33# If your documentation needs a minimal Sphinx version, state it here.
34#
35# needs_sphinx = '1.0'
36
37# Add any Sphinx extension module names here, as strings. They can be
38# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
39# ones.
40extensions = [
41 'sphinx.ext.autodoc',
42 'sphinx.ext.viewcode',
jdenisco8a6e1b12019-05-13 12:40:21 -040043 'recommonmark',
44 'sphinx_markdown_tables'
John DeNisco06dcd452018-07-26 12:45:10 -040045]
46
47# Add any paths that contain templates here, relative to this directory.
48templates_path = ['_templates']
49
50# The suffix(es) of source filenames.
51# You can specify multiple suffix as a list of string:
52#
jdenisco8a6e1b12019-05-13 12:40:21 -040053source_suffix = {
54 '.rst': 'restructuredtext',
55 '.md': 'markdown'
56 }
57
John DeNisco06dcd452018-07-26 12:45:10 -040058# The master toctree document.
59master_doc = 'index'
60
61# The language for content autogenerated by Sphinx. Refer to documentation
62# for a list of supported languages.
63#
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.
66language = None
67
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 .
71exclude_patterns = [u'_build', 'Thumbs.db', '.DS_Store']
72
73# The name of the Pygments (syntax highlighting) style to use.
74pygments_style = 'default'
75
76
77# -- Options for HTML output -------------------------------------------------
78
79# The theme to use for HTML and HTML Help pages. See the documentation for
80# a list of builtin themes.
81#
82
83# import sphinx_theme
84
85html_theme = "sphinx_rtd_theme"
86# html_theme = 'neo_rtd_theme'
87
88html_theme_path = ["_themes", ]
89# html_theme_path = [sphinx_theme.get_html_theme_path('neo-rtd-theme')]
90
91# All available themes:
92# print(sphinx_theme.THEME_LIST)
93# >> ['stanford_theme', 'neo_rtd_theme']
94
95# The name of an image file (relative to this directory) to place at the top
96# of the sidebar.
97html_logo = '_static/fd-io_red_white.png'
98
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
101# documentation.
102#
103# html_theme_options = {}
104
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".
108html_static_path = ['_static']
109
110def setup(app):
111 app.add_stylesheet('css/rules.css')
112
113# Custom sidebar templates, must be a dictionary that maps document names
114# to template names.
115#
116# The default sidebars (for documents that don't match any pattern) are
117# defined by theme itself. Builtin themes are using these templates by
118# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
119# 'searchbox.html']``.
120#
121# html_sidebars = {}
122
123
124# -- Options for HTMLHelp output ---------------------------------------------
125
126# Output file base name for HTML help builder.
127htmlhelp_basename = 'Vector Packet Processor'
128
129
130# -- Options for LaTeX output ------------------------------------------------
131
132latex_elements = {
133 # The paper size ('letterpaper' or 'a4paper').
134 #
135 # 'papersize': 'letterpaper',
136
137 # The font size ('10pt', '11pt' or '12pt').
138 #
139 # 'pointsize': '10pt',
140
141 # Additional stuff for the LaTeX preamble.
142 #
143 # 'preamble': '',
144
145 # Latex figure (float) alignment
146 #
147 # 'figure_align': 'htbp',
148}
149
150# Grouping the document tree into LaTeX files. List of tuples
151# (source start file, target name, title,
152# author, documentclass [howto, manual, or own class]).
153latex_documents = [
154 (master_doc, 'Vector Packet Processor.tex', u'Vector Packet Processor Documentation',
155 u'John DeNisco', 'manual'),
156]
157
158
159# -- Options for manual page output ------------------------------------------
160
161# One entry per manual page. List of tuples
162# (source start file, name, description, authors, manual section).
163man_pages = [
164 (master_doc, 'Vector Packet Processor', u'Vector Packet Processor Documentation',
165 [author], 1)
166]
167
168
169# -- Options for Texinfo output ----------------------------------------------
170
171# Grouping the document tree into Texinfo files. List of tuples
172# (source start file, target name, title, author,
173# dir menu entry, description, category)
174texinfo_documents = [
175 (master_doc, 'Vector Packet Processor', u'Vector Packet Processor Documentation',
176 author, 'Vector Packet Processor', 'One line description of project.',
177 'Miscellaneous'),
178]
179
180
181# -- Extension configuration -------------------------------------------------