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