From 414d0d4df858001fedb618db9403d30d0b1cb190 Mon Sep 17 00:00:00 2001 From: Samriddhi Jain Date: Fri, 14 Jul 2017 18:26:13 +0530 Subject: Switch from oslosphinx to openstackdocstheme Following the new doc migration spec, the documentation theme needs to be switched to openstackdocstheme. Change-Id: Ia840524a4c3b4ceb9605c997a2971d84880c70ac --- doc/source/conf.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/source/conf.py b/doc/source/conf.py index 71b2fb4..79129df 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -36,7 +36,7 @@ extensions = [ 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode', - 'oslosphinx', + 'openstackdocstheme', 'ext.apidoc' ] @@ -108,6 +108,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. #html_theme = 'default' +html_theme = 'openstackdocs' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -143,6 +144,7 @@ html_theme_options = { # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' +html_last_updated_fmt = '%Y-%m-%d %H:%M' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. @@ -261,3 +263,8 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False + +# -- Options for openstackdocstheme ------------------------------------------- +repository_name = 'openstack/pycadf' +bug_project = 'pycadf' +bug_tag = '' -- cgit v1.2.1