diff --git a/doc/source/conf.py b/doc/source/conf.py index c9ed61b..c16fe69 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -22,9 +22,14 @@ sys.path.insert(0, os.path.abspath('../..')) extensions = [ 'sphinx.ext.autodoc', #'sphinx.ext.intersphinx', - 'oslosphinx' + 'openstackdocstheme' ] +# openstackdocstheme options +repository_name = 'openstack/os-api-ref' +bug_project = 'openstack-doc-tools' +bug_tag = 'os-api-ref' + # 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 @@ -37,7 +42,7 @@ master_doc = 'index' # General information about the project. project = u'os-api-ref' -copyright = u'2016, The contributors' +copyright = u'2018, The contributors' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -57,9 +62,14 @@ pygments_style = 'sphinx' # html_theme = '_theme' # html_static_path = ['static'] +html_theme = 'openstackdocs' + # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project +# Must set this variable to include year, month, day, hours, and minutes. +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 585a62e..db6e793 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,7 +6,6 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 python-subunit>=1.0.0 # Apache-2.0/BSD -oslosphinx>=4.7.0 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD testtools>=2.2.0 # MIT sphinx-testing>=0.7.2 # BSD License