1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -45,9 +45,10 @@ copyright = '2010, Robinson, Becker, Wat
# 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.
|