From 958063e1ed5fff0bdb42e07354278e6bc3338b5b Mon Sep 17 00:00:00 2001
From: Julia Kreger <juliaashleykreger@gmail.com>
Date: Thu, 13 Jul 2017 17:04:25 +0000
Subject: [PATCH] Switch from oslosphinx to openstackdocstheme

Change-Id: I52055e7b3c0ed8f56d05ca624339b7e9aca19222
---
 doc/source/conf.py    | 13 +++++++++++--
 test-requirements.txt |  2 +-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 1787335a..6444a247 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -7,7 +7,7 @@
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = ['sphinx.ext.autodoc',
               'sphinx.ext.viewcode',
-              'oslosphinx',
+              'openstackdocstheme',
               ]
 
 wsme_protocols = ['restjson']
@@ -58,9 +58,18 @@ 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'
+
+# openstackdocstheme options
+repository_name = 'openstack/ironic-lib'
+bug_project = 'ironic-lib'
+bug_tag = ''
+
+# Must set this variable to include year, month, day, hours, and minutes.
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
+
 # Output file base name for HTML help builder.
 htmlhelp_basename = '%sdoc' % project
 
diff --git a/test-requirements.txt b/test-requirements.txt
index 1646d1c3..6a22e662 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -15,4 +15,4 @@ testtools>=1.4.0 # MIT
 # Doc requirements
 doc8 # Apache-2.0
 sphinx>=1.6.2 # BSD
-oslosphinx>=4.7.0 # Apache-2.0
+openstackdocstheme>=1.11.0 # Apache-2.0
\ No newline at end of file