summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2017-06-28 14:04:47 -0400
committerDoug Hellmann <doug@doughellmann.com>2017-06-28 16:46:41 -0400
commit0401f57d49d7d02c1daafa6cbd031344268eee3b (patch)
tree8b7a121c694189d639e526cae3247fea328f0972 /doc
parent88a104d8522e72c4f0a3defad8e3b7e2e9d6dd32 (diff)
downloadoslo-policy-0401f57d49d7d02c1daafa6cbd031344268eee3b.tar.gz
switch from oslosphinx to openstackdocstheme
Change-Id: I3a35af82ff83946e30f00171bd50c2eac7b9d0a5 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/source/conf.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index e68034d..5797d62 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -23,10 +23,16 @@ sys.path.insert(0, os.path.abspath('../..'))
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
- 'oslosphinx',
+ 'openstackdocstheme',
'oslo_config.sphinxext',
]
+# openstackdocstheme options
+repository_name = 'openstack/oslo.policy'
+bug_project = 'oslo.policy'
+bug_tag = ''
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
+
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable
@@ -65,6 +71,7 @@ modindex_common_prefix = ['oslo_policy.']
# html_theme_path = ["."]
# html_theme = '_theme'
# html_static_path = ['static']
+html_theme = 'openstackdocs'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project