From 1a90aeda8203782c24fc42f7357073f2ebd76bfd Mon Sep 17 00:00:00 2001 From: Greg Back Date: Sun, 12 Jan 2014 19:56:28 -0500 Subject: [PATCH] Automatically update the version number in the docs. --- doc/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 6ead86531e6..17ddb7ec738 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -14,6 +14,8 @@ import sys, os #import sphinx_rtd_theme +from tmuxp import __version__ + sys.path.append(os.path.abspath('.')) sys.path.append(os.path.abspath('_themes')) @@ -68,9 +70,9 @@ # built documents. # # The short X.Y version. -version = '0.1' +version = __version__ # The full version, including alpha/beta/rc tags. -release = '0.1-dev' +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.