Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 1 | # -*- 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 | |
| 15 | import os |
| 16 | import sys |
| 17 | |
| 18 | sys.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. |
| 23 | extensions = [ |
| 24 | 'sphinx.ext.autodoc', |
Riccardo Pittau | 3a2e36a | 2019-04-10 14:49:17 +0200 | [diff] [blame] | 25 | 'openstackdocstheme' |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 26 | ] |
| 27 | |
Riccardo Pittau | 3a2e36a | 2019-04-10 14:49:17 +0200 | [diff] [blame] | 28 | # openstackdocstheme options |
| 29 | repository_name = 'openstack/ironic-tempest-plugin' |
| 30 | use_storyboard = True |
| 31 | |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 32 | # autodoc generation is a bit aggressive and a nuisance when doing heavy |
| 33 | # text edit cycles. |
| 34 | # execute "export SPHINX_DEBUG=1" in your terminal to disable |
| 35 | |
| 36 | # The suffix of source filenames. |
| 37 | source_suffix = '.rst' |
| 38 | |
| 39 | # The master toctree document. |
| 40 | master_doc = 'index' |
| 41 | |
| 42 | # General information about the project. |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 43 | copyright = u'2016, OpenStack Foundation' |
| 44 | |
| 45 | # If true, '()' will be appended to :func: etc. cross-reference text. |
| 46 | add_function_parentheses = True |
| 47 | |
| 48 | # If true, the current module name will be prepended to all description |
| 49 | # unit titles (such as .. function::). |
| 50 | add_module_names = True |
| 51 | |
| 52 | # The name of the Pygments (syntax highlighting) style to use. |
| 53 | pygments_style = 'sphinx' |
| 54 | |
| 55 | # -- Options for HTML output -------------------------------------------------- |
| 56 | |
| 57 | # The theme to use for HTML and HTML Help pages. Major themes that come with |
| 58 | # Sphinx are currently 'default' and 'sphinxdoc'. |
| 59 | # html_theme_path = ["."] |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 60 | # html_static_path = ['static'] |
Riccardo Pittau | 3a2e36a | 2019-04-10 14:49:17 +0200 | [diff] [blame] | 61 | html_theme = 'openstackdocs' |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 62 | |
| 63 | # Output file base name for HTML help builder. |
Kaifeng Wang | 6f4e2a3 | 2019-06-14 17:43:14 +0800 | [diff] [blame] | 64 | htmlhelp_basename = 'ironic-tempest-plugindoc' |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 65 | |
| 66 | # Grouping the document tree into LaTeX files. List of tuples |
| 67 | # (source start file, target name, title, author, documentclass |
| 68 | # [howto/manual]). |
| 69 | latex_documents = [ |
| 70 | ('index', |
Kaifeng Wang | 6f4e2a3 | 2019-06-14 17:43:14 +0800 | [diff] [blame] | 71 | 'doc-ironic-tempest-plugin.tex', |
| 72 | u'Ironic Tempest Plugin Documentation', |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 73 | u'OpenStack Foundation', 'manual'), |
| 74 | ] |
| 75 | |
| 76 | # Example configuration for intersphinx: refer to the Python standard library. |
| 77 | #intersphinx_mapping = {'http://docs.python.org/': None} |