blob: d24ec63514ef525561f51926afccecf0f38acda8 [file] [log] [blame]
Eric Fiselierb17bb062015-08-22 19:40:491# -*- coding: utf-8 -*-
2#
3# libc++ documentation build configuration file.
4#
5# This file is execfile()d with the current directory set to its containing dir.
6#
7# Note that not all possible configuration values are present in this
8# autogenerated file.
9#
10# All configuration values have a default; values that are commented out
11# serve to show the default.
12
13import sys, os
Marek Kurdej9d669e82021-05-03 16:44:4714from datetime import date
Eric Fiselierb17bb062015-08-22 19:40:4915
16# If extensions (or modules to document with autodoc) are in another directory,
17# add these directories to sys.path here. If the directory is relative to the
18# documentation root, use os.path.abspath to make it absolute, like shown here.
Tobias Hieta7bfaa0f2023-05-17 09:09:2919# sys.path.insert(0, os.path.abspath('.'))
Eric Fiselierb17bb062015-08-22 19:40:4920
21# -- General configuration -----------------------------------------------------
22
23# If your documentation needs a minimal Sphinx version, state it here.
Tobias Hieta7bfaa0f2023-05-17 09:09:2924# needs_sphinx = '1.0'
Eric Fiselierb17bb062015-08-22 19:40:4925
26# Add any Sphinx extension module names here, as strings. They can be extensions
27# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
Tobias Hieta7bfaa0f2023-05-17 09:09:2928extensions = ["sphinx.ext.intersphinx", "sphinx.ext.todo"]
Eric Fiselierb17bb062015-08-22 19:40:4929
30# Add any paths that contain templates here, relative to this directory.
Tobias Hieta7bfaa0f2023-05-17 09:09:2931templates_path = ["_templates"]
Eric Fiselierb17bb062015-08-22 19:40:4932
33# The suffix of source filenames.
Tobias Hieta7bfaa0f2023-05-17 09:09:2934source_suffix = ".rst"
Eric Fiselierb17bb062015-08-22 19:40:4935
36# The encoding of source files.
Tobias Hieta7bfaa0f2023-05-17 09:09:2937# source_encoding = 'utf-8-sig'
Eric Fiselierb17bb062015-08-22 19:40:4938
39# The master toctree document.
Tobias Hieta7bfaa0f2023-05-17 09:09:2940master_doc = "index"
Eric Fiselierb17bb062015-08-22 19:40:4941
42# General information about the project.
Tobias Hieta7bfaa0f2023-05-17 09:09:2943project = "libc++"
44copyright = "2011-%d, LLVM Project" % date.today().year
Eric Fiselierb17bb062015-08-22 19:40:4945
46# The version info for the project you're documenting, acts as replacement for
47# |version| and |release|, also used in various other places throughout the
48# built documents.
49#
50# The short X.Y version.
Tobias Hieta7bfaa0f2023-05-17 09:09:2951version = "17.0"
Eric Fiselierb17bb062015-08-22 19:40:4952# The full version, including alpha/beta/rc tags.
Tobias Hieta7bfaa0f2023-05-17 09:09:2953release = "17.0"
Eric Fiselierb17bb062015-08-22 19:40:4954
55# The language for content autogenerated by Sphinx. Refer to documentation
56# for a list of supported languages.
Tobias Hieta7bfaa0f2023-05-17 09:09:2957# language = None
Eric Fiselierb17bb062015-08-22 19:40:4958
59# There are two options for replacing |today|: either, you set today to some
60# non-false value, then it is used:
Tobias Hieta7bfaa0f2023-05-17 09:09:2961# today = ''
Eric Fiselierb17bb062015-08-22 19:40:4962# Else, today_fmt is used as the format for a strftime call.
Tobias Hieta7bfaa0f2023-05-17 09:09:2963today_fmt = "%Y-%m-%d"
Eric Fiselierb17bb062015-08-22 19:40:4964
65# List of patterns, relative to source directory, that match files and
66# directories to ignore when looking for source files.
Tobias Hieta7bfaa0f2023-05-17 09:09:2967exclude_patterns = ["_build", "Helpers"]
Eric Fiselierb17bb062015-08-22 19:40:4968
69# The reST default role (used for this markup: `text`) to use for all documents.
Tobias Hieta7bfaa0f2023-05-17 09:09:2970# default_role = None
Eric Fiselierb17bb062015-08-22 19:40:4971
72# If true, '()' will be appended to :func: etc. cross-reference text.
Tobias Hieta7bfaa0f2023-05-17 09:09:2973# add_function_parentheses = True
Eric Fiselierb17bb062015-08-22 19:40:4974
75# If true, the current module name will be prepended to all description
76# unit titles (such as .. function::).
Tobias Hieta7bfaa0f2023-05-17 09:09:2977# add_module_names = True
Eric Fiselierb17bb062015-08-22 19:40:4978
79# If true, sectionauthor and moduleauthor directives will be shown in the
80# output. They are ignored by default.
81show_authors = True
82
83# The name of the Pygments (syntax highlighting) style to use.
Tobias Hieta7bfaa0f2023-05-17 09:09:2984pygments_style = "friendly"
Eric Fiselierb17bb062015-08-22 19:40:4985
86# A list of ignored prefixes for module index sorting.
Tobias Hieta7bfaa0f2023-05-17 09:09:2987# modindex_common_prefix = []
Eric Fiselierb17bb062015-08-22 19:40:4988
89
90# -- Options for HTML output ---------------------------------------------------
91
92# The theme to use for HTML and HTML Help pages. See the documentation for
93# a list of builtin themes.
Tobias Hieta7bfaa0f2023-05-17 09:09:2994html_theme = "haiku"
Eric Fiselierb17bb062015-08-22 19:40:4995
96# Theme options are theme-specific and customize the look and feel of a theme
97# further. For a list of options available for each theme, see the
98# documentation.
Tobias Hieta7bfaa0f2023-05-17 09:09:2999# html_theme_options = {}
Eric Fiselierb17bb062015-08-22 19:40:49100
101# Add any paths that contain custom themes here, relative to this directory.
Tobias Hieta7bfaa0f2023-05-17 09:09:29102# html_theme_path = []
Eric Fiselierb17bb062015-08-22 19:40:49103
104# The name for this set of Sphinx documents. If None, it defaults to
105# "<project> v<release> documentation".
Tobias Hieta7bfaa0f2023-05-17 09:09:29106# html_title = None
Eric Fiselierb17bb062015-08-22 19:40:49107
108# A shorter title for the navigation bar. Default is the same as html_title.
Tobias Hieta7bfaa0f2023-05-17 09:09:29109# html_short_title = None
Eric Fiselierb17bb062015-08-22 19:40:49110
111# The name of an image file (relative to this directory) to place at the top
112# of the sidebar.
Tobias Hieta7bfaa0f2023-05-17 09:09:29113# html_logo = None
Eric Fiselierb17bb062015-08-22 19:40:49114
115# The name of an image file (within the static path) to use as favicon of the
116# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
117# pixels large.
Tobias Hieta7bfaa0f2023-05-17 09:09:29118# html_favicon = None
Eric Fiselierb17bb062015-08-22 19:40:49119
120# Add any paths that contain custom static files (such as style sheets) here,
121# relative to this directory. They are copied after the builtin static files,
122# so a file named "default.css" will overwrite the builtin "default.css".
123html_static_path = []
124
125# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
126# using the given strftime format.
Tobias Hieta7bfaa0f2023-05-17 09:09:29127# html_last_updated_fmt = '%b %d, %Y'
Eric Fiselierb17bb062015-08-22 19:40:49128
129# If true, SmartyPants will be used to convert quotes and dashes to
130# typographically correct entities.
Tobias Hieta7bfaa0f2023-05-17 09:09:29131# html_use_smartypants = True
Eric Fiselierb17bb062015-08-22 19:40:49132
133# Custom sidebar templates, maps document names to template names.
Tobias Hieta7bfaa0f2023-05-17 09:09:29134# html_sidebars = {}
Eric Fiselierb17bb062015-08-22 19:40:49135
136# Additional templates that should be rendered to pages, maps page names to
137# template names.
Tobias Hieta7bfaa0f2023-05-17 09:09:29138# html_additional_pages = {}
Eric Fiselierb17bb062015-08-22 19:40:49139
140# If false, no module index is generated.
Tobias Hieta7bfaa0f2023-05-17 09:09:29141# html_domain_indices = True
Eric Fiselierb17bb062015-08-22 19:40:49142
143# If false, no index is generated.
Tobias Hieta7bfaa0f2023-05-17 09:09:29144# html_use_index = True
Eric Fiselierb17bb062015-08-22 19:40:49145
146# If true, the index is split into individual pages for each letter.
Tobias Hieta7bfaa0f2023-05-17 09:09:29147# html_split_index = False
Eric Fiselierb17bb062015-08-22 19:40:49148
149# If true, links to the reST sources are added to the pages.
Tobias Hieta7bfaa0f2023-05-17 09:09:29150# html_show_sourcelink = True
Eric Fiselierb17bb062015-08-22 19:40:49151
152# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
Tobias Hieta7bfaa0f2023-05-17 09:09:29153# html_show_sphinx = True
Eric Fiselierb17bb062015-08-22 19:40:49154
155# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
Tobias Hieta7bfaa0f2023-05-17 09:09:29156# html_show_copyright = True
Eric Fiselierb17bb062015-08-22 19:40:49157
158# If true, an OpenSearch description file will be output, and all pages will
159# contain a <link> tag referring to it. The value of this option must be the
160# base URL from which the finished HTML is served.
Tobias Hieta7bfaa0f2023-05-17 09:09:29161# html_use_opensearch = ''
Eric Fiselierb17bb062015-08-22 19:40:49162
163# This is the file name suffix for HTML files (e.g. ".xhtml").
Tobias Hieta7bfaa0f2023-05-17 09:09:29164# html_file_suffix = None
Eric Fiselierb17bb062015-08-22 19:40:49165
166# Output file base name for HTML help builder.
Tobias Hieta7bfaa0f2023-05-17 09:09:29167htmlhelp_basename = "libcxxdoc"
Eric Fiselierb17bb062015-08-22 19:40:49168
169
170# -- Options for LaTeX output --------------------------------------------------
171
172latex_elements = {
Tobias Hieta7bfaa0f2023-05-17 09:09:29173 # The paper size ('letterpaper' or 'a4paper').
174 #'papersize': 'letterpaper',
175 # The font size ('10pt', '11pt' or '12pt').
176 #'pointsize': '10pt',
177 # Additional stuff for the LaTeX preamble.
178 #'preamble': '',
Eric Fiselierb17bb062015-08-22 19:40:49179}
180
181# Grouping the document tree into LaTeX files. List of tuples
182# (source start file, target name, title, author, documentclass [howto/manual]).
183latex_documents = [
Tobias Hieta7bfaa0f2023-05-17 09:09:29184 ("contents", "libcxx.tex", "libcxx Documentation", "LLVM project", "manual"),
Eric Fiselierb17bb062015-08-22 19:40:49185]
186
187# The name of an image file (relative to this directory) to place at the top of
188# the title page.
Tobias Hieta7bfaa0f2023-05-17 09:09:29189# latex_logo = None
Eric Fiselierb17bb062015-08-22 19:40:49190
191# For "manual" documents, if this is true, then toplevel headings are parts,
192# not chapters.
Tobias Hieta7bfaa0f2023-05-17 09:09:29193# latex_use_parts = False
Eric Fiselierb17bb062015-08-22 19:40:49194
195# If true, show page references after internal links.
Tobias Hieta7bfaa0f2023-05-17 09:09:29196# latex_show_pagerefs = False
Eric Fiselierb17bb062015-08-22 19:40:49197
198# If true, show URL addresses after external links.
Tobias Hieta7bfaa0f2023-05-17 09:09:29199# latex_show_urls = False
Eric Fiselierb17bb062015-08-22 19:40:49200
201# Documents to append as an appendix to all manuals.
Tobias Hieta7bfaa0f2023-05-17 09:09:29202# latex_appendices = []
Eric Fiselierb17bb062015-08-22 19:40:49203
204# If false, no module index is generated.
Tobias Hieta7bfaa0f2023-05-17 09:09:29205# latex_domain_indices = True
Eric Fiselierb17bb062015-08-22 19:40:49206
207
208# -- Options for manual page output --------------------------------------------
209
210# One entry per manual page. List of tuples
211# (source start file, name, description, authors, manual section).
Tobias Hieta7bfaa0f2023-05-17 09:09:29212man_pages = [("contents", "libc++", "libc++ Documentation", ["LLVM project"], 1)]
Eric Fiselierb17bb062015-08-22 19:40:49213
214# If true, show URL addresses after external links.
Tobias Hieta7bfaa0f2023-05-17 09:09:29215# man_show_urls = False
Eric Fiselierb17bb062015-08-22 19:40:49216
217
218# -- Options for Texinfo output ------------------------------------------------
219
220# Grouping the document tree into Texinfo files. List of tuples
221# (source start file, target name, title, author,
222# dir menu entry, description, category)
223texinfo_documents = [
Tobias Hieta7bfaa0f2023-05-17 09:09:29224 (
225 "contents",
226 "libc++",
227 "libc++ Documentation",
228 "LLVM project",
229 "libc++",
230 "One line description of project.",
231 "Miscellaneous",
232 ),
Eric Fiselierb17bb062015-08-22 19:40:49233]
234
235# Documents to append as an appendix to all manuals.
Tobias Hieta7bfaa0f2023-05-17 09:09:29236# texinfo_appendices = []
Eric Fiselierb17bb062015-08-22 19:40:49237
238# If false, no module index is generated.
Tobias Hieta7bfaa0f2023-05-17 09:09:29239# texinfo_domain_indices = True
Eric Fiselierb17bb062015-08-22 19:40:49240
241# How to display URL addresses: 'footnote', 'no', or 'inline'.
Tobias Hieta7bfaa0f2023-05-17 09:09:29242# texinfo_show_urls = 'footnote'
Eric Fiselierb17bb062015-08-22 19:40:49243
244
Sylvestre Ledru6616b4c2018-09-20 08:05:01245# FIXME: Define intersphinx configuration.
Eric Fiselierb17bb062015-08-22 19:40:49246intersphinx_mapping = {}
247
248
249# -- Options for extensions ----------------------------------------------------
250
251# Enable this if you want TODOs to show up in the generated documentation.
252todo_include_todos = True