changeset 8:b42684c416f6

sphinx conf: import version from MoinMoin, update year
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 21 Feb 2011 04:01:18 +0100
parents 164fc219e28d
children 6c54b77ab174
files docs/conf.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/docs/conf.py	Mon Feb 21 03:46:54 2011 +0100
+++ b/docs/conf.py	Mon Feb 21 04:01:18 2011 +0100
@@ -44,16 +44,17 @@
 
 # General information about the project.
 project = u'MoinMoin'
-copyright = u'2010, The MoinMoin developers'
+copyright = u'2011, The MoinMoin developers'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
+from MoinMoin import version as moin_version
 # The short X.Y version.
-version = '2.0'
+version = '%d.%d' % moin_version[:2]
 # The full version, including alpha/beta/rc tags.
-release = '2.0alpha'
+release = str(moin_version)
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.