The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07: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
|
2013-10-31 21:14:00 +07:00
|
|
|
#
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2013-10-31 21:14:00 +07:00
|
|
|
#
|
2014-05-28 21:28:14 +10:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# Mistral documentation build configuration file
|
|
|
|
#
|
|
|
|
# Refer to the Sphinx documentation for advice on configuring this file:
|
|
|
|
#
|
|
|
|
# http://www.sphinx-doc.org/en/stable/config.html
|
2013-10-31 21:14:00 +07:00
|
|
|
|
2014-05-28 21:28:14 +10:00
|
|
|
import os
|
|
|
|
import sys
|
2015-08-04 15:06:47 +03:00
|
|
|
|
|
|
|
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
|
|
|
|
|
|
|
# If extensions (or modules to document with autodoc) are in another directory,
|
|
|
|
# add these directories to sys.path here. If the directory is relative to the
|
|
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
|
2015-08-04 15:06:47 +03:00
|
|
|
sys.path.insert(0, os.path.abspath('../../'))
|
|
|
|
sys.path.insert(0, os.path.abspath('../'))
|
|
|
|
sys.path.insert(0, os.path.abspath('./'))
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
|
2014-05-28 21:28:14 +10:00
|
|
|
# -- General configuration ----------------------------------------------------
|
2013-10-31 21:14:00 +07:00
|
|
|
|
|
|
|
# Add any Sphinx extension module names here, as strings. They can be
|
|
|
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
|
2014-05-28 21:28:14 +10:00
|
|
|
extensions = [
|
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
'sphinxcontrib.pecanwsme.rest',
|
2017-07-13 10:11:15 +02:00
|
|
|
'sphinxcontrib.httpdomain',
|
2014-05-28 21:28:14 +10:00
|
|
|
'wsmeext.sphinxext',
|
2017-07-03 17:20:05 +05:30
|
|
|
'openstackdocstheme',
|
2017-10-13 15:40:19 +07:00
|
|
|
'oslo_policy.sphinxext',
|
|
|
|
'oslo_policy.sphinxpolicygen',
|
2014-05-28 21:28:14 +10:00
|
|
|
]
|
|
|
|
|
2014-10-05 13:25:16 -07:00
|
|
|
wsme_protocols = ['restjson']
|
2013-10-31 21:14:00 +07:00
|
|
|
|
2017-07-13 10:11:15 +02:00
|
|
|
suppress_warnings = ['app.add_directive']
|
|
|
|
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
# The suffix of source file names.
|
2013-10-31 21:14:00 +07:00
|
|
|
source_suffix = '.rst'
|
|
|
|
|
|
|
|
# The master toctree document.
|
|
|
|
master_doc = 'index'
|
|
|
|
|
|
|
|
# General information about the project.
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
project = 'Mistral'
|
|
|
|
copyright = u'2020, Mistral Contributors'
|
2013-10-31 21:14:00 +07:00
|
|
|
|
2017-10-13 15:40:19 +07:00
|
|
|
policy_generator_config_file = \
|
|
|
|
'../../tools/config/policy-generator.mistral.conf'
|
|
|
|
sample_policy_basename = '_static/mistral'
|
|
|
|
|
2015-08-04 15:06:47 +03:00
|
|
|
# If true, sectionauthor and moduleauthor directives will be shown in the
|
|
|
|
# output. They are ignored by default.
|
|
|
|
show_authors = False
|
|
|
|
|
2013-10-31 21:14:00 +07:00
|
|
|
# If true, '()' will be appended to :func: etc. cross-reference text.
|
2014-05-28 21:28:14 +10:00
|
|
|
add_function_parentheses = True
|
2013-10-31 21:14:00 +07:00
|
|
|
|
|
|
|
# If true, the current module name will be prepended to all description
|
|
|
|
# unit titles (such as .. function::).
|
2014-05-28 21:28:14 +10:00
|
|
|
add_module_names = True
|
2013-10-31 21:14:00 +07:00
|
|
|
|
|
|
|
# The name of the Pygments (syntax highlighting) style to use.
|
2020-05-21 12:48:08 +02:00
|
|
|
pygments_style = 'native'
|
2013-10-31 21:14:00 +07:00
|
|
|
|
2014-05-28 21:28:14 +10:00
|
|
|
# -- Options for HTML output --------------------------------------------------
|
2013-10-31 21:14:00 +07:00
|
|
|
|
2015-08-04 15:06:47 +03:00
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
|
|
# a list of builtin themes.
|
2014-10-05 12:56:37 -07:00
|
|
|
# html_static_path = ['_static']
|
2013-10-31 21:14:00 +07:00
|
|
|
|
2017-07-03 17:20:05 +05:30
|
|
|
html_theme = 'openstackdocs'
|
2015-08-04 15:06:47 +03:00
|
|
|
|
2016-03-17 12:12:01 -05:00
|
|
|
# A list of ignored prefixes for module index sorting.
|
|
|
|
modindex_common_prefix = ['mistral.']
|
|
|
|
|
2015-08-04 15:06:47 +03:00
|
|
|
# The name for this set of Sphinx documents. If None, it defaults to
|
|
|
|
# "<project> v<release> documentation".
|
|
|
|
html_title = 'Mistral'
|
|
|
|
|
2014-05-28 21:28:14 +10:00
|
|
|
# -- Options for manual page output -------------------------------------------
|
2013-10-31 21:14:00 +07:00
|
|
|
|
|
|
|
# One entry per manual page. List of tuples
|
|
|
|
# (source start file, name, description, authors, manual section).
|
2015-08-04 15:06:47 +03:00
|
|
|
man_pages = [
|
|
|
|
('index', 'mistral', u'Mistral',
|
|
|
|
[u'OpenStack Foundation'], 1)
|
|
|
|
]
|
2013-10-31 21:14:00 +07:00
|
|
|
|
|
|
|
# If true, show URL addresses after external links.
|
2014-05-28 21:28:14 +10:00
|
|
|
man_show_urls = True
|
2017-07-03 17:20:05 +05:30
|
|
|
|
|
|
|
# -- Options for openstackdocstheme -------------------------------------------
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
|
2020-05-21 12:48:08 +02:00
|
|
|
openstackdocs_repo_name = 'openstack/mistral'
|
|
|
|
openstackdocs_pdf_link = True
|
|
|
|
openstackdocs_auto_name = False
|
|
|
|
openstackdocs_bug_project = 'mistral'
|
|
|
|
openstackdocs_bug_tag = 'doc'
|
2019-09-05 08:42:02 +00:00
|
|
|
|
|
|
|
latex_use_xindy = False
|
|
|
|
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
html_theme_options = {
|
|
|
|
"display_global_toc_section": True,
|
|
|
|
"sidebar_mode": "toctree",
|
|
|
|
}
|
2019-09-05 08:42:02 +00:00
|
|
|
|
The first iteration of restructuring Mistral doc
* Grouped documentation articles into several main parts: user docs,
admin docs, developer docs.
* Changed the index page so that it contains links to the index pages
of the main documentation parts like user docs, admin docs etc.
* Fixed all the broken links
* Removed index generation since it's not informative at all in its
current form and it exposes code internals (REST controller class
names)
* Removed obsolete properties that are no longer used by the
"openstackdocstheme" project
* Removed obsolete static html files
* Moved part of the images to the folders where they are used
Further work:
* Refactor main chapters (user, admin, developer) one by one and
make them look consistent. For example, there are several pages
that provide similar kind of information: overview, quick start,
main features etc. It is a mess that's been accumulated throughout
the last 4-5 years.
* Fill the gaps. Add all missing pages like: event notifications,
workflow environment, etc.
* Move cookbooks from Wiki to this doc.
Partially implements: blueprint mistral-restructure-docs
Change-Id: Ia722a6885ad2fb97d63a34285b0a5b1a23da79e8
2020-01-16 19:09:36 +07:00
|
|
|
# -- Options for LaTeX output ------------------------------------------------
|
2019-09-05 08:42:02 +00:00
|
|
|
|
|
|
|
latex_elements = {
|
|
|
|
'makeindex': '',
|
|
|
|
'printindex': '',
|
|
|
|
'preamble': r'\setcounter{tocdepth}{3}',
|
|
|
|
}
|