annotate libcxx/docs/conf.py @ 181:df311c476dd5

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