blob: cf838c003292986b4881a63dff5c2defefc734fe [file] [log] [blame]
Sean Dagueb56052b2013-05-21 17:57:41 -04001# -*- coding: utf-8 -*-
2#
3# Tempest documentation build configuration file, created by
4# sphinx-quickstart on Tue May 21 17:43:32 2013.
5#
6# This file is execfile()d with the current directory set to its containing dir.
7#
8# Note that not all possible configuration values are present in this
9# autogenerated file.
10#
11# All configuration values have a default; values that are commented out
12# serve to show the default.
13
Matthew Treinish6d5c0522013-09-11 15:50:30 +000014import sys
15import os
Sean Dagueb56052b2013-05-21 17:57:41 -040016
17# If extensions (or modules to document with autodoc) are in another directory,
18# add these directories to sys.path here. If the directory is relative to the
19# documentation root, use os.path.abspath to make it absolute, like shown here.
20#sys.path.insert(0, os.path.abspath('.'))
21
22# -- General configuration -----------------------------------------------------
23
24# If your documentation needs a minimal Sphinx version, state it here.
25#needs_sphinx = '1.0'
26
27# Add any Sphinx extension module names here, as strings. They can be extensions
28# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
Matthew Treinish6d5c0522013-09-11 15:50:30 +000029extensions = ['sphinx.ext.autodoc',
30 'sphinx.ext.intersphinx',
31 'sphinx.ext.todo',
32 'sphinx.ext.viewcode',
33 'oslo.sphinx'
34 ]
35
36todo_include_todos = True
Sean Dagueb56052b2013-05-21 17:57:41 -040037
38# Add any paths that contain templates here, relative to this directory.
39templates_path = ['_templates']
40
41# The suffix of source filenames.
42source_suffix = '.rst'
43
44# The encoding of source files.
45#source_encoding = 'utf-8-sig'
46
47# The master toctree document.
48master_doc = 'index'
49
50# General information about the project.
51project = u'Tempest'
Matthew Treinish6d5c0522013-09-11 15:50:30 +000052copyright = u'2013, OpenStack QA Team'
Sean Dagueb56052b2013-05-21 17:57:41 -040053
54# The version info for the project you're documenting, acts as replacement for
55# |version| and |release|, also used in various other places throughout the
56# built documents.
57#
58# The short X.Y version.
Matthew Treinish6d5c0522013-09-11 15:50:30 +000059import pbr.version
60version_info = pbr.version.VersionInfo('tempest')
61version = version_info.version_string()
Sean Dagueb56052b2013-05-21 17:57:41 -040062# The full version, including alpha/beta/rc tags.
Matthew Treinish6d5c0522013-09-11 15:50:30 +000063release = version_info.release_string()
Sean Dagueb56052b2013-05-21 17:57:41 -040064
65# The language for content autogenerated by Sphinx. Refer to documentation
66# for a list of supported languages.
67#language = None
68
69# There are two options for replacing |today|: either, you set today to some
70# non-false value, then it is used:
71#today = ''
72# Else, today_fmt is used as the format for a strftime call.
73#today_fmt = '%B %d, %Y'
74
75# List of patterns, relative to source directory, that match files and
76# directories to ignore when looking for source files.
77exclude_patterns = ['_build']
78
79# The reST default role (used for this markup: `text`) to use for all documents.
80#default_role = None
81
82# If true, '()' will be appended to :func: etc. cross-reference text.
83#add_function_parentheses = True
84
85# If true, the current module name will be prepended to all description
86# unit titles (such as .. function::).
Matthew Treinish6d5c0522013-09-11 15:50:30 +000087add_module_names = False
Sean Dagueb56052b2013-05-21 17:57:41 -040088
89# If true, sectionauthor and moduleauthor directives will be shown in the
90# output. They are ignored by default.
Matthew Treinish6d5c0522013-09-11 15:50:30 +000091show_authors = False
Sean Dagueb56052b2013-05-21 17:57:41 -040092
93# The name of the Pygments (syntax highlighting) style to use.
94pygments_style = 'sphinx'
95
96# A list of ignored prefixes for module index sorting.
Matthew Treinish6d5c0522013-09-11 15:50:30 +000097modindex_common_prefix = ['tempest.']
Sean Dagueb56052b2013-05-21 17:57:41 -040098
99
100# -- Options for HTML output ---------------------------------------------------
101
102# The theme to use for HTML and HTML Help pages. See the documentation for
103# a list of builtin themes.
Sean Dague7679b482013-05-24 08:49:44 -0400104html_theme = 'nature'
Sean Dagueb56052b2013-05-21 17:57:41 -0400105
106# Theme options are theme-specific and customize the look and feel of a theme
107# further. For a list of options available for each theme, see the
108# documentation.
109#html_theme_options = {}
110
111# Add any paths that contain custom themes here, relative to this directory.
112#html_theme_path = []
113
114# The name for this set of Sphinx documents. If None, it defaults to
115# "<project> v<release> documentation".
116#html_title = None
117
118# A shorter title for the navigation bar. Default is the same as html_title.
119#html_short_title = None
120
121# The name of an image file (relative to this directory) to place at the top
122# of the sidebar.
123#html_logo = None
124
125# The name of an image file (within the static path) to use as favicon of the
126# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
127# pixels large.
128#html_favicon = None
129
130# Add any paths that contain custom static files (such as style sheets) here,
131# relative to this directory. They are copied after the builtin static files,
132# so a file named "default.css" will overwrite the builtin "default.css".
133html_static_path = ['_static']
134
135# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
136# using the given strftime format.
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000137git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1"
138html_last_updated_fmt = os.popen(git_cmd).read()
Sean Dagueb56052b2013-05-21 17:57:41 -0400139
140# If true, SmartyPants will be used to convert quotes and dashes to
141# typographically correct entities.
142#html_use_smartypants = True
143
144# Custom sidebar templates, maps document names to template names.
145#html_sidebars = {}
146
147# Additional templates that should be rendered to pages, maps page names to
148# template names.
149#html_additional_pages = {}
150
151# If false, no module index is generated.
Michael Chapman4410ca12013-06-25 13:05:10 +1000152html_domain_indices = False
Sean Dagueb56052b2013-05-21 17:57:41 -0400153
154# If false, no index is generated.
Michael Chapman4410ca12013-06-25 13:05:10 +1000155html_use_index = False
Sean Dagueb56052b2013-05-21 17:57:41 -0400156
157# If true, the index is split into individual pages for each letter.
158#html_split_index = False
159
160# If true, links to the reST sources are added to the pages.
161#html_show_sourcelink = True
162
163# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
164#html_show_sphinx = True
165
166# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
167#html_show_copyright = True
168
169# If true, an OpenSearch description file will be output, and all pages will
170# contain a <link> tag referring to it. The value of this option must be the
171# base URL from which the finished HTML is served.
172#html_use_opensearch = ''
173
174# This is the file name suffix for HTML files (e.g. ".xhtml").
175#html_file_suffix = None
176
177# Output file base name for HTML help builder.
178htmlhelp_basename = 'Tempestdoc'
179
180
181# -- Options for LaTeX output --------------------------------------------------
182
183latex_elements = {
184# The paper size ('letterpaper' or 'a4paper').
185#'papersize': 'letterpaper',
186
187# The font size ('10pt', '11pt' or '12pt').
188#'pointsize': '10pt',
189
190# Additional stuff for the LaTeX preamble.
191#'preamble': '',
192}
193
194# Grouping the document tree into LaTeX files. List of tuples
195# (source start file, target name, title, author, documentclass [howto/manual]).
196latex_documents = [
197 ('index', 'Tempest.tex', u'Tempest Documentation',
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000198 u'OpenStack QA Team', 'manual'),
Sean Dagueb56052b2013-05-21 17:57:41 -0400199]
200
201# The name of an image file (relative to this directory) to place at the top of
202# the title page.
203#latex_logo = None
204
205# For "manual" documents, if this is true, then toplevel headings are parts,
206# not chapters.
207#latex_use_parts = False
208
209# If true, show page references after internal links.
210#latex_show_pagerefs = False
211
212# If true, show URL addresses after external links.
213#latex_show_urls = False
214
215# Documents to append as an appendix to all manuals.
216#latex_appendices = []
217
218# If false, no module index is generated.
219#latex_domain_indices = True
220
221
222# -- Options for manual page output --------------------------------------------
223
224# One entry per manual page. List of tuples
225# (source start file, name, description, authors, manual section).
226man_pages = [
227 ('index', 'tempest', u'Tempest Documentation',
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000228 [u'OpenStack QA Team'], 1)
Sean Dagueb56052b2013-05-21 17:57:41 -0400229]
230
231# If true, show URL addresses after external links.
232#man_show_urls = False
233
234
235# -- Options for Texinfo output ------------------------------------------------
236
237# Grouping the document tree into Texinfo files. List of tuples
238# (source start file, target name, title, author,
239# dir menu entry, description, category)
240texinfo_documents = [
241 ('index', 'Tempest', u'Tempest Documentation',
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000242 u'OpenStack QA Team', 'Tempest', 'One line description of project.',
Sean Dagueb56052b2013-05-21 17:57:41 -0400243 '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
256# -- Options for Epub output ---------------------------------------------------
257
258# Bibliographic Dublin Core info.
259epub_title = u'Tempest'
260epub_author = u'Sean Dague'
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000261epub_publisher = u'OpenStack QA Team'
262epub_copyright = u'2013, OpenStack QA Team'
Sean Dagueb56052b2013-05-21 17:57:41 -0400263
264# The language of the text. It defaults to the language option
265# or en if the language is not set.
266#epub_language = ''
267
268# The scheme of the identifier. Typical schemes are ISBN or URL.
269#epub_scheme = ''
270
271# The unique identifier of the text. This can be a ISBN number
272# or the project homepage.
273#epub_identifier = ''
274
275# A unique identification for the text.
276#epub_uid = ''
277
278# A tuple containing the cover image and cover page html template filenames.
279#epub_cover = ()
280
281# HTML files that should be inserted before the pages created by sphinx.
282# The format is a list of tuples containing the path and title.
283#epub_pre_files = []
284
285# HTML files shat should be inserted after the pages created by sphinx.
286# The format is a list of tuples containing the path and title.
287#epub_post_files = []
288
289# A list of files that should not be packed into the epub file.
290#epub_exclude_files = []
291
292# The depth of the table of contents in toc.ncx.
293#epub_tocdepth = 3
294
295# Allow duplicate toc entries.
296#epub_tocdup = True