From 4a6883c5e6d2e278503de2404abe84edbe2f9c2d Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 23 Jun 2017 14:51:31 -0400 Subject: [PATCH] use openstackdocstheme html context 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: Ifee9dcb2982313210fd66479b32e3c1203ce14de Depends-On: Icf3a40ed104cfd828f532f6f2b112ed02f996ff5 Signed-off-by: Doug Hellmann --- doc/source/conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 4d0a479..b9a7e22 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -37,8 +37,15 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..') extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', + 'openstackdocstheme', ] +# openstackdocstheme options +repository_name = 'openstack/osc-lib' +bug_project = 'python-openstackclient' +bug_tag = 'osc-lib' +html_last_updated_fmt = '%Y-%m-%d %H:%M' + # Add any paths that contain templates here, relative to this directory. #templates_path = ['_templates']