1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Georges Khaznadar <georgesk@debian.org>
Date: Sun, 5 Oct 2025 20:50:36 +0200
Subject: reportlab-version
===================================================================
---
docs/source/conf.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/docs/source/conf.py b/docs/source/conf.py
index b820d9f..e174645 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -45,9 +45,10 @@ copyright = '2010, Robinson, Becker, Watters and many more'
# built documents.
#
# The short X.Y version.
-version = '2.4'
+from reportlab import Version
+version = '.'.join(Version.split('.')[:2])
# The full version, including alpha/beta/rc tags.
-release = '2.4'
+release = Version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
|