doc/conf.py
changeset 3928 5c662d2e3f72
parent 3925 1d383b4c0a23
--- a/doc/conf.py	Wed Apr 03 14:17:50 2024 +0200
+++ b/doc/conf.py	Fri Apr 05 13:11:30 2024 +0200
@@ -14,7 +14,9 @@
 # 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.
-# sys.path.insert(0, os.path.abspath('.'))
+import sys
+import os
+sys.path.insert(0, os.path.abspath('..'))
 
 # -- General configuration -----------------------------------------------------
 
@@ -46,9 +48,11 @@
 # built documents.
 #
 # The short X.Y version.
-version = '1.1'
+import version as bversion
+
+version = bversion.app_version
 # The full version, including alpha/beta/rc tags.
-release = '1.1rc1'
+release = bversion.app_version
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.