blob: 4b4189d3ab8377a49dbfa6521f617739335e4713 [file] [log] [blame]
Chandan Kumar5e619872017-09-07 22:23:55 +05301# -*- coding: utf-8 -*-
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11# implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15import os
16import sys
17
18sys.path.insert(0, os.path.abspath('../..'))
19# -- General configuration ----------------------------------------------------
20
21# Add any Sphinx extension module names here, as strings. They can be
22# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
23extensions = [
24 'sphinx.ext.autodoc',
25 'openstackdocstheme',
Chandan Kumar5e619872017-09-07 22:23:55 +053026]
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.
Chandan Kumar5e619872017-09-07 22:23:55 +053039copyright = u'2017, OpenStack Developers'
40
41# openstackdocstheme options
Andreas Jaeger7dc28572020-05-31 20:10:42 +020042openstackdocs_repo_name = 'openstack/neutron-tempest-plugin'
43openstackdocs_bug_project = 'neutron_tempest_plugin'
44openstackdocs_bug_tag = ''
Chandan Kumar5e619872017-09-07 22:23:55 +053045
46# If true, '()' will be appended to :func: etc. cross-reference text.
47add_function_parentheses = True
48
49# If true, the current module name will be prepended to all description
50# unit titles (such as .. function::).
51add_module_names = True
52
53# The name of the Pygments (syntax highlighting) style to use.
Andreas Jaeger7dc28572020-05-31 20:10:42 +020054pygments_style = 'native'
Chandan Kumar5e619872017-09-07 22:23:55 +053055
56# -- Options for HTML output --------------------------------------------------
57
58# The theme to use for HTML and HTML Help pages. Major themes that come with
59# Sphinx are currently 'default' and 'sphinxdoc'.
60# html_theme_path = ["."]
61# html_theme = '_theme'
62# html_static_path = ['static']
63html_theme = 'openstackdocs'
64
65# Output file base name for HTML help builder.
pengyuesheng88ff7432019-07-26 11:34:05 +080066htmlhelp_basename = 'openstackdoc'
Chandan Kumar5e619872017-09-07 22:23:55 +053067
68# Grouping the document tree into LaTeX files. List of tuples
69# (source start file, target name, title, author, documentclass
70# [howto/manual]).
71latex_documents = [
72 ('index',
pengyuesheng88ff7432019-07-26 11:34:05 +080073 'openstack.tex',
74 u'openstack Documentation',
Chandan Kumar5e619872017-09-07 22:23:55 +053075 u'OpenStack Developers', 'manual'),
76]
77
78# Example configuration for intersphinx: refer to the Python standard library.
79#intersphinx_mapping = {'http://docs.python.org/': None}