diff --git a/docs/source/conf.py b/docs/source/conf.py index 630a8884..92171a92 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -68,10 +68,9 @@ author = 'Craig Warren and Antonis Giannopoulos' # # The short X.Y version. # Read version number from gprMax/gprMax.py -#version = re.search('^__version__\s*=\s*\'(.*)\'', -# open('../../gprMax/gprMax/gprMax.py').read(), -# re.M).group(1) -version = '3.0.0b3' +version = re.search('^__version__\s*=\s*\'(.*)\'', + open('../../gprMax/gprMax.py').read(), + re.M).group(1) # The full version, including alpha/beta/rc tags. release = version + '(Bowmore)'