From 33cde153348d7cac37b4a78f8529c99ed466e414 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 26 Jul 2014 21:23:50 -0700 Subject: [PATCH] Fix version. --- doc/conf.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 46df5a22..5a23e4ad 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -52,6 +52,12 @@ master_doc = 'index' project = u'C++ Format' copyright = u'2012-2014, Victor Zverovich' +# 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. +# +# The short X.Y version. + # Get version from CMakeLists.txt. version = {} with open('../CMakeLists.txt') as f: @@ -62,12 +68,6 @@ with open('../CMakeLists.txt') as f: version[kind] = value version = '{}.{}.{}'.format(version['MAJOR'], version['MINOR'], version['PATCH']) -# 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. -# -# The short X.Y version. -version = '@CPPFORMAT_VERSION@' # The full version, including alpha/beta/rc tags. release = version