Imported Upstream version 1.0.0
[platform/upstream/nghttp2.git] / doc / conf.py.in
1 # -*- coding: utf-8 -*-
2 # nghttp2 - HTTP/2 C Library
3
4 # Copyright (c) 2012 Tatsuhiro Tsujikawa
5
6 # Permission is hereby granted, free of charge, to any person obtaining
7 # a copy of this software and associated documentation files (the
8 # "Software"), to deal in the Software without restriction, including
9 # without limitation the rights to use, copy, modify, merge, publish,
10 # distribute, sublicense, and/or sell copies of the Software, and to
11 # permit persons to whom the Software is furnished to do so, subject to
12 # the following conditions:
13
14 # The above copyright notice and this permission notice shall be
15 # included in all copies or substantial portions of the Software.
16
17 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
25 #
26 # nghttp2 documentation build configuration file, created by
27 # sphinx-quickstart on Sun Mar 11 22:57:49 2012.
28 #
29 # This file is execfile()d with the current directory set to its containing dir.
30 #
31 # Note that not all possible configuration values are present in this
32 # autogenerated file.
33 #
34 # All configuration values have a default; values that are commented out
35 # serve to show the default.
36
37 import sys, os
38
39 # If extensions (or modules to document with autodoc) are in another directory,
40 # add these directories to sys.path here. If the directory is relative to the
41 # documentation root, use os.path.abspath to make it absolute, like shown here.
42 #sys.path.insert(0, os.path.abspath('.'))
43
44 # -- General configuration -----------------------------------------------------
45
46 # If your documentation needs a minimal Sphinx version, state it here.
47 #needs_sphinx = '1.0'
48
49 # Add any Sphinx extension module names here, as strings. They can be extensions
50 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
51 extensions = []
52
53 # Add any paths that contain templates here, relative to this directory.
54 templates_path = ['@top_srcdir@/_templates']
55
56 # The suffix of source filenames.
57 source_suffix = '.rst'
58
59 # The encoding of source files.
60 #source_encoding = 'utf-8-sig'
61
62 # The master toctree document.
63 master_doc = 'index'
64
65 # General information about the project.
66 project = u'nghttp2'
67 copyright = u'2012, 2015, Tatsuhiro Tsujikawa'
68
69 # The version info for the project you're documenting, acts as replacement for
70 # |version| and |release|, also used in various other places throughout the
71 # built documents.
72 #
73 # The short X.Y version.
74 version = '@PACKAGE_VERSION@'
75 # The full version, including alpha/beta/rc tags.
76 release = '@PACKAGE_VERSION@'
77
78 # The language for content autogenerated by Sphinx. Refer to documentation
79 # for a list of supported languages.
80 #language = None
81
82 # There are two options for replacing |today|: either, you set today to some
83 # non-false value, then it is used:
84 #today = ''
85 # Else, today_fmt is used as the format for a strftime call.
86 #today_fmt = '%B %d, %Y'
87
88 # List of patterns, relative to source directory, that match files and
89 # directories to ignore when looking for source files.
90 exclude_patterns = ['manual', 'README.rst', '*-header.rst', 'sources']
91
92 # The reST default role (used for this markup: `text`) to use for all documents.
93 default_role = 'c:func'
94 primary_domain = 'c'
95
96 # If true, '()' will be appended to :func: etc. cross-reference text.
97 #add_function_parentheses = True
98
99 # If true, the current module name will be prepended to all description
100 # unit titles (such as .. function::).
101 #add_module_names = True
102
103 # If true, sectionauthor and moduleauthor directives will be shown in the
104 # output. They are ignored by default.
105 #show_authors = False
106
107 # The default language to highlight source code in. The default is 'python'.
108 highlight_language = 'c'
109
110 # The name of the Pygments (syntax highlighting) style to use.
111 pygments_style = 'sphinx'
112
113 # A list of ignored prefixes for module index sorting.
114 #modindex_common_prefix = []
115
116
117 # -- Options for HTML output ---------------------------------------------------
118
119 # The theme to use for HTML and HTML Help pages.  See the documentation for
120 # a list of builtin themes.
121 html_theme = 'sphinx_rtd_theme'
122
123 # Theme options are theme-specific and customize the look and feel of a theme
124 # further.  For a list of options available for each theme, see the
125 # documentation.
126 #html_theme_options = {}
127
128 # Add any paths that contain custom themes here, relative to this directory.
129 html_theme_path = ['@top_srcdir@/doc/_themes']
130
131 # The name for this set of Sphinx documents.  If None, it defaults to
132 # "<project> v<release> documentation".
133 #html_title = None
134
135 # A shorter title for the navigation bar.  Default is the same as html_title.
136 #html_short_title = None
137
138 # The name of an image file (relative to this directory) to place at the top
139 # of the sidebar.
140 #html_logo = None
141
142 # The name of an image file (within the static path) to use as favicon of the
143 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
144 # pixels large.
145 #html_favicon = None
146
147 # Add any paths that contain custom static files (such as style sheets) here,
148 # relative to this directory. They are copied after the builtin static files,
149 # so a file named "default.css" will overwrite the builtin "default.css".
150 #html_static_path = []
151
152 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
153 # using the given strftime format.
154 #html_last_updated_fmt = '%b %d, %Y'
155
156 # If true, SmartyPants will be used to convert quotes and dashes to
157 # typographically correct entities.
158 html_use_smartypants = False
159
160 # Custom sidebar templates, maps document names to template names.
161 html_sidebars = {
162     '**': ['menu.html', 'localtoc.html', 'relations.html', 'sourcelink.html',
163            'searchbox.html']
164     }
165
166 # Additional templates that should be rendered to pages, maps page names to
167 # template names.
168 #html_additional_pages = {}
169
170 # If false, no module index is generated.
171 #html_domain_indices = True
172
173 # If false, no index is generated.
174 #html_use_index = True
175
176 # If true, the index is split into individual pages for each letter.
177 #html_split_index = False
178
179 # If true, links to the reST sources are added to the pages.
180 html_show_sourcelink = False
181 html_copy_source = False
182
183 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
184 #html_show_sphinx = True
185
186 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
187 #html_show_copyright = True
188
189 # If true, an OpenSearch description file will be output, and all pages will
190 # contain a <link> tag referring to it.  The value of this option must be the
191 # base URL from which the finished HTML is served.
192 #html_use_opensearch = ''
193
194 # This is the file name suffix for HTML files (e.g. ".xhtml").
195 #html_file_suffix = None
196
197 # Output file base name for HTML help builder.
198 htmlhelp_basename = 'nghttp2doc'
199
200
201 # -- Options for LaTeX output --------------------------------------------------
202
203 # The paper size ('letter' or 'a4').
204 #latex_paper_size = 'letter'
205
206 # The font size ('10pt', '11pt' or '12pt').
207 #latex_font_size = '10pt'
208
209 # Grouping the document tree into LaTeX files. List of tuples
210 # (source start file, target name, title, author, documentclass [howto/manual]).
211 latex_documents = [
212   ('index', 'nghttp2.tex', u'nghttp2 Documentation',
213    u'Tatsuhiro Tsujikawa', 'manual'),
214 ]
215
216 # The name of an image file (relative to this directory) to place at the top of
217 # the title page.
218 #latex_logo = None
219
220 # For "manual" documents, if this is true, then toplevel headings are parts,
221 # not chapters.
222 #latex_use_parts = False
223
224 # If true, show page references after internal links.
225 #latex_show_pagerefs = False
226
227 # If true, show URL addresses after external links.
228 #latex_show_urls = False
229
230 # Additional stuff for the LaTeX preamble.
231 #latex_preamble = ''
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     ('nghttp.1', 'nghttp', u'HTTP/2 experimental client',
246      [u'Tatsuhiro Tsujikawa'], 1),
247     ('nghttpd.1', 'nghttpd', u'HTTP/2 experimental server',
248      [u'Tatsuhiro Tsujikawa'], 1),
249     ('nghttpx.1', 'nghttpx', u'HTTP/2 experimental proxy',
250      [u'Tatsuhiro Tsujikawa'], 1),
251     ('h2load.1', 'h2load', u'HTTP/2 benchmarking tool',
252      [u'Tatsuhiro Tsujikawa'], 1)
253 ]