diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-07-20 17:57:52 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-07-20 17:57:52 +0000 |
commit | bb02e87905a761ff6964d0dc746543f151cd1da8 (patch) | |
tree | 080ea08fee28704ccb01e30517419593b87fc6f5 | |
parent | 574e1fe9e5bc04e0812c6011998fdd92e36c8db1 (diff) | |
parent | 4eed5c84cd1fc59ade488f7103361e44f57b9c0f (diff) | |
download | python-barbicanclient-bb02e87905a761ff6964d0dc746543f151cd1da8.tar.gz |
Merge "Switch from oslosphinx to openstackdocstheme"
-rwxr-xr-x | doc/source/conf.py | 13 | ||||
-rw-r--r-- | test-requirements.txt | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index b70e1e1..c67ccb7 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -22,7 +22,7 @@ sys.path.insert(0, os.path.abspath('../..')) extensions = [ 'sphinx.ext.autodoc', #'sphinx.ext.intersphinx', - 'oslosphinx' + 'openstackdocstheme', ] # autodoc generation is a bit aggressive and a nuisance when doing heavy @@ -58,10 +58,16 @@ pygments_style = 'sphinx' # html_theme = '_theme' # html_static_path = ['static'] html_theme_options = {} +html_theme = 'openstackdocs' # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project +# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, +# using the given strftime format. +# html_last_updated_fmt = '%b %d, %Y' +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]). @@ -74,3 +80,8 @@ latex_documents = [ # Example configuration for intersphinx: refer to the Python standard library. #intersphinx_mapping = {'http://docs.python.org/': None} + +# -- Options for openstackdocstheme ------------------------------------------- +repository_name = 'openstack/python-barbicanclient' +bug_project = 'python-barbicanclient' +bug_tag = ''
\ No newline at end of file diff --git a/test-requirements.txt b/test-requirements.txt index 5c4d755..4eedab7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,4 +15,4 @@ python-openstackclient!=3.10.0,>=3.3.0 # Apache-2.0 # Documentation build requirements sphinx>=1.6.2 # BSD -oslosphinx>=4.7.0 # Apache-2.0 +openstackdocstheme>=1.11.0 # Apache-2.0 |