|
|
|
@ -25,10 +25,6 @@
|
|
|
|
|
import os |
|
|
|
|
import sys |
|
|
|
|
|
|
|
|
|
import openstackdocstheme |
|
|
|
|
|
|
|
|
|
from octavia.version import version_info |
|
|
|
|
|
|
|
|
|
extensions = [ |
|
|
|
|
'os_api_ref', |
|
|
|
|
'openstackdocstheme' |
|
|
|
@ -40,9 +36,8 @@ html_theme_options = {
|
|
|
|
|
"sidebar_dropdown": "api_ref", |
|
|
|
|
"sidebar_mode": "toc" |
|
|
|
|
} |
|
|
|
|
repository_name = 'openstack/octavia' |
|
|
|
|
bug_project = '908' |
|
|
|
|
bug_tag = 'api-ref' |
|
|
|
|
openstackdocs_repo_name = 'openstack/octavia' |
|
|
|
|
openstackdocs_use_storyboard = True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
|
|
|
@ -70,15 +65,6 @@ master_doc = 'index'
|
|
|
|
|
# General information about the project. |
|
|
|
|
copyright = u'2017-present, OpenStack Foundation' |
|
|
|
|
|
|
|
|
|
# The version info for the project you're documenting, acts as replacement for |
|
|
|
|
# |version| and |release|, also used in various other places throughout the |
|
|
|
|
# built documents. |
|
|
|
|
# |
|
|
|
|
# The full version, including alpha/beta/rc tags. |
|
|
|
|
release = version_info.release_string() |
|
|
|
|
# The short X.Y version. |
|
|
|
|
version = version_info.version_string() |
|
|
|
|
|
|
|
|
|
# The language for content autogenerated by Sphinx. Refer to documentation |
|
|
|
|
# for a list of supported languages. |
|
|
|
|
# |
|
|
|
@ -106,7 +92,7 @@ add_module_names = False
|
|
|
|
|
show_authors = False |
|
|
|
|
|
|
|
|
|
# The name of the Pygments (syntax highlighting) style to use. |
|
|
|
|
pygments_style = 'sphinx' |
|
|
|
|
pygments_style = 'native' |
|
|
|
|
|
|
|
|
|
# -- Options for man page output ---------------------------------------------- |
|
|
|
|
|
|
|
|
@ -187,14 +173,6 @@ htmlhelp_basename = 'octaviadoc'
|
|
|
|
|
|
|
|
|
|
# -- Options for LaTeX output ------------------------------------------------- |
|
|
|
|
|
|
|
|
|
pdf_theme_path = openstackdocstheme.get_pdf_theme_path('openstackdocs') |
|
|
|
|
openstack_logo = openstackdocstheme.get_theme_logo_path('openstackdocs') |
|
|
|
|
|
|
|
|
|
latex_custom_template = r""" |
|
|
|
|
\newcommand{\openstacklogo}{%s} |
|
|
|
|
\usepackage{%s} |
|
|
|
|
""" % (openstack_logo, pdf_theme_path) |
|
|
|
|
|
|
|
|
|
# The paper size ('letter' or 'a4'). |
|
|
|
|
# latex_paper_size = 'letter' |
|
|
|
|
|
|
|
|
|