doc/conf.py
changeset 3925 1d383b4c0a23
parent 1878 fb73a6b6622d
--- a/doc/conf.py	Tue Mar 26 17:10:26 2024 +0100
+++ b/doc/conf.py	Wed Apr 03 13:02:50 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.