blob: daa293c21f7922b21d7699fd04214afb37a1740d [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',
Matthew Treinish6d5c0522013-09-11 15:50:30 +000030 'sphinx.ext.todo',
31 'sphinx.ext.viewcode',
Dirk Mueller82ba4282014-02-13 14:27:54 +010032 'oslosphinx'
Matthew Treinish6d5c0522013-09-11 15:50:30 +000033 ]
34
35todo_include_todos = True
Sean Dagueb56052b2013-05-21 17:57:41 -040036
37# Add any paths that contain templates here, relative to this directory.
38templates_path = ['_templates']
39
40# The suffix of source filenames.
41source_suffix = '.rst'
42
43# The encoding of source files.
44#source_encoding = 'utf-8-sig'
45
46# The master toctree document.
47master_doc = 'index'
48
49# General information about the project.
50project = u'Tempest'
Matthew Treinish6d5c0522013-09-11 15:50:30 +000051copyright = u'2013, OpenStack QA Team'
Sean Dagueb56052b2013-05-21 17:57:41 -040052
Sean Dagueb56052b2013-05-21 17:57:41 -040053# The language for content autogenerated by Sphinx. Refer to documentation
54# for a list of supported languages.
55#language = None
56
57# There are two options for replacing |today|: either, you set today to some
58# non-false value, then it is used:
59#today = ''
60# Else, today_fmt is used as the format for a strftime call.
61#today_fmt = '%B %d, %Y'
62
63# List of patterns, relative to source directory, that match files and
64# directories to ignore when looking for source files.
65exclude_patterns = ['_build']
66
67# The reST default role (used for this markup: `text`) to use for all documents.
68#default_role = None
69
70# If true, '()' will be appended to :func: etc. cross-reference text.
71#add_function_parentheses = True
72
73# If true, the current module name will be prepended to all description
74# unit titles (such as .. function::).
Matthew Treinish6d5c0522013-09-11 15:50:30 +000075add_module_names = False
Sean Dagueb56052b2013-05-21 17:57:41 -040076
77# If true, sectionauthor and moduleauthor directives will be shown in the
78# output. They are ignored by default.
Matthew Treinish6d5c0522013-09-11 15:50:30 +000079show_authors = False
Sean Dagueb56052b2013-05-21 17:57:41 -040080
81# The name of the Pygments (syntax highlighting) style to use.
82pygments_style = 'sphinx'
83
84# A list of ignored prefixes for module index sorting.
Matthew Treinish6d5c0522013-09-11 15:50:30 +000085modindex_common_prefix = ['tempest.']
Sean Dagueb56052b2013-05-21 17:57:41 -040086
87
88# -- Options for HTML output ---------------------------------------------------
89
90# The theme to use for HTML and HTML Help pages. See the documentation for
91# a list of builtin themes.
Sean Dague7679b482013-05-24 08:49:44 -040092html_theme = 'nature'
Sean Dagueb56052b2013-05-21 17:57:41 -040093
94# Theme options are theme-specific and customize the look and feel of a theme
95# further. For a list of options available for each theme, see the
96# documentation.
97#html_theme_options = {}
98
99# Add any paths that contain custom themes here, relative to this directory.
100#html_theme_path = []
101
102# The name for this set of Sphinx documents. If None, it defaults to
103# "<project> v<release> documentation".
104#html_title = None
105
106# A shorter title for the navigation bar. Default is the same as html_title.
107#html_short_title = None
108
109# The name of an image file (relative to this directory) to place at the top
110# of the sidebar.
111#html_logo = None
112
113# The name of an image file (within the static path) to use as favicon of the
114# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
115# pixels large.
116#html_favicon = None
117
118# Add any paths that contain custom static files (such as style sheets) here,
119# relative to this directory. They are copied after the builtin static files,
120# so a file named "default.css" will overwrite the builtin "default.css".
121html_static_path = ['_static']
122
123# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
124# using the given strftime format.
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000125git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1"
126html_last_updated_fmt = os.popen(git_cmd).read()
Sean Dagueb56052b2013-05-21 17:57:41 -0400127
128# If true, SmartyPants will be used to convert quotes and dashes to
129# typographically correct entities.
130#html_use_smartypants = True
131
132# Custom sidebar templates, maps document names to template names.
133#html_sidebars = {}
134
135# Additional templates that should be rendered to pages, maps page names to
136# template names.
137#html_additional_pages = {}
138
139# If false, no module index is generated.
Michael Chapman4410ca12013-06-25 13:05:10 +1000140html_domain_indices = False
Sean Dagueb56052b2013-05-21 17:57:41 -0400141
142# If false, no index is generated.
Michael Chapman4410ca12013-06-25 13:05:10 +1000143html_use_index = False
Sean Dagueb56052b2013-05-21 17:57:41 -0400144
145# If true, the index is split into individual pages for each letter.
146#html_split_index = False
147
148# If true, links to the reST sources are added to the pages.
149#html_show_sourcelink = True
150
151# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
152#html_show_sphinx = True
153
154# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
155#html_show_copyright = True
156
157# If true, an OpenSearch description file will be output, and all pages will
158# contain a <link> tag referring to it. The value of this option must be the
159# base URL from which the finished HTML is served.
160#html_use_opensearch = ''
161
162# This is the file name suffix for HTML files (e.g. ".xhtml").
163#html_file_suffix = None
164
165# Output file base name for HTML help builder.
166htmlhelp_basename = 'Tempestdoc'
167
168
169# -- Options for LaTeX output --------------------------------------------------
170
171latex_elements = {
172# The paper size ('letterpaper' or 'a4paper').
173#'papersize': 'letterpaper',
174
175# The font size ('10pt', '11pt' or '12pt').
176#'pointsize': '10pt',
177
178# Additional stuff for the LaTeX preamble.
179#'preamble': '',
180}
181
182# Grouping the document tree into LaTeX files. List of tuples
183# (source start file, target name, title, author, documentclass [howto/manual]).
184latex_documents = [
185 ('index', 'Tempest.tex', u'Tempest Documentation',
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000186 u'OpenStack QA Team', 'manual'),
Sean Dagueb56052b2013-05-21 17:57:41 -0400187]
188
189# The name of an image file (relative to this directory) to place at the top of
190# the title page.
191#latex_logo = None
192
193# For "manual" documents, if this is true, then toplevel headings are parts,
194# not chapters.
195#latex_use_parts = False
196
197# If true, show page references after internal links.
198#latex_show_pagerefs = False
199
200# If true, show URL addresses after external links.
201#latex_show_urls = False
202
203# Documents to append as an appendix to all manuals.
204#latex_appendices = []
205
206# If false, no module index is generated.
207#latex_domain_indices = True
208
209
210# -- Options for manual page output --------------------------------------------
211
212# One entry per manual page. List of tuples
213# (source start file, name, description, authors, manual section).
214man_pages = [
215 ('index', 'tempest', u'Tempest Documentation',
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000216 [u'OpenStack QA Team'], 1)
Sean Dagueb56052b2013-05-21 17:57:41 -0400217]
218
219# If true, show URL addresses after external links.
220#man_show_urls = False
221
222
223# -- Options for Texinfo output ------------------------------------------------
224
225# Grouping the document tree into Texinfo files. List of tuples
226# (source start file, target name, title, author,
227# dir menu entry, description, category)
228texinfo_documents = [
229 ('index', 'Tempest', u'Tempest Documentation',
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000230 u'OpenStack QA Team', 'Tempest', 'One line description of project.',
Sean Dagueb56052b2013-05-21 17:57:41 -0400231 'Miscellaneous'),
232]
233
234# Documents to append as an appendix to all manuals.
235#texinfo_appendices = []
236
237# If false, no module index is generated.
238#texinfo_domain_indices = True
239
240# How to display URL addresses: 'footnote', 'no', or 'inline'.
241#texinfo_show_urls = 'footnote'
242
243
244# -- Options for Epub output ---------------------------------------------------
245
246# Bibliographic Dublin Core info.
247epub_title = u'Tempest'
248epub_author = u'Sean Dague'
Matthew Treinish6d5c0522013-09-11 15:50:30 +0000249epub_publisher = u'OpenStack QA Team'
250epub_copyright = u'2013, OpenStack QA Team'
Sean Dagueb56052b2013-05-21 17:57:41 -0400251
252# The language of the text. It defaults to the language option
253# or en if the language is not set.
254#epub_language = ''
255
256# The scheme of the identifier. Typical schemes are ISBN or URL.
257#epub_scheme = ''
258
259# The unique identifier of the text. This can be a ISBN number
260# or the project homepage.
261#epub_identifier = ''
262
263# A unique identification for the text.
264#epub_uid = ''
265
266# A tuple containing the cover image and cover page html template filenames.
267#epub_cover = ()
268
269# HTML files that should be inserted before the pages created by sphinx.
270# The format is a list of tuples containing the path and title.
271#epub_pre_files = []
272
273# HTML files shat should be inserted after the pages created by sphinx.
274# The format is a list of tuples containing the path and title.
275#epub_post_files = []
276
277# A list of files that should not be packed into the epub file.
278#epub_exclude_files = []
279
280# The depth of the table of contents in toc.ncx.
281#epub_tocdepth = 3
282
283# Allow duplicate toc entries.
284#epub_tocdup = True