From b4fd0d16320ee1089e649ee932bf3a3f0c8366ca Mon Sep 17 00:00:00 2001 From: "ChangBo Guo(gcb)" Date: Tue, 11 Jul 2017 22:41:17 +0800 Subject: [PATCH] Add missing variable html_last_updated_fmt It shows 'UPDATED: NONE' without setting variable html_last_updated_fmt Change-Id: I43f63cd2ef3c3e33986ac064897faac3a387152a --- doc/source/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 9d2afeeb..0b797d50 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -33,6 +33,9 @@ repository_name = 'openstack/oslo.log' bug_project = 'oslo.log' bug_tag = '' +# Must set this variable to include year, month, day, hours, and minutes. +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