2013-12-21 11:28:12 +08:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
# not use this file except in compliance with the License. You may obtain
|
|
|
|
# a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2011-01-25 14:01:22 -06:00
|
|
|
#
|
2017-04-19 09:53:47 +01:00
|
|
|
# python-novaclient documentation build configuration file
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2012-08-29 13:36:55 +08:00
|
|
|
# -- General configuration ----------------------------------------------------
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2012-08-29 13:36:55 +08:00
|
|
|
# Add any Sphinx extension module names here, as strings. They can be
|
2017-04-19 09:53:47 +01:00
|
|
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
2017-06-27 05:31:57 +00:00
|
|
|
extensions = [
|
|
|
|
'openstackdocstheme',
|
2018-09-13 04:38:58 +09:00
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
'sphinxcontrib.apidoc',
|
2017-06-27 05:31:57 +00:00
|
|
|
]
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2018-09-13 04:38:58 +09:00
|
|
|
# sphinxcontrib.apidoc options
|
|
|
|
apidoc_module_dir = '../../novaclient'
|
|
|
|
apidoc_output_dir = 'reference/api'
|
|
|
|
apidoc_excluded_paths = [
|
2019-02-07 13:22:00 +09:00
|
|
|
'tests/*']
|
2018-09-13 04:38:58 +09:00
|
|
|
apidoc_separate_modules = True
|
|
|
|
|
2017-07-04 17:35:31 +01:00
|
|
|
# The content that will be inserted into the main body of an autoclass
|
|
|
|
# directive.
|
2015-03-11 15:29:14 +11:00
|
|
|
autoclass_content = 'both'
|
|
|
|
|
2011-01-25 14:01:22 -06:00
|
|
|
# The master toctree document.
|
|
|
|
master_doc = 'index'
|
|
|
|
|
2013-06-24 10:03:19 -05:00
|
|
|
copyright = 'OpenStack Contributors'
|
2011-01-25 14:01:22 -06:00
|
|
|
|
|
|
|
|
2012-08-29 13:36:55 +08:00
|
|
|
# -- Options for HTML output --------------------------------------------------
|
2011-01-25 14:01:22 -06:00
|
|
|
|
|
|
|
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
|
|
|
# Sphinx are currently 'default' and 'sphinxdoc'.
|
2017-06-27 05:31:57 +00:00
|
|
|
html_theme = 'openstackdocs'
|
|
|
|
|
2018-09-24 15:10:28 +01:00
|
|
|
# Add any paths that contain "extra" files, such as .htaccess or
|
|
|
|
# robots.txt.
|
|
|
|
html_extra_path = ['_extra']
|
|
|
|
|
2020-02-21 09:56:37 +00:00
|
|
|
|
2019-10-11 03:48:51 +09:00
|
|
|
# -- Options for LaTeX output -------------------------------------------------
|
|
|
|
|
|
|
|
latex_documents = [
|
2020-02-21 09:56:37 +00:00
|
|
|
('index', 'doc-python-novaclient.tex', 'python-novaclient Documentation',
|
|
|
|
'OpenStack Foundation', 'manual'),
|
2019-10-11 03:48:51 +09:00
|
|
|
]
|
|
|
|
|
|
|
|
latex_elements = {
|
|
|
|
'extraclassoptions': 'openany,oneside',
|
|
|
|
'preamble': r'\setcounter{tocdepth}{4}',
|
|
|
|
'makeindex': '',
|
|
|
|
'printindex': '',
|
|
|
|
}
|
|
|
|
|
2017-06-27 05:31:57 +00:00
|
|
|
# -- Options for openstackdocstheme -------------------------------------------
|
|
|
|
|
2020-05-14 21:45:12 +02:00
|
|
|
openstackdocs_repo_name = 'openstack/python-novaclient'
|
|
|
|
openstackdocs_bug_project = 'python-novaclient'
|
|
|
|
openstackdocs_bug_tag = ''
|
2020-05-18 18:19:47 +02:00
|
|
|
openstackdocs_pdf_link = True
|
2020-05-14 21:45:12 +02:00
|
|
|
openstackdocs_projects = [
|
2018-10-09 12:06:55 +09:00
|
|
|
'keystoneauth',
|
2019-06-24 11:35:36 +09:00
|
|
|
'nova',
|
2018-10-09 12:06:55 +09:00
|
|
|
'os-client-config',
|
|
|
|
'python-openstackclient',
|
|
|
|
]
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2017-04-19 09:53:47 +01:00
|
|
|
# -- Options for manual page output ------------------------------------------
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2017-04-19 09:53:47 +01:00
|
|
|
# One entry per manual page. List of tuples
|
|
|
|
# (source start file, name, description, authors, manual section).
|
|
|
|
man_pages = [
|
2017-07-04 11:06:56 +01:00
|
|
|
('cli/nova', 'nova', 'OpenStack Nova command line client',
|
2017-04-19 09:53:47 +01:00
|
|
|
['OpenStack Contributors'], 1),
|
2011-01-25 14:01:22 -06:00
|
|
|
]
|