Pull the version number in the docs from buildtools.config.Config

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2014-01-12 01:45:38 +00:00
parent 2fb6f00867
commit 40f84f3724

View File

@@ -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.