diff --git a/docs/source/conf.py b/docs/source/conf.py index cd2afc00b6..473e9c81a6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -97,6 +97,10 @@ # Extrac the version info and parse it verinfo = act.__version__ + +if verinfo is None: + verinfo = "" + parsed_version = re.search(r"(?P(?P\d+\.\d+)\.?\w*)", verinfo).groupdict() # The short X.Y version.