xref: /openbsd-src/gnu/llvm/clang/docs/analyzer/conf.py (revision 12c855180aad702bbcca06e0398d774beeafb155)
1e5dd7070Spatrick# -*- coding: utf-8 -*-
2e5dd7070Spatrick#
3e5dd7070Spatrick# Clang Static Analyzer documentation build configuration file, created by
4e5dd7070Spatrick# sphinx-quickstart on Wed Jan  2 15:54:28 2013.
5e5dd7070Spatrick#
6e5dd7070Spatrick# This file is execfile()d with the current directory set to its containing dir.
7e5dd7070Spatrick#
8e5dd7070Spatrick# Note that not all possible configuration values are present in this
9e5dd7070Spatrick# autogenerated file.
10e5dd7070Spatrick#
11e5dd7070Spatrick# All configuration values have a default; values that are commented out
12e5dd7070Spatrick# serve to show the default.
13e5dd7070Spatrick
14e5dd7070Spatrickimport sys, os
15e5dd7070Spatrickfrom datetime import date
16e5dd7070Spatrick
17e5dd7070Spatrick# If extensions (or modules to document with autodoc) are in another directory,
18e5dd7070Spatrick# add these directories to sys.path here. If the directory is relative to the
19e5dd7070Spatrick# documentation root, use os.path.abspath to make it absolute, like shown here.
20e5dd7070Spatrick#sys.path.insert(0, os.path.abspath('.'))
21e5dd7070Spatrick
22e5dd7070Spatrick# -- General configuration -----------------------------------------------------
23e5dd7070Spatrick
24e5dd7070Spatrick# If your documentation needs a minimal Sphinx version, state it here.
25e5dd7070Spatrick#needs_sphinx = '1.0'
26e5dd7070Spatrick
27e5dd7070Spatrick# Add any Sphinx extension module names here, as strings. They can be extensions
28e5dd7070Spatrick# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
29e5dd7070Spatrickextensions = ['sphinx.ext.todo', 'sphinx.ext.mathjax']
30e5dd7070Spatrick
31e5dd7070Spatrick# Add any paths that contain templates here, relative to this directory.
32e5dd7070Spatricktemplates_path = ['_templates']
33e5dd7070Spatrick
34e5dd7070Spatrick# The suffix of source filenames.
35e5dd7070Spatricksource_suffix = '.rst'
36e5dd7070Spatrick
37e5dd7070Spatrick# The encoding of source files.
38e5dd7070Spatrick#source_encoding = 'utf-8-sig'
39e5dd7070Spatrick
40e5dd7070Spatrick# The master toctree document.
41e5dd7070Spatrickmaster_doc = 'index'
42e5dd7070Spatrick
43e5dd7070Spatrick# General information about the project.
44e5dd7070Spatrickproject = u'Clang Static Analyzer'
45e5dd7070Spatrickcopyright = u'2013-%d, Analyzer Team' % date.today().year
46e5dd7070Spatrick
47e5dd7070Spatrick# The version info for the project you're documenting, acts as replacement for
48e5dd7070Spatrick# |version| and |release|, also used in various other places throughout the
49e5dd7070Spatrick# built documents.
50e5dd7070Spatrick#
51e5dd7070Spatrick# The short version.
52*12c85518Srobertversion = '16'
53e5dd7070Spatrick# The full version, including alpha/beta/rc tags.
54*12c85518Srobertrelease = '16'
55e5dd7070Spatrick
56e5dd7070Spatrick# The language for content autogenerated by Sphinx. Refer to documentation
57e5dd7070Spatrick# for a list of supported languages.
58e5dd7070Spatrick#language = None
59e5dd7070Spatrick
60e5dd7070Spatrick# There are two options for replacing |today|: either, you set today to some
61e5dd7070Spatrick# non-false value, then it is used:
62e5dd7070Spatrick#today = ''
63e5dd7070Spatrick# Else, today_fmt is used as the format for a strftime call.
64e5dd7070Spatrick#today_fmt = '%B %d, %Y'
65e5dd7070Spatrick
66e5dd7070Spatrick# List of patterns, relative to source directory, that match files and
67e5dd7070Spatrick# directories to ignore when looking for source files.
68e5dd7070Spatrickexclude_patterns = ['_build']
69e5dd7070Spatrick
70e5dd7070Spatrick# The reST default role (used for this markup: `text`) to use for all documents.
71e5dd7070Spatrick#default_role = None
72e5dd7070Spatrick
73e5dd7070Spatrick# If true, '()' will be appended to :func: etc. cross-reference text.
74e5dd7070Spatrick#add_function_parentheses = True
75e5dd7070Spatrick
76e5dd7070Spatrick# If true, the current module name will be prepended to all description
77e5dd7070Spatrick# unit titles (such as .. function::).
78e5dd7070Spatrick#add_module_names = True
79e5dd7070Spatrick
80e5dd7070Spatrick# If true, sectionauthor and moduleauthor directives will be shown in the
81e5dd7070Spatrick# output. They are ignored by default.
82e5dd7070Spatrick#show_authors = False
83e5dd7070Spatrick
84e5dd7070Spatrick# The name of the Pygments (syntax highlighting) style to use.
85e5dd7070Spatrickpygments_style = 'sphinx'
86e5dd7070Spatrick
87e5dd7070Spatrick
88e5dd7070Spatrick# -- Options for HTML output ---------------------------------------------------
89e5dd7070Spatrick
90e5dd7070Spatrick# The theme to use for HTML and HTML Help pages.  See the documentation for
91e5dd7070Spatrick# a list of builtin themes.
92e5dd7070Spatrickhtml_theme = 'haiku'
93e5dd7070Spatrick
94e5dd7070Spatrick# Theme options are theme-specific and customize the look and feel of a theme
95e5dd7070Spatrick# further.  For a list of options available for each theme, see the
96e5dd7070Spatrick# documentation.
97e5dd7070Spatrick#html_theme_options = {}
98e5dd7070Spatrick
99e5dd7070Spatrick# Add any paths that contain custom themes here, relative to this directory.
100e5dd7070Spatrick#html_theme_path = []
101e5dd7070Spatrick
102e5dd7070Spatrick# The name for this set of Sphinx documents.  If None, it defaults to
103e5dd7070Spatrick# "<project> v<release> documentation".
104e5dd7070Spatrick#html_title = None
105e5dd7070Spatrick
106e5dd7070Spatrick# A shorter title for the navigation bar.  Default is the same as html_title.
107e5dd7070Spatrick#html_short_title = None
108e5dd7070Spatrick
109e5dd7070Spatrick# The name of an image file (relative to this directory) to place at the top
110e5dd7070Spatrick# of the sidebar.
111e5dd7070Spatrick#html_logo = None
112e5dd7070Spatrick
113e5dd7070Spatrick# The name of an image file (within the static path) to use as favicon of the
114e5dd7070Spatrick# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
115e5dd7070Spatrick# pixels large.
116e5dd7070Spatrick#html_favicon = None
117e5dd7070Spatrick
118e5dd7070Spatrick# Add any paths that contain custom static files (such as style sheets) here,
119e5dd7070Spatrick# relative to this directory. They are copied after the builtin static files,
120e5dd7070Spatrick# so a file named "default.css" will overwrite the builtin "default.css".
121e5dd7070Spatrickhtml_static_path = []
122e5dd7070Spatrick
123e5dd7070Spatrick# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
124e5dd7070Spatrick# using the given strftime format.
125e5dd7070Spatrick#html_last_updated_fmt = '%b %d, %Y'
126e5dd7070Spatrick
127e5dd7070Spatrick# If true, SmartyPants will be used to convert quotes and dashes to
128e5dd7070Spatrick# typographically correct entities.
129e5dd7070Spatrick#html_use_smartypants = True
130e5dd7070Spatrick
131e5dd7070Spatrick# Custom sidebar templates, maps document names to template names.
132e5dd7070Spatrick#html_sidebars = {}
133e5dd7070Spatrick
134e5dd7070Spatrick# Additional templates that should be rendered to pages, maps page names to
135e5dd7070Spatrick# template names.
136e5dd7070Spatrick#html_additional_pages = {}
137e5dd7070Spatrick
138e5dd7070Spatrick# If false, no module index is generated.
139e5dd7070Spatrick#html_domain_indices = True
140e5dd7070Spatrick
141e5dd7070Spatrick# If false, no index is generated.
142e5dd7070Spatrick#html_use_index = True
143e5dd7070Spatrick
144e5dd7070Spatrick# If true, the index is split into individual pages for each letter.
145e5dd7070Spatrick#html_split_index = False
146e5dd7070Spatrick
147e5dd7070Spatrick# If true, links to the reST sources are added to the pages.
148e5dd7070Spatrick#html_show_sourcelink = True
149e5dd7070Spatrick
150e5dd7070Spatrick# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
151e5dd7070Spatrick#html_show_sphinx = True
152e5dd7070Spatrick
153e5dd7070Spatrick# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
154e5dd7070Spatrick#html_show_copyright = True
155e5dd7070Spatrick
156e5dd7070Spatrick# If true, an OpenSearch description file will be output, and all pages will
157e5dd7070Spatrick# contain a <link> tag referring to it.  The value of this option must be the
158e5dd7070Spatrick# base URL from which the finished HTML is served.
159e5dd7070Spatrick#html_use_opensearch = ''
160e5dd7070Spatrick
161e5dd7070Spatrick# This is the file name suffix for HTML files (e.g. ".xhtml").
162e5dd7070Spatrick#html_file_suffix = None
163e5dd7070Spatrick
164e5dd7070Spatrick# Output file base name for HTML help builder.
165e5dd7070Spatrickhtmlhelp_basename = 'ClangStaticAnalyzerdoc'
166e5dd7070Spatrick
167e5dd7070Spatrick
168e5dd7070Spatrick# -- Options for LaTeX output --------------------------------------------------
169e5dd7070Spatrick
170e5dd7070Spatricklatex_elements = {
171e5dd7070Spatrick# The paper size ('letterpaper' or 'a4paper').
172e5dd7070Spatrick#'papersize': 'letterpaper',
173e5dd7070Spatrick
174e5dd7070Spatrick# The font size ('10pt', '11pt' or '12pt').
175e5dd7070Spatrick#'pointsize': '10pt',
176e5dd7070Spatrick
177e5dd7070Spatrick# Additional stuff for the LaTeX preamble.
178e5dd7070Spatrick#'preamble': '',
179e5dd7070Spatrick}
180e5dd7070Spatrick
181e5dd7070Spatrick# Grouping the document tree into LaTeX files. List of tuples
182e5dd7070Spatrick# (source start file, target name, title, author, documentclass [howto/manual]).
183e5dd7070Spatricklatex_documents = [
184e5dd7070Spatrick  ('index', 'ClangStaticAnalyzer.tex', u'Clang Static Analyzer Documentation',
185e5dd7070Spatrick   u'Analyzer Team', 'manual'),
186e5dd7070Spatrick]
187e5dd7070Spatrick
188e5dd7070Spatrick# The name of an image file (relative to this directory) to place at the top of
189e5dd7070Spatrick# the title page.
190e5dd7070Spatrick#latex_logo = None
191e5dd7070Spatrick
192e5dd7070Spatrick# For "manual" documents, if this is true, then toplevel headings are parts,
193e5dd7070Spatrick# not chapters.
194e5dd7070Spatrick#latex_use_parts = False
195e5dd7070Spatrick
196e5dd7070Spatrick# If true, show page references after internal links.
197e5dd7070Spatrick#latex_show_pagerefs = False
198e5dd7070Spatrick
199e5dd7070Spatrick# If true, show URL addresses after external links.
200e5dd7070Spatrick#latex_show_urls = False
201e5dd7070Spatrick
202e5dd7070Spatrick# Documents to append as an appendix to all manuals.
203e5dd7070Spatrick#latex_appendices = []
204e5dd7070Spatrick
205e5dd7070Spatrick# If false, no module index is generated.
206e5dd7070Spatrick#latex_domain_indices = True
207e5dd7070Spatrick
208e5dd7070Spatrick
209e5dd7070Spatrick# -- Options for manual page output --------------------------------------------
210e5dd7070Spatrick
211e5dd7070Spatrick# One entry per manual page. List of tuples
212e5dd7070Spatrick# (source start file, name, description, authors, manual section).
213e5dd7070Spatrickman_pages = [
214e5dd7070Spatrick    ('index', 'clangstaticanalyzer', u'Clang Static Analyzer Documentation',
215e5dd7070Spatrick     [u'Analyzer Team'], 1)
216e5dd7070Spatrick]
217e5dd7070Spatrick
218e5dd7070Spatrick# If true, show URL addresses after external links.
219e5dd7070Spatrick#man_show_urls = False
220e5dd7070Spatrick
221e5dd7070Spatrick
222e5dd7070Spatrick# -- Options for Texinfo output ------------------------------------------------
223e5dd7070Spatrick
224e5dd7070Spatrick# Grouping the document tree into Texinfo files. List of tuples
225e5dd7070Spatrick# (source start file, target name, title, author,
226e5dd7070Spatrick#  dir menu entry, description, category)
227e5dd7070Spatricktexinfo_documents = [
228e5dd7070Spatrick  ('index', 'ClangStaticAnalyzer', u'Clang Static Analyzer Documentation',
229e5dd7070Spatrick   u'Analyzer Team', 'ClangStaticAnalyzer', 'One line description of project.',
230e5dd7070Spatrick   'Miscellaneous'),
231e5dd7070Spatrick]
232e5dd7070Spatrick
233e5dd7070Spatrick# Documents to append as an appendix to all manuals.
234e5dd7070Spatrick#texinfo_appendices = []
235e5dd7070Spatrick
236e5dd7070Spatrick# If false, no module index is generated.
237e5dd7070Spatrick#texinfo_domain_indices = True
238e5dd7070Spatrick
239e5dd7070Spatrick# How to display URL addresses: 'footnote', 'no', or 'inline'.
240e5dd7070Spatrick#texinfo_show_urls = 'footnote'
241e5dd7070Spatrick
242e5dd7070Spatrick
243e5dd7070Spatrick# Example configuration for intersphinx: refer to the Python standard library.
244e5dd7070Spatrickintersphinx_mapping = {'http://docs.python.org/': None}
245