Debian Codegraph @

releasenotes/source/conf.py

raw
1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at
4 #
5 # http://www.apache.org/licenses/LICENSE-2.0
6 #
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10 # implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 # This file is execfile()d with the current directory set to its
15 # containing dir.
16 #
17 # Note that not all possible configuration values are present in this
18 # autogenerated file.
19 #
20 # All configuration values have a default; values that are commented out
21 # serve to show the default.
22
23 # If extensions (or modules to document with autodoc) are in another directory,
24 # add these directories to sys.path here. If the directory is relative to the
25 # documentation root, use os.path.abspath to make it absolute, like shown here.
26 # sys.path.insert(0, os.path.abspath('.'))
27
28 # -- General configuration ------------------------------------------------
29
30 # If your documentation needs a minimal Sphinx version, state it here.
31 # needs_sphinx = '1.0'
32
33 # Add any Sphinx extension module names here, as strings. They can be
34 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
35 # ones.
36 extensions = [
37 "openstackdocstheme",
38 "reno.sphinxext",
39 ]
40
41 # Add any paths that contain templates here, relative to this directory.
42 templates_path = ["_templates"]
43
44 # The suffix of source filenames.
45 source_suffix = ".rst"
46
47 # The encoding of source files.
48 # source_encoding = 'utf-8-sig'
49
50 # The master toctree document.
51 master_doc = "index"
52
53 # General information about the project.
54 project = "Adjutant Release Notes"
55 copyright = "2019, Adjutant Developers"
56
57 # openstackdocstheme settings
58 openstackdocs_repo_name = "openstack/adjutant"
59 openstackdocs_auto_name = False
60 openstackdocs_use_storyboard = True
61
62 # Release notes are version independent
63
64 # The full version, including alpha/beta/rc tags.
65
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 # html_last_updated_fmt = '%Y-%m-%d %H:%M'
153
154 # If true, SmartyPants will be used to convert quotes and dashes to
155 # typographically correct entities.
156 # html_use_smartypants = True
157
158 # Custom sidebar templates, maps document names to template names.
159 # html_sidebars = {}
160
161 # Additional templates that should be rendered to pages, maps page names to
162 # template names.
163 # html_additional_pages = {}
164
165 # If false, no module index is generated.
166 # html_domain_indices = True
167
168 # If false, no index is generated.
169 # html_use_index = True
170
171 # If true, the index is split into individual pages for each letter.
172 # html_split_index = False
173
174 # If true, links to the reST sources are added to the pages.
175 # html_show_sourcelink = True
176
177 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
178 # html_show_sphinx = True
179
180 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
181 # html_show_copyright = True
182
183 # If true, an OpenSearch description file will be output, and all pages will
184 # contain a <link> tag referring to it. The value of this option must be the
185 # base URL from which the finished HTML is served.
186 # html_use_opensearch = ''
187
188 # This is the file name suffix for HTML files (e.g. ".xhtml").
189 # html_file_suffix = None
190
191 # Output file base name for HTML help builder.
192 htmlhelp_basename = "AdjutantReleaseNotesdoc"
193
194
195 # -- Options for LaTeX output ---------------------------------------------
196
197 # Grouping the document tree into LaTeX files. List of tuples
198 # (source start file, target name, title,
199 # author, documentclass [howto, manual, or own class]).
200 latex_documents = [
201 (
202 "index",
203 "AdjutantReleaseNotes.tex",
204 "Adjutant Release Notes Documentation",
205 "Adjutant Developers",
206 "manual",
207 ),
208 ]
209
210 # The name of an image file (relative to this directory) to place at the top of
211 # the title page.
212 # latex_logo = None
213
214 # For "manual" documents, if this is true, then toplevel headings are parts,
215 # not chapters.
216 # latex_use_parts = False
217
218 # If true, show page references after internal links.
219 # latex_show_pagerefs = False
220
221 # If true, show URL addresses after external links.
222 # latex_show_urls = False
223
224 # Documents to append as an appendix to all manuals.
225 # latex_appendices = []
226
227 # If false, no module index is generated.
228 # latex_domain_indices = True
229
230
231 # -- Options for manual page output ---------------------------------------
232
233 # One entry per manual page. List of tuples
234 # (source start file, name, description, authors, manual section).
235 man_pages = [
236 (
237 "index",
238 "adjutantreleasenotes",
239 "Adjutant Release Notes Documentation",
240 ["Adjutant Developers"],
241 1,
242 )
243 ]
244
245 # If true, show URL addresses after external links.
246 # man_show_urls = False
247
248
249 # -- Options for Texinfo output -------------------------------------------
250
251 # Grouping the document tree into Texinfo files. List of tuples
252 # (source start file, target name, title, author,
253 # dir menu entry, description, category)
254 texinfo_documents = [
255 (
256 "index",
257 "AdjutantReleaseNotes",
258 "Adjutant Release Notes Documentation",
259 "Adjutant Developers",
260 "AdjutantReleaseNotes",
261 "An extensible API framework for admin logic in OpenStack.",
262 "Miscellaneous",
263 ),
264 ]
265
266 # Documents to append as an appendix to all manuals.
267 # texinfo_appendices = []
268
269 # If false, no module index is generated.
270 # texinfo_domain_indices = True
271
272 # How to display URL addresses: 'footnote', 'no', or 'inline'.
273 # texinfo_show_urls = 'footnote'
274
275 # If true, do not generate a @detailmenu in the "Top" node's menu.
276 # texinfo_no_detailmenu = False
277
278 # -- Options for Internationalization output ------------------------------
279 locale_dirs = ["locale/"]