ref: aa5e0a3b1423c659430c1bb7a1e06663eb7ee70e
parent: 8da4d5974e66a04aafd3b457842be9f83437ce8a
author: Paul Brossier <piem@piem.org>
date: Thu Mar 23 14:38:45 EDT 2017
doc/conf.py: use this_version here too
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -13,6 +13,10 @@
import sys, os
+# get version using this_version.py
+sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))
+from this_version import get_aubio_version
+
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -48,9 +52,10 @@
# built documents.
#
# The short X.Y version.
-version = '0.4'
+
+version = get_aubio_version()[:3]
# The full version, including alpha/beta/rc tags.
-release = '0.4.5~alpha'
+release = get_aubio_version()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.