summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2017-06-23 14:53:54 -0400
committerDoug Hellmann <doug@doughellmann.com>2017-06-29 15:27:53 -0400
commitf74902b0b9f82e221b1ae1af7f254dc2918f96b8 (patch)
tree8023d1d0dd9982e3ce177ea0c19aedd351ba0c37
parent30c8729f782c0c13ca872260085d5b7b7c37df61 (diff)
downloados-client-config-f74902b0b9f82e221b1ae1af7f254dc2918f96b8.tar.gz
use openstackdocstheme html context1.28.0
Set some of the new config values and enable openstackdocstheme as an extension so it will inject values into the page context as it writes each documentation page. This ensures the pages link to the right bug tracker, etc. Change-Id: Id9cc61e81aa43f4b69883d338090716005477d0a Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-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 82f27c3..cbd9888 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -25,9 +25,16 @@ sys.path.insert(0, os.path.abspath('../..'))
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
- 'reno.sphinxext'
+ 'reno.sphinxext',
+ 'openstackdocstheme',
]
+# openstackdocstheme options
+repository_name = 'openstack/os-client-config'
+bug_project = 'os-client-config'
+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