conf.py (openstack-cyborg-6.0.0) | : | conf.py (openstack-cyborg-7.0.0) | ||
---|---|---|---|---|
# -*- coding: utf-8 -*- | ||||
# Licensed under the Apache License, Version 2.0 (the "License"); | # Licensed under the Apache License, Version 2.0 (the "License"); | |||
# you may not use this file except in compliance with the License. | # you may not use this file except in compliance with the License. | |||
# You may obtain a copy of the License at | # You may obtain a copy of the License at | |||
# | # | |||
# http://www.apache.org/licenses/LICENSE-2.0 | # http://www.apache.org/licenses/LICENSE-2.0 | |||
# | # | |||
# Unless required by applicable law or agreed to in writing, software | # Unless required by applicable law or agreed to in writing, software | |||
# distributed under the License is distributed on an "AS IS" BASIS, | # distributed under the License is distributed on an "AS IS" BASIS, | |||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||
# implied. | # implied. | |||
# See the License for the specific language governing permissions and | # See the License for the specific language governing permissions and | |||
# limitations under the License. | # limitations under the License. | |||
# | ||||
# cyborg documentation build configuration file | ||||
# | ||||
# Refer to the Sphinx documentation for advice on configuring this file: | ||||
# | ||||
# http://www.sphinx-doc.org/en/stable/config.html | ||||
import os | import os | |||
import sys | import sys | |||
sys.path.insert(0, os.path.abspath('../..')) | sys.path.insert(0, os.path.abspath('../..')) | |||
# -- General configuration ---------------------------------------------------- | # -- General configuration ---------------------------------------------------- | |||
# Add any Sphinx extension module names here, as strings. They can be | # Add any Sphinx extension module names here, as strings. They can be | |||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. | |||
extensions = [ | extensions = [ | |||
skipping to change at line 49 | skipping to change at line 54 | |||
source_suffix = '.rst' | source_suffix = '.rst' | |||
# The master toctree document. | # The master toctree document. | |||
master_doc = 'index' | master_doc = 'index' | |||
# General information about the project. | # General information about the project. | |||
copyright = '2013, OpenStack Foundation' | copyright = '2013, OpenStack Foundation' | |||
# openstackdocstheme options | # openstackdocstheme options | |||
openstackdocs_repo_name = 'openstack/cyborg' | openstackdocs_repo_name = 'openstack/cyborg' | |||
openstackdocs_bug_project = 'cyborg' | ||||
openstackdocs_bug_tag = 'doc' | ||||
openstackdocs_pdf_link = True | openstackdocs_pdf_link = True | |||
openstackdocs_use_storyboard = True | ||||
config_generator_config_file = '../../tools/config/cyborg-config-generator.conf' | config_generator_config_file = \ | |||
'../../tools/config/cyborg-config-generator.conf' | ||||
sample_config_basename = '_static/cyborg' | sample_config_basename = '_static/cyborg' | |||
policy_generator_config_file = [ | policy_generator_config_file = [ | |||
('../../tools/config/cyborg-policy-generator.conf', | ('../../tools/config/cyborg-policy-generator.conf', | |||
'_static/cyborg'), | '_static/cyborg'), | |||
] | ] | |||
# If true, '()' will be appended to :func: etc. cross-reference text. | # If true, '()' will be appended to :func: etc. cross-reference text. | |||
add_function_parentheses = True | add_function_parentheses = True | |||
skipping to change at line 79 | skipping to change at line 86 | |||
# -- Options for HTML output -------------------------------------------------- | # -- Options for HTML output -------------------------------------------------- | |||
# The theme to use for HTML and HTML Help pages. Major themes that come with | # The theme to use for HTML and HTML Help pages. Major themes that come with | |||
# Sphinx are currently 'default' and 'sphinxdoc'. | # Sphinx are currently 'default' and 'sphinxdoc'. | |||
# html_theme_path = ["."] | # html_theme_path = ["."] | |||
# html_theme = '_theme' | # html_theme = '_theme' | |||
# Add any paths that contain custom static files (such as style sheets) here, | # Add any paths that contain custom static files (such as style sheets) here, | |||
# relative to this directory. They are copied after the builtin static files, | # relative to this directory. They are copied after the builtin static files, | |||
# so a file named "default.css" will overwrite the builtin "default.css". | # so a file named "default.css" will overwrite the builtin "default.css". | |||
#html_static_path = ['_static'] | # html_static_path = ['_static'] | |||
# Output file base name for HTML help builder. | # Output file base name for HTML help builder. | |||
htmlhelp_basename = 'cyborgdoc' | htmlhelp_basename = 'cyborgdoc' | |||
# The name for this set of Sphinx documents. If None, it defaults to | # The name for this set of Sphinx documents. If None, it defaults to | |||
# "<project> v<release> documentation". | # "<project> v<release> documentation". | |||
html_title = 'Cyborg' | html_title = 'Cyborg' | |||
html_theme = 'openstackdocs' | html_theme = 'openstackdocs' | |||
# -- Options for LaTeX output ------------------------------------------------- | # -- Options for LaTeX output ------------------------------------------------- | |||
skipping to change at line 122 | skipping to change at line 129 | |||
# (source start file, target name, title, author, documentclass | # (source start file, target name, title, author, documentclass | |||
# [howto/manual]). | # [howto/manual]). | |||
latex_documents = [ | latex_documents = [ | |||
('index', | ('index', | |||
'doc-cyborg.tex', | 'doc-cyborg.tex', | |||
'Cyborg Documentation', | 'Cyborg Documentation', | |||
'OpenStack Foundation', 'manual'), | 'OpenStack Foundation', 'manual'), | |||
] | ] | |||
# Example configuration for intersphinx: refer to the Python standard library. | # Example configuration for intersphinx: refer to the Python standard library. | |||
#intersphinx_mapping = {'https://docs.python.org/': None} | # intersphinx_mapping = {'https://docs.python.org/': None} | |||
End of changes. 7 change blocks. | ||||
4 lines changed or deleted | 11 lines changed or added |