diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index c50bb4c7..e4815a7c 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -47,16 +47,20 @@ master_doc = 'index' # General information about the project. project = u'wxPython (Phoenix)' -copyright = u'2012-2013, The wxPython Team' +copyright = u'2012-2014, The wxPython Team' # 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 buildtools.config import Config +cfg = Config(noWxConfig=True) + # The short X.Y version. -version = '2.9' +version = '%s.%s' % (cfg.VER_MAJOR, cfg.VER_MINOR) # The full version, including alpha/beta/rc tags. -release = '2.9.5.80' +release = cfg.VERSION + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.