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