Debian Codegraph @

releasenotes/source/conf.py

raw symbols SCIP
1 # Copyright (C) 2020 Red Hat, Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 # implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 # This file is execfile()d with the current directory set to its
17 # containing dir.
18 #
19 # Note that not all possible configuration values are present in this
20 # autogenerated file.
21 #
22 # All configuration values have a default; values that are commented out
23 # serve to show the default.
24
25 # If extensions (or modules to document with autodoc) are in another directory,
26 # add these directories to sys.path here. If the directory is relative to the
27 # documentation root, use os.path.abspath to make it absolute, like shown here.
28 # sys.path.insert(0, os.path.abspath('.'))
29
30 # -- General configuration ------------------------------------------------
31
32 # If your documentation needs a minimal Sphinx version, state it here.
33 # needs_sphinx = '1.0'
34
35 # Add any Sphinx extension module names here, as strings. They can be
36 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
37 # ones.
38 extensions = [
39 'openstackdocstheme',
40 'reno.sphinxext',
41 ]
42
43 # openstackdocstheme options
44 openstackdocs_repo_name = 'openstack/oslo.privsep'
45 openstackdocs_bug_project = 'oslo.privsep'
46 openstackdocs_bug_tag = ''
47
48 # Add any paths that contain templates here, relative to this directory.
49 templates_path = ['_templates']
50
51 # The suffix of source filenames.
52 source_suffix = '.rst'
53
54 # The encoding of source files.
55 # source_encoding = 'utf-8-sig'
56
57 # The master toctree document.
58 master_doc = 'index'
59
60 # General information about the project.
61 copyright = '2016, oslo.privsep Developers'
62
63 # Release notes do not need a version in the title, they span
64 # multiple versions.
65 # The full version, including alpha/beta/rc tags.
66 release = ''
67 # The short X.Y version.
68 version = ''
69
70 # The language for content autogenerated by Sphinx. Refer to documentation
71 # for a list of supported languages.
72 # language = None
73
74 # There are two options for replacing |today|: either, you set today to some
75 # non-false value, then it is used:
76 # today = ''
77 # Else, today_fmt is used as the format for a strftime call.
78 # today_fmt = '%B %d, %Y'
79
80 # List of patterns, relative to source directory, that match files and
81 # directories to ignore when looking for source files.
82 exclude_patterns = []
83
84 # The reST default role (used for this markup: `text`) to use for all
85 # documents.
86 # default_role = None
87
88 # If true, '()' will be appended to :func: etc. cross-reference text.
89 # add_function_parentheses = True
90
91 # If true, the current module name will be prepended to all description
92 # unit titles (such as .. function::).
93 # add_module_names = True
94
95 # If true, sectionauthor and moduleauthor directives will be shown in the
96 # output. They are ignored by default.
97 # show_authors = False
98
99 # The name of the Pygments (syntax highlighting) style to use.
100 pygments_style = 'native'
101
102 # A list of ignored prefixes for module index sorting.
103 # modindex_common_prefix = []
104
105 # If true, keep warnings as "system message" paragraphs in the built documents.
106 # keep_warnings = False
107
108
109 # -- Options for HTML output ----------------------------------------------
110
111 # The theme to use for HTML and HTML Help pages. See the documentation for
112 # a list of builtin themes.
113 html_theme = 'openstackdocs'
114
115 # Theme options are theme-specific and customize the look and feel of a theme
116 # further. For a list of options available for each theme, see the
117 # documentation.
118 # html_theme_options = {}
119
120 # Add any paths that contain custom themes here, relative to this directory.
121 # html_theme_path = []
122
123 # The name for this set of Sphinx documents. If None, it defaults to
124 # "<project> v<release> documentation".
125 # html_title = None
126
127 # A shorter title for the navigation bar. Default is the same as html_title.
128 # html_short_title = None
129
130 # The name of an image file (relative to this directory) to place at the top
131 # of the sidebar.
132 # html_logo = None
133
134 # The name of an image file (within the static path) to use as favicon of the
135 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
136 # pixels large.
137 # html_favicon = None
138
139 # Add any paths that contain custom static files (such as style sheets) here,
140 # relative to this directory. They are copied after the builtin static files,
141 # so a file named "default.css" will overwrite the builtin "default.css".
142 html_static_path = ['_static']
143
144 # Add any extra paths that contain custom files (such as robots.txt or
145 # .htaccess) here, relative to this directory. These files are copied
146 # directly to the root of the documentation.
147 # html_extra_path = []
148
149 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
150 # using the given strftime format.
151 # html_last_updated_fmt = '%b %d, %Y'
152
153 # If true, SmartyPants will be used to convert quotes and dashes to
154 # typographically correct entities.
155 # html_use_smartypants = True
156
157 # Custom sidebar templates, maps document names to template names.
158 # html_sidebars = {}
159
160 # Additional templates that should be rendered to pages, maps page names to
161 # template names.
162 # html_additional_pages = {}
163
164 # If false, no module index is generated.
165 # html_domain_indices = True
166
167 # If false, no index is generated.
168 # html_use_index = True
169
170 # If true, the index is split into individual pages for each letter.
171 # html_split_index = False
172
173 # If true, links to the reST sources are added to the pages.
174 # html_show_sourcelink = True
175
176 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
177 # html_show_sphinx = True
178
179 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
180 # html_show_copyright = True
181
182 # If true, an OpenSearch description file will be output, and all pages will
183 # contain a <link> tag referring to it. The value of this option must be the
184 # base URL from which the finished HTML is served.
185 # html_use_opensearch = ''
186
187 # This is the file name suffix for HTML files (e.g. ".xhtml").
188 # html_file_suffix = None
189
190 # Output file base name for HTML help builder.
191 htmlhelp_basename = 'oslo.privsepReleaseNotesDoc'
192
193
194 # -- Options for LaTeX output ---------------------------------------------
195
196 # Grouping the document tree into LaTeX files. List of tuples
197 # (source start file, target name, title,
198 # author, documentclass [howto, manual, or own class]).
199 latex_documents = [
200 (
201 'index',
202 'oslo.privsepReleaseNotes.tex',
203 'oslo.privsep Release Notes Documentation',
204 'oslo.privsep Developers',
205 'manual',
206 ),
207 ]
208
209 # The name of an image file (relative to this directory) to place at the top of
210 # the title page.
211 # latex_logo = None
212
213 # For "manual" documents, if this is true, then toplevel headings are parts,
214 # not chapters.
215 # latex_use_parts = False
216
217 # If true, show page references after internal links.
218 # latex_show_pagerefs = False
219
220 # If true, show URL addresses after external links.
221 # latex_show_urls = False
222
223 # Documents to append as an appendix to all manuals.
224 # latex_appendices = []
225
226 # If false, no module index is generated.
227 # latex_domain_indices = True
228
229
230 # -- Options for manual page output ---------------------------------------
231
232 # One entry per manual page. List of tuples
233 # (source start file, name, description, authors, manual section).
234 man_pages = [
235 (
236 'index',
237 'oslo.privsepReleaseNotes',
238 'oslo.privsep Release Notes Documentation',
239 ['oslo.privsep Developers'],
240 1,
241 )
242 ]
243
244 # If true, show URL addresses after external links.
245 # man_show_urls = False
246
247
248 # -- Options for Texinfo output -------------------------------------------
249
250 # Grouping the document tree into Texinfo files. List of tuples
251 # (source start file, target name, title, author,
252 # dir menu entry, description, category)
253 texinfo_documents = [
254 (
255 'index',
256 'oslo.privsepReleaseNotes',
257 'oslo.privsep Release Notes Documentation',
258 'oslo.privsep Developers',
259 'oslo.privsepReleaseNotes',
260 'OpenStack library for privilege separation.',
261 'Miscellaneous',
262 ),
263 ]
264
265 # Documents to append as an appendix to all manuals.
266 # texinfo_appendices = []
267
268 # If false, no module index is generated.
269 # texinfo_domain_indices = True
270
271 # How to display URL addresses: 'footnote', 'no', or 'inline'.
272 # texinfo_show_urls = 'footnote'
273
274 # If true, do not generate a @detailmenu in the "Top" node's menu.
275 # texinfo_no_detailmenu = False
276
277 # -- Options for Internationalization output ------------------------------
278 locale_dirs = ['locale/']