blob: 01c2a4b431abeaf2987d904414f0cbdf2728416d [file] [log] [blame]
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -05001# -*- 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',
Riccardo Pittau3a2e36a2019-04-10 14:49:17 +020025 'openstackdocstheme'
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -050026]
27
Riccardo Pittau3a2e36a2019-04-10 14:49:17 +020028# openstackdocstheme options
Andreas Jaeger2612a982020-05-24 15:15:17 +020029openstackdocs_repo_name = 'openstack/ironic-tempest-plugin'
30openstackdocs_pdf_link = True
31openstackdocs_use_storyboard = True
Riccardo Pittau3a2e36a2019-04-10 14:49:17 +020032
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -050033# autodoc generation is a bit aggressive and a nuisance when doing heavy
34# text edit cycles.
35# execute "export SPHINX_DEBUG=1" in your terminal to disable
36
37# The suffix of source filenames.
38source_suffix = '.rst'
39
40# The master toctree document.
41master_doc = 'index'
42
43# General information about the project.
jiaqi07ce437b72022-08-06 08:58:46 +080044copyright = '2016, OpenStack Foundation'
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -050045
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 Jaeger2612a982020-05-24 15:15:17 +020054pygments_style = 'native'
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -050055
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 = ["."]
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -050061# html_static_path = ['static']
Riccardo Pittau3a2e36a2019-04-10 14:49:17 +020062html_theme = 'openstackdocs'
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -050063
64# Output file base name for HTML help builder.
Kaifeng Wang6f4e2a32019-06-14 17:43:14 +080065htmlhelp_basename = 'ironic-tempest-plugindoc'
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -050066
67# Grouping the document tree into LaTeX files. List of tuples
68# (source start file, target name, title, author, documentclass
69# [howto/manual]).
70latex_documents = [
71 ('index',
Kaifeng Wang6f4e2a32019-06-14 17:43:14 +080072 'doc-ironic-tempest-plugin.tex',
jiaqi07ce437b72022-08-06 08:58:46 +080073 'Ironic Tempest Plugin Documentation',
74 'OpenStack Foundation', 'manual'),
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -050075]
76
77# Example configuration for intersphinx: refer to the Python standard library.
78#intersphinx_mapping = {'http://docs.python.org/': None}