Revision: e5a2ebf4192f
Author:   Janne Härkönen <[email protected]>
Date:     Tue Mar  6 13:36:07 2012
Log:      doc/api: use version created by get_version()
http://code.google.com/p/robotframework/source/detail?r=e5a2ebf4192f

Modified:
 /doc/api/conf.py

=======================================
--- /doc/api/conf.py    Tue Mar  6 12:26:40 2012
+++ /doc/api/conf.py    Tue Mar  6 13:36:07 2012
@@ -18,6 +18,8 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
 sys.path.insert(0, os.path.abspath(os.path.join('.', '..', '..', 'src')))

+from robot.version import VERSION, get_version
+
# -- General configuration -----------------------------------------------------

 # If your documentation needs a minimal Sphinx version, state it here.
@@ -49,9 +51,9 @@
 # built documents.
 #
 # The short X.Y version.
-version = '2.7'
+version = VERSION
 # The full version, including alpha/beta/rc tags.
-release = '2.7 rc'
+release = get_version()

 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

Reply via email to