summaryrefslogtreecommitdiff
path: root/docs/src/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/conf.py')
-rw-r--r--docs/src/conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/src/conf.py b/docs/src/conf.py
index 874b04a..f0e44d6 100644
--- a/docs/src/conf.py
+++ b/docs/src/conf.py
@@ -60,9 +60,10 @@ author = 'Jonathan Ribas'
# built documents.
#
# The short X.Y version.
-version = '1.0.0'
+import subprocess
+version = subprocess.check_output("grep AC_INIT ../../configure.ac|sed 's/.*, *//'|tr -d ')'", shell=True)
# The full version, including alpha/beta/rc tags.
-release = '1.0.0'
+release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.