diff --git a/doc/source/conf.py b/doc/source/conf.py index 7812623d..4050354a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -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]). diff --git a/test-requirements.txt b/test-requirements.txt index 14ef7d4f..9f78d813 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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