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