aboutsummaryrefslogtreecommitdiffstats
path: root/doc/conf.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-26 08:22:32 -0400
committerW. Trevor King <wking@tremily.us>2012-10-26 08:22:51 -0400
commitfbb954d72054ae784cff7a148d19007fce5eb8ff (patch)
tree70af4dbc45b5566e0cbeceed5fa937245535e418 /doc/conf.py
parentd9b9c4fdb13a0e0dc41184ea8d907bd5fa156e0d (diff)
downloadbugseverywhere-fbb954d72054ae784cff7a148d19007fce5eb8ff.tar.gz
doc:conf: use `version (date)` in Sphinx docs
Since commit bed7587fe4910f8e4b892a09675279c5a4ab5484 Author: W. Trevor King <wking@tremily.us> Date: Thu Oct 25 19:07:09 2012 -0400 version: use abbreviated SHA instead of explicit _VERSION in master branch the version SHA will either be explicit in version(), or version() will return a release tag. This makes the long SHA in the Sphinx docs unnecessary, so we can replace it with the more interesting commit date.
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 8b3fcfa..75b9031 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -52,8 +52,9 @@ copyright = u'2010, W. Trevor King'
# The short X.Y version.
version = libbe.version.version(3)
# The full version, including alpha/beta/rc tags.
-release = '%s (%s)' % (libbe.version.version(),
- libbe.version.version_info['revision'])
+release = '{} ({})'.format(
+ libbe.version.version(),
+ libbe.version.version_info['date'])
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.