diff options
author | Trevor McCasland <TM2086@att.com> | 2017-06-26 13:30:55 -0500 |
---|---|---|
committer | Trevor McCasland <TM2086@att.com> | 2017-07-13 10:59:55 -0500 |
commit | b9a20edf926887827310d1e69b103bac92e2d4a5 (patch) | |
tree | c403602da7beba76bff6d3ebb1898cc0397af855 | |
parent | e8d306fa2a72f820055eb76d5b9c155dd0e4008e (diff) | |
download | python-troveclient-b9a20edf926887827310d1e69b103bac92e2d4a5.tar.gz |
Update the trove docs to follow the docs theme
We were using the old theme on trove docs.
We should update to new theme, it includes the new logo as well!
You can see the difference in the themes here,
new, https://docs.openstack.org/admin-guide/
old, https://docs.openstack.org/developer/python-troveclient/
Change-Id: If5ff925d258f7b4008aff32b1677d7806395b5c9
-rw-r--r-- | doc/source/conf.py | 10 | ||||
-rw-r--r-- | releasenotes/source/conf.py | 11 | ||||
-rw-r--r-- | test-requirements.txt | 2 |
3 files changed, 18 insertions, 5 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 09867dc..0f7099a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -31,9 +31,16 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage', - 'oslosphinx' + 'openstackdocstheme', ] +# openstackdocstheme options +repository_name = 'openstack/python-troveclient' +bug_project = 'python-troveclient' +bug_tag = '' +html_last_updated_fmt = '%Y-%m-%d %H:%M' +html_theme = 'openstackdocs' + templates_path = ['_templates'] source_suffix = '.rst' @@ -47,7 +54,6 @@ exclude_trees = [] pygments_style = 'sphinx' -html_theme = 'default' htmlhelp_basename = 'python-troveclientdoc' latex_documents = [ ('index', 'python-troveclient.tex', u'python-troveclient Documentation', diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 847ffac..53f88e2 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -30,10 +30,17 @@ import os # ones. extensions = [] extensions = [ - 'oslosphinx', + 'openstackdocstheme', 'reno.sphinxext', ] + +# openstackdocstheme options +repository_name = 'openstack/python-troveclient' +bug_project = 'python-troveclient' +bug_tag = '' +html_last_updated_fmt = '%Y-%m-%d %H:%M' + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -104,7 +111,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'openstackdocs' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/test-requirements.txt b/test-requirements.txt index b634196..6920aac 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,7 +4,6 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD -oslosphinx>=4.7.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 python-openstackclient!=3.10.0,>=3.3.0 # Apache-2.0 requests-mock>=1.1 # Apache-2.0 @@ -16,3 +15,4 @@ mock>=2.0 # BSD httplib2>=0.7.5 # MIT pycrypto>=2.6 # Public Domain reno!=2.3.1,>=1.8.0 # Apache-2.0 +openstackdocstheme>=1.11.0 # Apache-2.0 |