blob: 1221df137f480a727658068277aeadbd6616a697 [file] [log] [blame]
Colleen Murphy44df1032017-05-30 16:21:48 +02001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10# implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import os
15import sys
16
17sys.path.insert(0, os.path.abspath('../..'))
18# -- General configuration ----------------------------------------------------
19
20# Add any Sphinx extension module names here, as strings. They can be
21# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
22extensions = [
23 'sphinx.ext.autodoc',
24 #'sphinx.ext.intersphinx',
Thomas Bechtoldc20bce52018-01-04 08:09:03 +010025 'openstackdocstheme',
Colleen Murphy44df1032017-05-30 16:21:48 +020026]
27
28# autodoc generation is a bit aggressive and a nuisance when doing heavy
29# text edit cycles.
30# execute "export SPHINX_DEBUG=1" in your terminal to disable
31
32# The suffix of source filenames.
33source_suffix = '.rst'
34
35# The master toctree document.
36master_doc = 'index'
37
38# General information about the project.
Colleen Murphy8b635862017-06-06 11:18:20 +020039project = u'keystone-tempest-plugin'
40copyright = u'2017, OpenStack Foundation'
Colleen Murphy44df1032017-05-30 16:21:48 +020041
42# If true, '()' will be appended to :func: etc. cross-reference text.
43add_function_parentheses = True
44
45# If true, the current module name will be prepended to all description
46# unit titles (such as .. function::).
47add_module_names = True
48
49# The name of the Pygments (syntax highlighting) style to use.
50pygments_style = 'sphinx'
51
52# -- Options for HTML output --------------------------------------------------
53
54# The theme to use for HTML and HTML Help pages. Major themes that come with
55# Sphinx are currently 'default' and 'sphinxdoc'.
56# html_theme_path = ["."]
57# html_theme = '_theme'
58# html_static_path = ['static']
Thomas Bechtoldc20bce52018-01-04 08:09:03 +010059html_theme = 'openstackdocs'
Colleen Murphy44df1032017-05-30 16:21:48 +020060
61# Output file base name for HTML help builder.
62htmlhelp_basename = '%sdoc' % project
63
64# Grouping the document tree into LaTeX files. List of tuples
65# (source start file, target name, title, author, documentclass
66# [howto/manual]).
67latex_documents = [
68 ('index',
69 '%s.tex' % project,
70 u'%s Documentation' % project,
71 u'OpenStack Foundation', 'manual'),
72]
73
74# Example configuration for intersphinx: refer to the Python standard library.
75#intersphinx_mapping = {'http://docs.python.org/': None}
Thomas Bechtoldc20bce52018-01-04 08:09:03 +010076
77# openstackdocstheme options
78repository_name = 'openstack/keystone-tempest-plugin'
79bug_project = 'keystone'
80bug_tag = 'docs'