diff --git a/docs/conf.py b/docs/conf.py index 36f4a5b2..85e8d0c7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,7 +49,8 @@ copyright = u'2013, Gina Häußge' # built documents. # # The short X.Y version. -version = open("../VERSION").read().strip() +import octoprint._version +version = octoprint._version.get_versions()["version"] # The full version, including alpha/beta/rc tags. release = version