diff options
author | Van Hung Pham <hungpv@vn.fujitsu.com> | 2017-06-30 10:25:24 +0700 |
---|---|---|
committer | Van Hung Pham <hungpv@vn.fujitsu.com> | 2017-06-30 10:26:02 +0700 |
commit | 4eed5c84cd1fc59ade488f7103361e44f57b9c0f (patch) | |
tree | 2a464655e78bf4645afe5c1eb03e43c4f8a083ec | |
parent | 439ee25dc6c998e5571022ce0094a10c2611d717 (diff) | |
download | python-barbicanclient-4eed5c84cd1fc59ade488f7103361e44f57b9c0f.tar.gz |
Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I81e959fbd1544d543dd39898dbc2d63ef991a925
-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 |