aboutsummaryrefslogtreecommitdiff
path: root/docs/api_reference/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api_reference/conf.py')
-rw-r--r--docs/api_reference/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api_reference/conf.py b/docs/api_reference/conf.py
index 0d54455..32d6653 100644
--- a/docs/api_reference/conf.py
+++ b/docs/api_reference/conf.py
@@ -81,10 +81,10 @@ author = u'Kapileshwar Singh(KP), Javi Merino'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
-# The short X.Y version.
-version = '1.5'
+# The short X.Y version. Drop everything after the last "."
+version = bart.__version__[:bart.__version__.rindex(".")]
# The full version, including alpha/beta/rc tags.
-release = '1.5.0'
+release = bart.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.