From 85fc2b2666d25e2c8452976647a5011053d17b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 30 Jun 2014 11:13:47 +0200 Subject: [PATCH] Let's see if fetching the version from the octoprint module works on rtd... --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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