From a9694595a629baba10549e82a1bb73e972cef7d9 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Thu, 1 Mar 2012 21:40:58 -0800 Subject: [PATCH] update copyright, add version information to footer Change-Id: Ic957de1d986f7df6193228aa0051bd93f75945ba --- doc/source/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 996dfb0a7ff5..99baf9e7823c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -54,7 +54,7 @@ master_doc = 'index' # General information about the project. project = u'nova' -copyright = u'2010, United States Government as represented by the Administrator of the National Aeronautics and Space Administration.' +copyright = u'2010-present, OpenStack, LLC' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -153,6 +153,8 @@ html_static_path = ['_static'] # 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' +git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1" +html_last_updated_fmt = os.popen(git_cmd).read() # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities.