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