switch to openstackdocstheme

Change-Id: I6b5ff271bde4a8267811ad50452b52d23df7b6da
This commit is contained in:
bhavani.cr 2017-06-27 18:15:05 +05:30 committed by bhavani
parent aae1088e22
commit 2983b742c9
2 changed files with 11 additions and 19 deletions

View File

@ -22,9 +22,15 @@ sys.path.insert(0, os.path.abspath('../..'))
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'oslosphinx',
'openstackdocstheme',
]
# openstackdocstheme options
repository_name = 'openstack/python-zunclient'
bug_project = 'python-zunclient'
bug_tag = 'doc'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable
@ -53,22 +59,8 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = ["."]
# html_theme = '_theme'
# html_static_path = ['static']
html_theme = 'openstackdocs'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index',
'%s.tex' % project,
u'%s Documentation' % project,
u'OpenStack Foundation', 'manual'),
]
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}
htmlhelp_basename = 'zunclientdoc'

View File

@ -7,7 +7,7 @@ coverage!=4.4,>=4.0 # Apache-2.0
doc8 # Apache-2.0
ddt>=1.0.1 # MIT
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
oslosphinx>=4.7.0 # Apache-2.0
openstackdocstheme>=1.11.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
osprofiler>=1.4.0 # Apache-2.0
os-testr>=0.8.0 # Apache-2.0