doc: Switch to openstackdocstheme
The oslosphinx theme has been deprecated. Besides, we're currently inconsistent with the other project docs themes. Change-Id: I6a7a105d8b689ff5e5ca2f7829ce06d166e8db2e
This commit is contained in:
parent
14eb822884
commit
7b0d1c3bfb
|
@ -24,7 +24,7 @@ extensions = [
|
|||
'sphinx.ext.autodoc',
|
||||
'oslo_config.sphinxconfiggen',
|
||||
#'sphinx.ext.intersphinx',
|
||||
'oslosphinx'
|
||||
'openstackdocstheme'
|
||||
]
|
||||
|
||||
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
||||
|
@ -44,6 +44,11 @@ master_doc = 'index'
|
|||
project = 'compute-hyperv'
|
||||
copyright = '2013, OpenStack Foundation'
|
||||
|
||||
# openstackdocstheme options
|
||||
repository_name = 'openstack/compute-hyperv'
|
||||
bug_project = 'compute-hyperv'
|
||||
bug_tag = ''
|
||||
|
||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||
add_function_parentheses = True
|
||||
|
||||
|
@ -59,12 +64,14 @@ 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_theme = 'openstackdocs'
|
||||
html_static_path = ['_static']
|
||||
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = '%sdoc' % project
|
||||
|
||||
html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
||||
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, documentclass
|
||||
# [howto/manual]).
|
||||
|
|
|
@ -9,10 +9,10 @@ ddt>=1.0.1 # MIT
|
|||
python-subunit>=0.0.18 # Apache-2.0/BSD
|
||||
sphinx>=1.6.2 # BSD
|
||||
oslo.config>=4.6.0 # Apache-2.0
|
||||
oslosphinx>=4.7.0 # Apache-2.0
|
||||
oslotest>=1.10.0 # Apache-2.0
|
||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||
testtools>=1.4.0 # MIT
|
||||
openstackdocstheme>=1.17.0 # Apache-2.0
|
||||
|
||||
# placement functional tests
|
||||
wsgi-intercept>=1.4.1 # MIT License
|
||||
|
|
Loading…
Reference in New Issue