"Last updated" info has been added to generated Sphinx pages

Change-Id: Ie86c426f02b4dd1e00cc779e331ab0939bc4531c
This commit is contained in:
Sergey Lukjanov 2013-04-27 16:42:37 +04:00
parent b8b6f40fb3
commit 003485eb87
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,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.