Debian Codegraph @

releasenotes/source/conf.py

raw
1 # -*- coding: utf-8 -*-
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 # http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11 # implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # This file is execfile()d with the current directory set to its
16 # containing dir.
17 #
18 # Note that not all possible configuration values are present in this
19 # autogenerated file.
20 #
21 # All configuration values have a default; values that are commented out
22 # serve to show the default.
23
24 # If extensions (or modules to document with autodoc) are in another directory,
25 # add these directories to sys.path here. If the directory is relative to the
26 # documentation root, use os.path.abspath to make it absolute, like shown here.
27 # sys.path.insert(0, os.path.abspath('.'))
28
29 # -- General configuration ------------------------------------------------
30
31 # If your documentation needs a minimal Sphinx version, state it here.
32 # needs_sphinx = '1.0'
33
34 # Add any Sphinx extension module names here, as strings. They can be
35 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
36 # ones.
37 extensions = [
38 'openstackdocstheme',
39 'reno.sphinxext',
40 ]
41
42 # Add any paths that contain templates here, relative to this directory.
43 templates_path = ['_templates']
44
45 # The suffix of source filenames.
46 source_suffix = '.rst'
47
48 # The encoding of source files.
49 # source_encoding = 'utf-8-sig'
50
51 # The master toctree document.
52 master_doc = 'index'
53
54 # General information about the project.
55 copyright = u'2017, OpenStack Developers'
56
57 # openstackdocstheme options
58 openstackdocs_repo_name = 'openstack/os-resource-classes'
59 openstackdocs_use_storyboard = True
60
61 # The version info for the project you're documenting, acts as replacement for
62 # |version| and |release|, also used in various other places throughout the
63 # built documents.
64 #
65 # The short X.Y version.
66 # The full version, including alpha/beta/rc tags.
67 release = ''
68 # The short X.Y version.
69 version = ''
70
71 # The language for content autogenerated by Sphinx. Refer to documentation
72 # for a list of supported languages.
73 # language = None
74
75 # There are two options for replacing |today|: either, you set today to some
76 # non-false value, then it is used:
77 # today = ''
78 # Else, today_fmt is used as the format for a strftime call.
79 # today_fmt = '%B %d, %Y'
80
81 # List of patterns, relative to source directory, that match files and
82 # directories to ignore when looking for source files.
83 exclude_patterns = []
84
85 # The reST default role (used for this markup: `text`) to use for all
86 # documents.
87 # default_role = None
88
89 # If true, '()' will be appended to :func: etc. cross-reference text.
90 # add_function_parentheses = True
91
92 # If true, the current module name will be prepended to all description
93 # unit titles (such as .. function::).
94 # add_module_names = True
95
96 # If true, sectionauthor and moduleauthor directives will be shown in the
97 # output. They are ignored by default.
98 # show_authors = False
99
100 # The name of the Pygments (syntax highlighting) style to use.
101 pygments_style = 'native'
102
103 # A list of ignored prefixes for module index sorting.
104 # modindex_common_prefix = []
105
106 # If true, keep warnings as "system message" paragraphs in the built documents.
107 # keep_warnings = False
108
109
110 # -- Options for HTML output ----------------------------------------------
111
112 # The theme to use for HTML and HTML Help pages. See the documentation for
113 # a list of builtin themes.
114 html_theme = 'openstackdocs'
115
116 # Theme options are theme-specific and customize the look and feel of a theme
117 # further. For a list of options available for each theme, see the
118 # documentation.
119 # html_theme_options = {}
120
121 # Add any paths that contain custom themes here, relative to this directory.
122 # html_theme_path = []
123
124 # The name for this set of Sphinx documents. If None, it defaults to
125 # "<project> v<release> documentation".
126 # html_title = None
127
128 # A shorter title for the navigation bar. Default is the same as html_title.
129 # html_short_title = None
130
131 # The name of an image file (relative to this directory) to place at the top
132 # of the sidebar.
133 # html_logo = None
134
135 # The name of an image file (within the static path) to use as favicon of the
136 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
137 # pixels large.
138 # html_favicon = None
139
140 # Add any paths that contain custom static files (such as style sheets) here,
141 # relative to this directory. They are copied after the builtin static files,
142 # so a file named "default.css" will overwrite the builtin "default.css".
143 html_static_path = ['_static']
144
145 # Add any extra paths that contain custom files (such as robots.txt or
146 # .htaccess) here, relative to this directory. These files are copied
147 # directly to the root of the documentation.
148 # html_extra_path = []
149
150 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
151 # using the given strftime format.
152 # html_last_updated_fmt = '%b %d, %Y'
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 = 'os_resource_classesReleaseNotesdoc'
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 ('index', 'os_resource_classesReleaseNotes.tex',
202 u'os_resource_classes Release Notes Documentation',
203 u'OpenStack Foundation', 'manual'),
204 ]
205
206 # The name of an image file (relative to this directory) to place at the top of
207 # the title page.
208 # latex_logo = None
209
210 # For "manual" documents, if this is true, then toplevel headings are parts,
211 # not chapters.
212 # latex_use_parts = False
213
214 # If true, show page references after internal links.
215 # latex_show_pagerefs = False
216
217 # If true, show URL addresses after external links.
218 # latex_show_urls = False
219
220 # Documents to append as an appendix to all manuals.
221 # latex_appendices = []
222
223 # If false, no module index is generated.
224 # latex_domain_indices = True
225
226
227 # -- Options for manual page output ---------------------------------------
228
229 # One entry per manual page. List of tuples
230 # (source start file, name, description, authors, manual section).
231 man_pages = [
232 ('index', 'os_resource_classesrereleasenotes',
233 u'os_resource_classes Release Notes Documentation',
234 [u'OpenStack Foundation'], 1)
235 ]
236
237 # If true, show URL addresses after external links.
238 # man_show_urls = False
239
240
241 # -- Options for Texinfo output -------------------------------------------
242
243 # Grouping the document tree into Texinfo files. List of tuples
244 # (source start file, target name, title, author,
245 # dir menu entry, description, category)
246 texinfo_documents = [
247 ('index', 'os_resource_classes ReleaseNotes',
248 u'os_resource_classes Release Notes Documentation',
249 u'OpenStack Foundation', 'os_resource_classesReleaseNotes',
250 'One line description of project.',
251 'Miscellaneous'),
252 ]
253
254 # Documents to append as an appendix to all manuals.
255 # texinfo_appendices = []
256
257 # If false, no module index is generated.
258 # texinfo_domain_indices = True
259
260 # How to display URL addresses: 'footnote', 'no', or 'inline'.
261 # texinfo_show_urls = 'footnote'
262
263 # If true, do not generate a @detailmenu in the "Top" node's menu.
264 # texinfo_no_detailmenu = False
265
266 # -- Options for Internationalization output ------------------------------
267 locale_dirs = ['locale/']