diff --git a/doc/source/conf.py b/doc/source/conf.py index 5ebdeb0..b9006c3 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -66,10 +66,13 @@ author = 'Enrico Faulhaber, Markus Zolliker' # |version| and |release|, also used in various other places throughout the # built documents. # -# The full version, including alpha/beta/rc tags. -release = get_version() -# The short X.Y version. -version = release.split('-')[0] +try: + # The full version, including alpha/beta/rc tags. + release = get_version() + # The short X.Y version. + version = release.split('-')[0] +except ValueError: + pass # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.