summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLuong Anh Tuan <tuanla@vn.fujitsu.com>2017-07-04 15:44:34 +0700
committerLuong Anh Tuan <tuanla@vn.fujitsu.com>2017-07-04 15:48:55 +0700
commite19f2c21bb3b17357c66a95d3d4e19088faf78a4 (patch)
treee5b90bc29377c994d7993156c4e7a5d1584f8e3e /doc
parent8a41ac958077e3be39f2145f5328a58b7db3256e (diff)
downloadpython-ironicclient-e19f2c21bb3b17357c66a95d3d4e19088faf78a4.tar.gz
switch from oslosphinx to openstackdocstheme
Move doc/ and releasenotes/ to openstackdocstheme and remove the dependency on oslosphinx. Change-Id: Iac55f25a96959024f91b8bb689f5fba9325dbb52
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index cda54be..26cedab 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -4,9 +4,14 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.viewcode',
- 'oslosphinx',
+ 'openstackdocstheme',
]
+# openstackdocstheme options
+repository_name = 'openstack/python-ironicclient'
+bug_project = 'python-ironicclient'
+bug_tag = ''
+
# 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
@@ -49,6 +54,9 @@ exclude_patterns = ['api/ironicclient.tests.functional.*']
#html_theme_path = ["."]
#html_theme = '_theme'
#html_static_path = ['_static']
+html_theme = 'openstackdocs'
+
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project