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 openstackdocs_repo_name = 'openstack/cinder'
56 openstackdocs_bug_project = 'cinder'
57 openstackdocs_bug_tag = 'doc'
58 project = u'Cinder Release Notes'
59 openstackdocs_auto_name = False
60 copyright = u'2015, Cinder Developers'
61
62 # Release notes are version independent, no need to set version and release
63 release = ''
64 version = ''
65
66 # The language for content autogenerated by Sphinx. Refer to documentation
67 # for a list of supported languages.
68 # language = None
69
70 # There are two options for replacing |today|: either, you set today to some
71 # non-false value, then it is used:
72 # today = ''
73 # Else, today_fmt is used as the format for a strftime call.
74 # today_fmt = '%B %d, %Y'
75
76 # List of patterns, relative to source directory, that match files and
77 # directories to ignore when looking for source files.
78 exclude_patterns = []
79
80 # The reST default role (used for this markup: `text`) to use for all
81 # documents.
82 # default_role = None
83
84 # If true, '()' will be appended to :func: etc. cross-reference text.
85 # add_function_parentheses = True
86
87 # If true, the current module name will be prepended to all description
88 # unit titles (such as .. function::).
89 # add_module_names = True
90
91 # If true, sectionauthor and moduleauthor directives will be shown in the
92 # output. They are ignored by default.
93 # show_authors = False
94
95 # The name of the Pygments (syntax highlighting) style to use.
96 pygments_style = 'native'
97
98 # A list of ignored prefixes for module index sorting.
99 # modindex_common_prefix = []
100
101 # If true, keep warnings as "system message" paragraphs in the built documents.
102 # keep_warnings = False
103
104
105 # -- Options for HTML output ----------------------------------------------
106
107 # The theme to use for HTML and HTML Help pages. See the documentation for
108 # a list of builtin themes.
109 html_theme = 'openstackdocs'
110
111 # Theme options are theme-specific and customize the look and feel of a theme
112 # further. For a list of options available for each theme, see the
113 # documentation.
114 # html_theme_options = {}
115
116 # Add any paths that contain custom themes here, relative to this directory.
117 # html_theme_path = []
118
119 # The name for this set of Sphinx documents. If None, it defaults to
120 # "<project> v<release> documentation".
121 # html_title = None
122
123 # A shorter title for the navigation bar. Default is the same as html_title.
124 # html_short_title = None
125
126 # The name of an image file (relative to this directory) to place at the top
127 # of the sidebar.
128 # html_logo = None
129
130 # The name of an image file (within the static path) to use as favicon of the
131 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
132 # pixels large.
133 # html_favicon = None
134
135 # Add any paths that contain custom static files (such as style sheets) here,
136 # relative to this directory. They are copied after the builtin static files,
137 # so a file named "default.css" will overwrite the builtin "default.css".
138 html_static_path = ['_static']
139
140 # Add any extra paths that contain custom files (such as robots.txt or
141 # .htaccess) here, relative to this directory. These files are copied
142 # directly to the root of the documentation.
143 # html_extra_path = []
144
145 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
146 # using the given strftime format.
147 # html_last_updated_fmt = '%Y-%m-%d %H:%M'
148
149 # If true, SmartyPants will be used to convert quotes and dashes to
150 # typographically correct entities.
151 # html_use_smartypants = True
152
153 # Custom sidebar templates, maps document names to template names.
154 # html_sidebars = {}
155
156 # Additional templates that should be rendered to pages, maps page names to
157 # template names.
158 # html_additional_pages = {}
159
160 # If false, no module index is generated.
161 # html_domain_indices = True
162
163 # If false, no index is generated.
164 # html_use_index = True
165
166 # If true, the index is split into individual pages for each letter.
167 # html_split_index = False
168
169 # If true, links to the reST sources are added to the pages.
170 # html_show_sourcelink = True
171
172 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
173 # html_show_sphinx = True
174
175 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
176 # html_show_copyright = True
177
178 # If true, an OpenSearch description file will be output, and all pages will
179 # contain a <link> tag referring to it. The value of this option must be the
180 # base URL from which the finished HTML is served.
181 # html_use_opensearch = ''
182
183 # This is the file name suffix for HTML files (e.g. ".xhtml").
184 # html_file_suffix = None
185
186 # Output file base name for HTML help builder.
187 htmlhelp_basename = 'CinderReleaseNotesdoc'
188
189
190 # -- Options for LaTeX output ---------------------------------------------
191
192 # Grouping the document tree into LaTeX files. List of tuples
193 # (source start file, target name, title,
194 # author, documentclass [howto, manual, or own class]).
195 latex_documents = [
196 ('index', 'CinderReleaseNotes.tex', u'Cinder Release Notes Documentation',
197 u'Cinder Developers', 'manual'),
198 ]
199
200 # The name of an image file (relative to this directory) to place at the top of
201 # the title page.
202 # latex_logo = None
203
204 # For "manual" documents, if this is true, then toplevel headings are parts,
205 # not chapters.
206 # latex_use_parts = False
207
208 # If true, show page references after internal links.
209 # latex_show_pagerefs = False
210
211 # If true, show URL addresses after external links.
212 # latex_show_urls = False
213
214 # Documents to append as an appendix to all manuals.
215 # latex_appendices = []
216
217 # If false, no module index is generated.
218 # latex_domain_indices = True
219
220
221 # -- Options for manual page output ---------------------------------------
222
223 # One entry per manual page. List of tuples
224 # (source start file, name, description, authors, manual section).
225 man_pages = [
226 ('index', 'cinderreleasenotes', u'Cinder Release Notes Documentation',
227 [u'Cinder Developers'], 1)
228 ]
229
230 # If true, show URL addresses after external links.
231 # man_show_urls = False
232
233
234 # -- Options for Texinfo output -------------------------------------------
235
236 # Grouping the document tree into Texinfo files. List of tuples
237 # (source start file, target name, title, author,
238 # dir menu entry, description, category)
239 texinfo_documents = [
240 ('index', 'CinderReleaseNotes', u'Cinder Release Notes Documentation',
241 u'Cinder Developers', 'CinderReleaseNotes',
242 'One line description of project.',
243 'Miscellaneous'),
244 ]
245
246 # Documents to append as an appendix to all manuals.
247 # texinfo_appendices = []
248
249 # If false, no module index is generated.
250 # texinfo_domain_indices = True
251
252 # How to display URL addresses: 'footnote', 'no', or 'inline'.
253 # texinfo_show_urls = 'footnote'
254
255 # If true, do not generate a @detailmenu in the "Top" node's menu.
256 # texinfo_no_detailmenu = False
257
258 # -- Options for Internationalization output ------------------------------
259 locale_dirs = ['locale/']