diff options
author | Van Hung Pham <hungpv@vn.fujitsu.com> | 2017-06-29 10:40:24 +0700 |
---|---|---|
committer | Van Hung Pham <hungpv@vn.fujitsu.com> | 2017-06-29 10:40:24 +0700 |
commit | 3ce185402ede727be4759e6f64813dace6167b89 (patch) | |
tree | 902bd3b1f77b68e04a790d510b8511e26c53d9e0 /doc/source | |
parent | bfb9ec786bbc4d6d813c5aeb0327dd6a7bb8bf08 (diff) | |
download | oslo-context-3ce185402ede727be4759e6f64813dace6167b89.tar.gz |
Switch from oslosphinx to openstackdocstheme2.16.0
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: I2ac1a1b9899b8bcb939fb287f09e7c69caca7fc9
Diffstat (limited to 'doc/source')
-rwxr-xr-x | doc/source/conf.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index ca1f348..11d61e5 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -23,7 +23,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 @@ -55,8 +55,13 @@ 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_static_path = ['static'] +html_theme = 'openstackdocs' + +# 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' # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project @@ -71,5 +76,10 @@ latex_documents = [ u'OpenStack Foundation', 'manual'), ] +# openstackdocstheme options +repository_name = 'openstack/oslo.context' +bug_project = 'oslo.context' +bug_tag = '' + # Example configuration for intersphinx: refer to the Python standard library. #intersphinx_mapping = {'http://docs.python.org/': None} |